[Geoserver-devel] [Geoserver-users] Get "Error rendering coverage on the fast path" when request a browse image from an image mosaic layer

Hi Cathy,

(Forgot to include the list with my reply, so I’m reply to it now)

Thanks for the info. Normally we use the commandline utility gdalinfo to get information about raster data. IIRC the output from QGIS is basically the same though.

It looks like you have a single band VRT raster. Is the rest of the data in the mosaic similar? If it was me I’d try without the InputTransparentColor setting on the layer page and see if that gave acceptable results, otherwise I would try some of the other workarounds. Maybe someone else has some feedback as well.

Cheers,
Devon

···

On Thu, Sep 1, 2016 at 8:40 PM, Cathy Hu <CHU@anonymised.com2623…> wrote:

Hi Devon:

Sorry, I don’t know how to find out the color/band model. I am very appreciated if you could give me some instructions and tell me which tools I could use to check them out.

So far, I can only get some metadata of the browse image from QGIS:

Driver

GDAL provider

VRT
Virtual Raster

Dataset Description

Band 1

STATISTICS_MAXIMUM=42959

STATISTICS_MEAN=9322.3445402102

STATISTICS_MINIMUM=0

STATISTICS_STDDEV=6865.5779769686

Dimensions

X: 9746 Y: 18 Bands: 1

Origin

-221.125,89.6785

Pixel Size

0.0474007,-0.0474007

No Data Value

NoDataValue not set

Data Type

UInt16 - Sixteen bit unsigned integer

Pyramid overviews

Layer Spatial Reference System

+proj=longlat +datum=WGS84 +no_defs

Layer Extent (layer original source projection)

-221.1252541385472625,88.8252824333668229 : 240.8416833346172155,89.6784945075015401

Band

Band 1

Band No

1

No Stats

No stats collected yet

Does this help?

Thanks a lot

Cathy

From: Devon Tucker [mailto:devonrtucker@anonymised.com]
Sent: Thursday, September 01, 2016 7:36 AM
To: Cathy Hu <CHU@anonymised.com>
Subject: Re: [Geoserver-users] Get “Error rendering coverage on the fast path” when request a browse image from an image mosaic layer

Hi Cathy,

Could you tell us a little bit about the data you’re using? Particularly the color/band model? It looks like you’re running into a limitation with the INPUT_TRANSPARENT_COLOR option as seen here:

https://github.com/geotools/geotools/blob/14.5/modules/library/coverage/src/main/java/org/geotools/image/ImageWorker.java#L2442

There is only limited support for input transparency so far. I’m not sure if this limitation exists because other implementations are hard/tricky, or if it’s just that nobody has done it so far. Maybe someone else can chime in.

The most basic workaround is to turn off INPUT_TRANSPARENCY if you don’t need it, although most likely you do. If your mosaic is mostly static and it’s just this one raster that’s causing issues than an alternative is to pre-process that one image to be in a compatible model (byte components).

Another alternative, IIRC, is to use JAI_EXT which supports NoData without having to do input_transparent (I may be wrong on this one?):

http://docs.geoserver.org/stable/en/user/configuration/image_processing/index.html#jai-ext

Cheers,

Devon Tucker

On Wed, Aug 31, 2016 at 6:05 PM, Cathy Hu <CHU@anonymised.com> wrote:

Hi There:

When I try to get an browse image (which is over the north pole), I get errors and no browse image is returned back. Here’s the Geoserver log:

2016-08-31 17:45:35,780 INFO [org.geotools.referencing.factory] - Using “file:/C:/apache-tomcat-8.0.30-geo-2.9.1/webapps/geoserver/WEB-INF/lib/gs-main-2.9.1.jar!/org/vfny/geoserver/crs/override_epsg.properties” as EPSG factory.

2016-08-31 17:45:35,785 INFO [org.geoserver.wms] -

Request: getMap

Time =

Filter = [[[[ short_term_archive_dataset_id = NP1 ] AND [ short_term_archive_facility_id = test ]] AND [ downlink_segment_id = NP_Seg_1 ]]]

Buffer = 0

Format = application/openlayers

Width = 1024

Height = 768

Filters = [[[[ short_term_archive_dataset_id = NP1 ] AND [ short_term_archive_facility_id = test ]] AND [ downlink_segment_id = NP_Seg_1 ]]]

Layers = [org.geoserver.wms.MapLayerInfo@anonymised.com]

MaxFeatures = null

Crs = GEOGCS[“WGS 84”,

DATUM[“World Geodetic System 1984”,

SPHEROID[“WGS 84”, 6378137.0, 298.257223563, AUTHORITY[“EPSG”,“7030”]],

AUTHORITY[“EPSG”,“6326”]],

PRIMEM[“Greenwich”, 0.0, AUTHORITY[“EPSG”,“8901”]],

UNIT[“degree”, 0.017453292519943295],

AXIS[“Geodetic longitude”, EAST],

AXIS[“Geodetic latitude”, NORTH],

AUTHORITY[“EPSG”,“4326”]]

Bbox = SRSEnvelope[-180.0 : 180.0, 88.0 : 90.0]

RemoteOwsType = null

RemoteOwsURL = null

Env = {}

FormatOptions = {}

Angle = 0.0

CQLFilter = [[[[ short_term_archive_dataset_id = NP1 ] AND [ short_term_archive_facility_id = test ]] AND [ downlink_segment_id = NP_Seg_1 ]]]

Elevation =

FeatureId = null

StartIndex = null

ViewParams = null

ValidateSchema = false

BgColor = java.awt.Color[r=255,g=255,b=255]

Tiled = false

Palette = null

SRS = EPSG:4326

Styles = [StyleImpl[ name=raster]]

Interpolations =

Transparent = false

StyleFormat = sld

SldBody = null

Sld = null

StyleUrl = null

TilesOrigin = null

Exceptions = SE_XML

StyleBody = null

SldVersion = null

StyleVersion = null

ScaleMethod = null

FeatureVersion = null

Version = 1.1.0

Request = GetMap

BaseUrl = http://localhost:8686/geoserver/

Get = true

RawKvp = {REQUEST=GetMap, SRS=EPSG:4326, FORMAT=application/openlayers, BBOX=-180,88,180,90, VERSION=1.1.0, STYLES=, SERVICE=WMS, WIDTH=1024, HEIGHT=768, CQL_FILTER=short_term_archive_dataset_id=‘NP1’ AND short_term_archive_facility_id=‘test’ AND downlink_segment_id=‘NP_Seg_1’, LAYERS=ohs:browse_tile}

RequestCharset = UTF-8

2016-08-31 17:45:35,840 INFO [org.geoserver.wms] -

Request: getServiceInfo

2016-08-31 17:45:35,841 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.

2016-08-31 17:45:35,841 DEBUG [org.geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.

2016-08-31 17:45:35,842 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.

2016-08-31 17:45:35,842 DEBUG [org.geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.

2016-08-31 17:45:35,850 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.

2016-08-31 17:45:35,850 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.

2016-08-31 17:45:35,851 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.

2016-08-31 17:45:35,851 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.

2016-08-31 17:45:35,851 TRACE [org.geotools.factory] - ENTRY (GridCoverageFactory)

2016-08-31 17:45:35,852 TRACE [org.geotools.factory] - RETURN (GridCoverageFactory): found implementation GridCoverageFactory.

2016-08-31 17:45:35,852 DEBUG [org.geotools.renderer.lite.gridcoverage2d] - Rendering using interpolation javax.media.jai.InterpolationNearest@anonymised.com

2016-08-31 17:45:35,852 DEBUG [org.geotools.renderer.lite.gridcoverage2d] - Rendering using interpolation javax.media.jai.InterpolationNearest@anonymised.com

2016-08-31 17:45:35,852 DEBUG [org.geotools.renderer.lite.gridcoverage2d] - Rendering using interpolation javax.media.jai.InterpolationNearest@anonymised.com

2016-08-31 17:45:35,852 DEBUG [org.geotools.gce.imagemosaic] - Reading mosaic from file:/C:/csbrowse/datastore.properties

2016-08-31 17:45:35,852 DEBUG [org.geotools.gce.imagemosaic] - Highest res 0.015789652484640204 0.005213341874903499

2016-08-31 17:45:35,853 TRACE [org.geotools.gce.imagemosaic] - Adjusted Requested Envelope = ReferencedEnvelope[-180.0 : 180.0, -46.0546875 : 223.9453125]

Requested raster dimension = java.awt.Rectangle[x=0,y=0,width=1024,height=768]

Corresponding raster source region = java.awt.Rectangle[x=0,y=382,width=1024,height=116]

Corresponding source Envelope = ReferencedEnvelope[-180.0 : 180.0, 48.9793141134912 : 89.63]

2016-08-31 17:45:35,853 DEBUG [org.geotools.gce.imagemosaic] - Loading level 0 with subsampling factors 1 1

2016-08-31 17:45:35,853 DEBUG [org.geotools.gce.imagemosaic] - Prepping to manage SortBy Clause

2016-08-31 17:45:35,853 DEBUG [org.geotools.gce.imagemosaic.catalog] - Index Loaded

2016-08-31 17:45:35,854 DEBUG [org.geotools.jdbc] - CREATE CONNECTION

2016-08-31 17:45:35,855 INFO [org.geotools.jdbc] - Unable to find aggregate function matching visitor: class org.geotools.gce.imagemosaic.catalog.CachingDataStoreGranuleCatalog$1

2016-08-31 17:45:35,855 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION

2016-08-31 17:45:35,855 DEBUG [org.geotools.jdbc] - CREATE CONNECTION

2016-08-31 17:45:35,856 DEBUG [org.geotools.filter] - exporting LogicFilter

2016-08-31 17:45:35,856 DEBUG [org.geotools.filter] - exporting PropertyName

2016-08-31 17:45:35,856 DEBUG [org.geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.

2016-08-31 17:45:35,856 DEBUG [org.geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.

2016-08-31 17:45:35,856 DEBUG [org.geotools.filter] - exporting SQL ComparisonFilter

2016-08-31 17:45:35,856 DEBUG [org.geotools.filter] - exporting PropertyName

2016-08-31 17:45:35,856 DEBUG [org.geotools.filter] - exporting SQL ComparisonFilter

2016-08-31 17:45:35,857 DEBUG [org.geotools.filter] - exporting PropertyName

2016-08-31 17:45:35,857 DEBUG [org.geotools.filter] - exporting SQL ComparisonFilter

2016-08-31 17:45:35,857 DEBUG [org.geotools.filter] - exporting PropertyName

2016-08-31 17:45:35,857 DEBUG [org.geotools.jdbc] - SELECT “fid”,“scene_id”,“short_term_archive_dataset_id”,“short_term_archive_facility_id”,“downlink_segment_id”,“browse_location”,encode(ST_AsEWKB(“scene_extent”),‘base64’) as “scene_extent” FROM “browsedb”.“browse_tile” WHERE (“scene_extent” && ST_GeomFromWKB(?, 4326) AND “short_term_archive_dataset_id” = ? AND “short_term_archive_facility_id” = ? AND “downlink_segment_id” = ?)

2016-08-31 17:45:35,857 DEBUG [org.geotools.jdbc] - 1 = POLYGON ((-180 48.9793141134912, -180 89.63, 180 89.63, 180 48.9793141134912, -180 48.9793141134912))

2016-08-31 17:45:35,857 DEBUG [org.geotools.jdbc] - 2 = NP1

2016-08-31 17:45:35,858 DEBUG [org.geotools.jdbc] - 3 = test

2016-08-31 17:45:35,858 DEBUG [org.geotools.jdbc] - 4 = NP_Seg_1

2016-08-31 17:45:35,860 DEBUG [org.geotools.gce.imagemosaic] - We added the granule Description of a granuleDescriptor

BBOX: ReferencedEnvelope[-180.0 : 180.0, 88.93 : 89.63]

file: file:/C:/csbrowse/NorthPole/imagery_174435_HH.tif

gridToWorld: PARAM_MT[“Affine”,

PARAMETER[“num_row”, 3],

PARAMETER[“num_col”, 3],

PARAMETER[“elt_0_0”, 0.05870841487279843],

PARAMETER[“elt_0_2”, -179.9706457925636],

PARAMETER[“elt_1_1”, -0.0000999428897772685],

PARAMETER[“elt_1_2”, 89.6299500285551]]

Description of level 2

Description of a granuleDescriptor level

width: 6132

height: 7004

scaleX: 1.0

scaleY: 1.0

baseToLevelTransform: PARAM_MT[“Affine”,

PARAMETER[“num_row”, 3],

PARAMETER[“num_col”, 3]]

gridToWorldTransform: PARAM_MT[“Affine”,

PARAMETER[“num_row”, 3],

PARAMETER[“num_col”, 3],

PARAMETER[“elt_0_0”, 0.05870841487279843],

PARAMETER[“elt_0_2”, -180.0],

PARAMETER[“elt_1_1”, -0.0000999428897772685],

PARAMETER[“elt_1_2”, 89.63]]

2016-08-31 17:45:35,860 DEBUG [org.geotools.gce.imagemosaic] - Thread:pool-1-thread-3 Loading raster data for granuleDescriptor Description of a granuleDescriptor

BBOX: ReferencedEnvelope[-180.0 : 180.0, 88.93 : 89.63]

file: file:/C:/csbrowse/NorthPole/imagery_174435_HH.tif

gridToWorld: PARAM_MT[“Affine”,

PARAMETER[“num_row”, 3],

PARAMETER[“num_col”, 3],

PARAMETER[“elt_0_0”, 0.05870841487279843],

PARAMETER[“elt_0_2”, -179.9706457925636],

PARAMETER[“elt_1_1”, -0.0000999428897772685],

PARAMETER[“elt_1_2”, 89.6299500285551]]

Description of level 2

Description of a granuleDescriptor level

width: 6132

height: 7004

scaleX: 1.0

scaleY: 1.0

baseToLevelTransform: PARAM_MT[“Affine”,

PARAMETER[“num_row”, 3],

PARAMETER[“num_col”, 3]]

gridToWorldTransform: PARAM_MT[“Affine”,

PARAMETER[“num_row”, 3],

PARAMETER[“num_col”, 3],

PARAMETER[“elt_0_0”, 0.05870841487279843],

PARAMETER[“elt_0_2”, -180.0],

PARAMETER[“elt_1_1”, -0.0000999428897772685],

PARAMETER[“elt_1_2”, 89.63]]

2016-08-31 17:45:35,860 DEBUG [org.geotools.jdbc] - CLOSE CONNECTION

2016-08-31 17:45:35,861 DEBUG [org.geotools.gce.imagemosaic] - Producing the final mosaic, step 1, loop through granule collectors

2016-08-31 17:45:35,861 DEBUG [org.geotools.gce.imagemosaic] - Using collector with filter:Filter.INCLUDE

2016-08-31 17:45:35,861 DEBUG [org.geotools.gce.imagemosaic] - Loading level 0 with source region: java.awt.Rectangle[x=0,y=0,width=6132,height=7004] subsampling: 5,3517 for granule:file:/C:/csbrowse/NorthPole/imagery_174435_HH.tif

2016-08-31 17:45:35,862 TRACE [org.geotools.coverage.grid.io.imageio] - reading file: file:/C:/csbrowse/NorthPole/imagery_174435_HH.tif

2016-08-31 17:45:35,865 DEBUG [org.geotools.gce.imagemosaic] - Adding to mosaic granule file:/C:/csbrowse/NorthPole/imagery_174435_HH.tif

2016-08-31 17:45:35,866 DEBUG [org.geotools.gce.imagemosaic] - Support for alpha on input granule file:/C:/csbrowse/NorthPole/imagery_174435_HH.tif

2016-08-31 17:45:35,867 INFO [org.geotools.gce.imagemosaic] - Adding to mosaic failed, original request was RasterLayerRequest description:

SpatialRequestHelper [requestedBBox=ReferencedEnvelope[-180.0 : 180.0, -46.0546875 : 223.9453125], cropBBox=ReferencedEnvelope[-180.0 : 180.0, 48.9793141134912 : 89.63], requestedRasterArea=java.awt.Rectangle[x=0,y=0,width=1024,height=768], destinationRasterArea=java.awt.Rectangle[x=0,y=382,width=1024,height=116], requestCRS=GEOGCS[“WGS 84”,

DATUM[“World Geodetic System 1984”,

SPHEROID[“WGS 84”, 6378137.0, 298.257223563, AUTHORITY[“EPSG”,“7030”]],

AUTHORITY[“EPSG”,“6326”]],

PRIMEM[“Greenwich”, 0.0, AUTHORITY[“EPSG”,“8901”]],

UNIT[“degree”, 0.017453292519943295],

AXIS[“Geodetic longitude”, EAST],

AXIS[“Geodetic latitude”, NORTH],

AUTHORITY[“EPSG”,“4326”]], requestedGridToWorld=PARAM_MT[“Affine”,

PARAMETER[“num_row”, 3],

PARAMETER[“num_col”, 3],

PARAMETER[“elt_0_0”, 0.3515625],

PARAMETER[“elt_0_2”, -179.82421875],

PARAMETER[“elt_1_1”, -0.3515625],

PARAMETER[“elt_1_2”, 223.76953125]], requestedResolution=[0.3515625, 0.3515625], coverageProperties=org.geotools.gce.imagemosaic.SpatialRequestHelper$CoverageProperties@anonymised.comc44323, accurateResolution=false, empty=false, needsReprojection=false, ]

ReadType=DIRECT_READ

2016-08-31 17:45:35,868 ERROR [org.geoserver.ows] -

org.geoserver.platform.ServiceException: Error rendering coverage on the fast path

at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:346)

at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:261)

at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:131)

at org.geoserver.wms.GetMap.executeInternal(GetMap.java:505)

at org.geoserver.wms.GetMap.run(GetMap.java:249)

at org.geoserver.wms.GetMap.run(GetMap.java:119)

at org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:320)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)

at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)

at org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(WebMapServiceKmlInterceptor.java:34)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:62)

at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:36)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:74)

at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:55)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:55)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)

at com.sun.proxy.$Proxy71.getMap(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:840)

at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:268)

at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:147)

at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50)

at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)

at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)

at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968)

at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:859)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)

at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:844)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)

at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)

at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)

at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)

at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)

at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)

at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)

at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)

at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)

at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)

at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)

at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)

at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)

at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)

at org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:84)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)

at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)

at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)

at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)

at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)

at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)

at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:152)

at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)

at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:87)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674)

at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2500)

at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2489)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:745)

Caused by: org.geoserver.platform.ServiceException: org.geotools.data.DataSourceException: Unable to create this mosaic

at org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:1083)

at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:344)

… 123 more

Caused by: org.geotools.data.DataSourceException: Unable to create this mosaic

at org.geotools.gce.imagemosaic.RasterLayerResponse.prepareResponse(RasterLayerResponse.java:1348)

at org.geotools.gce.imagemosaic.RasterLayerResponse.processRequest(RasterLayerResponse.java:1228)

at org.geotools.gce.imagemosaic.RasterLayerResponse.createResponse(RasterLayerResponse.java:1194)

at org.geotools.gce.imagemosaic.RasterManager.read(RasterManager.java:1157)

at org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:894)

at org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:873)

at org.geoserver.catalog.SingleGridCoverage2DReader.read(SingleGridCoverage2DReader.java:151)

at org.geoserver.catalog.CoverageDimensionCustomizerReader.read(CoverageDimensionCustomizerReader.java:243)

at org.geoserver.catalog.CoverageDimensionCustomizerReader.read(CoverageDimensionCustomizerReader.java:233)

at org.geotools.renderer.lite.gridcoverage2d.GridCoverageReaderHelper.readSingleCoverage(GridCoverageReaderHelper.java:526)

at org.geotools.renderer.lite.gridcoverage2d.GridCoverageReaderHelper.readCoverageInEnvelope(GridCoverageReaderHelper.java:299)

at org.geotools.renderer.lite.gridcoverage2d.GridCoverageReaderHelper.readCoverages(GridCoverageReaderHelper.java:204)

at org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer.renderImage(GridCoverageRenderer.java:802)

at org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer.renderImage(GridCoverageRenderer.java:770)

at org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:975)

… 124 more

Caused by: java.io.IOException: java.lang.IllegalStateException: Unsupported data type.

at org.geotools.gce.imagemosaic.RasterLayerResponse$GranuleCollector.collectGranules(RasterLayerResponse.java:516)

at org.geotools.gce.imagemosaic.RasterLayerResponse$GranuleCollector.access$2400(RasterLayerResponse.java:332)

at org.geotools.gce.imagemosaic.RasterLayerResponse$MosaicProducer.produce(RasterLayerResponse.java:1072)

at org.geotools.gce.imagemosaic.RasterLayerResponse$MosaicProducer.access$3100(RasterLayerResponse.java:882)

at org.geotools.gce.imagemosaic.RasterLayerResponse.prepareResponse(RasterLayerResponse.java:1296)

… 138 more

Caused by: java.lang.IllegalStateException: Unsupported data type.

at org.geotools.image.ImageWorker.makeColorTransparent(ImageWorker.java:2459)

at org.geotools.gce.imagemosaic.RasterLayerResponse$GranuleCollector.preProcessGranuleRaster(RasterLayerResponse.java:567)

at org.geotools.gce.imagemosaic.RasterLayerResponse$GranuleCollector.collectGranules(RasterLayerResponse.java:508)

… 142 more

The same error when I run GeoServer 2.8.1 in Tomcat 8.0.27. Do you have any idea for what’s going wrong? I can get other images from the mosaic layer.

Thanks

Cathy Hu

Software Engineer

MDA Systems Ltd., 13800 Commerce Parkway, Richmond, BC, Canada V6V 2J3

Tel: +1-604-231-2179 / Facsimile: +1-604-278-2936

www.mdacorporation.com



Geoserver-users mailing list
Geoserver-users@anonymised.comrge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users