An user reported an exception occurred in GeoServer when rendering a Gray image with an SLD using a colorMap. 2018-10-05 08:12:19,123 ERROR [geoserver.ows] - java.lang.IllegalArgumentException: TurboJPEG won't work with this type of sampleModel at it.geosolutions.imageio.plugins.turbojpeg.TurboJpegImageWriter.write(TurboJpegImageWriter.java:172) at org.geoserver.map.turbojpeg.TurboJpegImageWorker.writeTurboJPEG(TurboJpegImageWorker.java:127) at org.geoserver.map.turbojpeg.TurboJPEGMapResponse.formatImageOutputStream(TurboJPEGMapResponse.java:99) The color expansion to ComponentColorModel introduces an alpha channel but alpha will not be removed by a BandSelect since the its presence has been checked too early, right before the color expansion occurred. |