Uploaded image for project: 'GeoTools'
  1. GeoTools
  2. GEOT-5463

ClassCastException in imagemosaic-jdbc

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 14.5
    • Fix Version/s: 16-beta
    • Labels:
      None

      Description

      In geotools 14.<latest> (built from the 14.x branch) Im'm seeing the following exception when using PGRaster:

      Exception in thread "Thread-35" java.lang.ClassCastException: java.awt.image.Raster cannot be cast to java.awt.image.WritableRaster
      at org.geotools.gce.imagemosaic.jdbc.AbstractThread.rescaleImageViaPlanarImage(AbstractThread.java:108)
      at org.geotools.gce.imagemosaic.jdbc.ImageComposerThread.run(ImageComposerThread.java:170)

      I don't know if it still happens in later versions, but I don't think the relevant code has changed much.

        Attachments

          Activity

            People

            • Assignee:
              mcrmcr Christian Mueller
              Reporter:
              gevaerts Frank Gevaerts
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: