Oops, meant to send this to the user list.

---------- Forwarded message ----------
From: Devon Tucker <devonrtuc...@gmail.com>
Date: Thu, Sep 1, 2016 at 11:14 PM
Subject: Re: [Geoserver-users] Get "Error rendering coverage on the fast
path" when request a browse image from an image mosaic layer
To: Cathy Hu <c...@mdacorporation.com>, Geoserver Developers <
geoserver-de...@lists.sourceforge.net>


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 <c...@mdacorporation.com> 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.678494
> 5075015401
>
> Band
>
> Band 1
>
> Band No
>
> 1
>
> No Stats
>
> No stats collected yet
>
>
>
> Does this help?
>
>
>
> Thanks a lot
>
>
>
> Cathy
>
>
>
> *From:* Devon Tucker [mailto:devonrtuc...@gmail.com]
> *Sent:* Thursday, September 01, 2016 7:36 AM
> *To:* Cathy Hu <c...@mdacorporation.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/libra
> ry/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 <c...@mdacorporation.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/W
> EB-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@18e0ea9f]
>
>                 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.InterpolationN
> earest@1f3217ee
>
> 2016-08-31 17:45:35,852 DEBUG [org.geotools.renderer.lite.gridcoverage2d]
> - Rendering using interpolation javax.media.jai.InterpolationN
> earest@1f3217ee
>
> 2016-08-31 17:45:35,852 DEBUG [org.geotools.renderer.lite.gridcoverage2d]
> - Rendering using interpolation javax.media.jai.InterpolationN
> earest@1f3217ee
>
> 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,wid
> th=1024,height=768]
>
> Corresponding raster source region = java.awt.Rectangle[x=0,y=382,w
> idth=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.c
> atalog.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/im
> agery_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/im
> agery_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/Nort
> hPole/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.R
> ectangle[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.SpatialReque
> stHelper$CoverageProperties@28c44323, 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.Rendered
> ImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:346)
>
>                 at org.geoserver.wms.map.Rendered
> ImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:261)
>
>                 at org.geoserver.wms.map.Rendered
> ImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:131)
>
>                 at org.geoserver.wms.GetMap.execu
> teInternal(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.DefaultWebMa
> pService.getMap(DefaultWebMapService.java:320)
>
>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>                 at sun.reflect.NativeMethodAccess
> orImpl.invoke(NativeMethodAccessorImpl.java:62)
>
>                 at sun.reflect.DelegatingMethodAc
> cessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
>                 at java.lang.reflect.Method.invoke(Method.java:498)
>
>                 at org.springframework.aop.suppor
> t.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
>
>                 at org.springframework.aop.framew
> ork.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMet
> hodInvocation.java:190)
>
>                 at org.springframework.aop.framew
> ork.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvoc
> ation.java:157)
>
>                 at org.geoserver.kml.WebMapServic
> eKmlInterceptor.invoke(WebMapServiceKmlInterceptor.java:34)
>
>                 at org.springframework.aop.framew
> ork.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvoc
> ation.java:179)
>
>                 at org.geoserver.gwc.wms.CacheSee
> dingWebMapService.invoke(CacheSeedingWebMapService.java:62)
>
>                 at org.geoserver.gwc.wms.CacheSee
> dingWebMapService.invoke(CacheSeedingWebMapService.java:36)
>
>                 at org.springframework.aop.framew
> ork.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvoc
> ation.java:179)
>
>                 at org.geoserver.gwc.wms.CachingW
> ebMapService.invoke(CachingWebMapService.java:74)
>
>                 at org.geoserver.gwc.wms.CachingW
> ebMapService.invoke(CachingWebMapService.java:55)
>
>                 at org.springframework.aop.framew
> ork.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvoc
> ation.java:179)
>
>                 at org.geoserver.ows.util.Request
> ObjectLogger.invoke(RequestObjectLogger.java:55)
>
>                 at org.springframework.aop.framew
> ork.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvoc
> ation.java:179)
>
>                 at org.springframework.aop.framew
> ork.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
>
>                 at com.sun.proxy.$Proxy71.getMap(Unknown Source)
>
>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>                 at sun.reflect.NativeMethodAccess
> orImpl.invoke(NativeMethodAccessorImpl.java:62)
>
>                 at sun.reflect.DelegatingMethodAc
> cessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
>                 at java.lang.reflect.Method.invoke(Method.java:498)
>
>                 at org.geoserver.ows.Dispatcher.e
> xecute(Dispatcher.java:840)
>
>                 at org.geoserver.ows.Dispatcher.h
> andleRequestInternal(Dispatcher.java:268)
>
>                 at org.springframework.web.servle
> t.mvc.AbstractController.handleRequest(AbstractController.java:147)
>
>                 at org.springframework.web.servle
> t.mvc.SimpleControllerHandlerAdapter.handle(SimpleController
> HandlerAdapter.java:50)
>
>                 at org.springframework.web.servle
> t.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
>
>                 at org.springframework.web.servle
> t.DispatcherServlet.doService(DispatcherServlet.java:893)
>
>                 at org.springframework.web.servle
> t.FrameworkServlet.processRequest(FrameworkServlet.java:968)
>
>                 at org.springframework.web.servle
> t.FrameworkServlet.doGet(FrameworkServlet.java:859)
>
>                 at javax.servlet.http.HttpServlet
> .service(HttpServlet.java:622)
>
>                 at org.springframework.web.servle
> t.FrameworkServlet.service(FrameworkServlet.java:844)
>
>                 at javax.servlet.http.HttpServlet
> .service(HttpServlet.java:729)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>                 at org.apache.tomcat.websocket.se
> rver.WsFilter.doFilter(WsFilter.java:52)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>                 at org.geoserver.filters.ThreadLo
> calsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>                 at org.geoserver.filters.SpringDe
> legatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
>
>                 at org.geoserver.wms.animate.Anim
> atorFilter.doFilter(AnimatorFilter.java:71)
>
>                 at org.geoserver.filters.SpringDe
> legatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
>
>                 at org.geoserver.filters.SpringDe
> legatingFilter.doFilter(SpringDelegatingFilter.java:46)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>                 at org.geoserver.platform.Advance
> dDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>                 at org.springframework.security.w
> eb.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)
>
>                 at org.geoserver.security.filter.
> GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServe
> rCompositeFilter.java:69)
>
>                 at org.springframework.security.w
> eb.access.intercept.FilterSecurityInterceptor.invoke(FilterS
> ecurityInterceptor.java:126)
>
>                 at org.springframework.security.w
> eb.access.intercept.FilterSecurityInterceptor.doFilter(Filte
> rSecurityInterceptor.java:90)
>
>                 at org.geoserver.security.filter.
> GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServe
> rCompositeFilter.java:73)
>
>                 at org.geoserver.security.filter.
> GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
>
>                 at org.springframework.security.w
> eb.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>
>                 at org.geoserver.security.filter.
> GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServe
> rCompositeFilter.java:69)
>
>                 at org.springframework.security.w
> eb.access.ExceptionTranslationFilter.doFilter(ExceptionTrans
> lationFilter.java:114)
>
>                 at org.geoserver.security.filter.
> GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServe
> rCompositeFilter.java:73)
>
>                 at org.geoserver.security.filter.
> GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
>
>                 at org.springframework.security.w
> eb.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>
>                 at org.geoserver.security.filter.
> GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAno
> nymousAuthenticationFilter.java:54)
>
>                 at org.springframework.security.w
> eb.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>
>                 at org.geoserver.security.filter.
> GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServe
> rCompositeFilter.java:69)
>
>                 at org.springframework.security.w
> eb.authentication.www.BasicAuthenticationFilter.doFilterInte
> rnal(BasicAuthenticationFilter.java:158)
>
>                 at org.springframework.web.filter
> .OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>
>                 at org.geoserver.security.filter.
> GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServe
> rCompositeFilter.java:73)
>
>                 at org.geoserver.security.filter.
> GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
>
>                 at org.geoserver.security.filter.
> GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAu
> thenticationFilter.java:84)
>
>                 at org.springframework.security.w
> eb.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>
>                 at org.geoserver.security.filter.
> GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServe
> rCompositeFilter.java:69)
>
>                 at org.springframework.security.w
> eb.context.SecurityContextPersistenceFilter.doFilter(Securit
> yContextPersistenceFilter.java:91)
>
>                 at org.geoserver.security.filter.
> GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServ
> erSecurityContextPersistenceFilter.java:53)
>
>                 at org.geoserver.security.filter.
> GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServe
> rCompositeFilter.java:73)
>
>                 at org.geoserver.security.filter.
> GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
>
>                 at org.springframework.security.w
> eb.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>
>                 at org.springframework.security.w
> eb.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)
>
>                 at org.springframework.security.w
> eb.FilterChainProxy.doFilter(FilterChainProxy.java:176)
>
>                 at org.geoserver.security.GeoServ
> erSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterC
> hainProxy.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.Appli
> cationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>                 at org.geoserver.filters.LoggingF
> ilter.doFilter(LoggingFilter.java:87)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>                 at org.geoserver.filters.GZIPFilt
> er.doFilter(GZIPFilter.java:42)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>                 at org.geoserver.filters.SessionD
> ebugFilter.doFilter(SessionDebugFilter.java:48)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>                 at org.geoserver.filters.FlushSaf
> eFilter.doFilter(FlushSafeFilter.java:44)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>                 at org.springframework.web.filter
> .CharacterEncodingFilter.doFilterInternal(CharacterEncodingF
> ilter.java:121)
>
>                 at org.springframework.web.filter
> .OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
>
>                 at org.apache.catalina.core.Appli
> cationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>                 at org.apache.catalina.core.Stand
> ardWrapperValve.invoke(StandardWrapperValve.java:212)
>
>                 at org.apache.catalina.core.Stand
> ardContextValve.invoke(StandardContextValve.java:106)
>
>                 at org.apache.catalina.authentica
> tor.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>
>                 at org.apache.catalina.core.Stand
> ardHostValve.invoke(StandardHostValve.java:141)
>
>                 at org.apache.catalina.valves.Err
> orReportValve.invoke(ErrorReportValve.java:79)
>
>                 at org.apache.catalina.valves.Abs
> tractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
>
>                 at org.apache.catalina.core.Stand
> ardEngineValve.invoke(StandardEngineValve.java:88)
>
>                 at org.apache.catalina.connector.
> CoyoteAdapter.service(CoyoteAdapter.java:521)
>
>                 at org.apache.coyote.http11.Abstr
> actHttp11Processor.process(AbstractHttp11Processor.java:1096)
>
>                 at org.apache.coyote.AbstractProt
> ocol$AbstractConnectionHandler.process(AbstractProtocol.java:674)
>
>                 at org.apache.tomcat.util.net.Apr
> Endpoint$SocketProcessor.doRun(AprEndpoint.java:2500)
>
>                 at org.apache.tomcat.util.net.Apr
> Endpoint$SocketProcessor.run(AprEndpoint.java:2489)
>
>                 at java.util.concurrent.ThreadPoo
> lExecutor.runWorker(ThreadPoolExecutor.java:1142)
>
>                 at java.util.concurrent.ThreadPoo
> lExecutor$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.Rendered
> ImageMapOutputFormat.directRasterRender(RenderedImageMapOutp
> utFormat.java:1083)
>
>                 at org.geoserver.wms.map.Rendered
> ImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:344)
>
>                 ... 123 more
>
> Caused by: org.geotools.data.DataSourceException: Unable to create this
> mosaic
>
>                 at org.geotools.gce.imagemosaic.R
> asterLayerResponse.prepareResponse(RasterLayerResponse.java:1348)
>
>                 at org.geotools.gce.imagemosaic.R
> asterLayerResponse.processRequest(RasterLayerResponse.java:1228)
>
>                 at org.geotools.gce.imagemosaic.R
> asterLayerResponse.createResponse(RasterLayerResponse.java:1194)
>
>                 at org.geotools.gce.imagemosaic.R
> asterManager.read(RasterManager.java:1157)
>
>                 at org.geotools.gce.imagemosaic.I
> mageMosaicReader.read(ImageMosaicReader.java:894)
>
>                 at org.geotools.gce.imagemosaic.I
> mageMosaicReader.read(ImageMosaicReader.java:873)
>
>                 at org.geoserver.catalog.SingleGr
> idCoverage2DReader.read(SingleGridCoverage2DReader.java:151)
>
>                 at org.geoserver.catalog.Coverage
> DimensionCustomizerReader.read(CoverageDimensionCustomizerReader.java:243)
>
>                 at org.geoserver.catalog.Coverage
> DimensionCustomizerReader.read(CoverageDimensionCustomizerReader.java:233)
>
>                 at org.geotools.renderer.lite.gri
> dcoverage2d.GridCoverageReaderHelper.readSingleCoverage(Grid
> CoverageReaderHelper.java:526)
>
>                 at org.geotools.renderer.lite.gri
> dcoverage2d.GridCoverageReaderHelper.readCoverageInEnvelope(
> GridCoverageReaderHelper.java:299)
>
>                 at org.geotools.renderer.lite.gri
> dcoverage2d.GridCoverageReaderHelper.readCoverages(GridCover
> ageReaderHelper.java:204)
>
>                 at org.geotools.renderer.lite.gri
> dcoverage2d.GridCoverageRenderer.renderImage(GridCoverageRen
> derer.java:802)
>
>                 at org.geotools.renderer.lite.gri
> dcoverage2d.GridCoverageRenderer.renderImage(GridCoverageRen
> derer.java:770)
>
>                 at org.geoserver.wms.map.Rendered
> ImageMapOutputFormat.directRasterRender(RenderedImageMapOutp
> utFormat.java:975)
>
>                 ... 124 more
>
> Caused by: java.io.IOException: java.lang.IllegalStateException:
> Unsupported data type.
>
>                 at org.geotools.gce.imagemosaic.R
> asterLayerResponse$GranuleCollector.collectGranules(RasterLa
> yerResponse.java:516)
>
>                 at org.geotools.gce.imagemosaic.R
> asterLayerResponse$GranuleCollector.access$2400(RasterLayerR
> esponse.java:332)
>
>                 at org.geotools.gce.imagemosaic.R
> asterLayerResponse$MosaicProducer.produce(RasterLayerResponse.java:1072)
>
>                 at org.geotools.gce.imagemosaic.R
> asterLayerResponse$MosaicProducer.access$3100(RasterLayerRes
> ponse.java:882)
>
>                 at org.geotools.gce.imagemosaic.R
> asterLayerResponse.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.R
> asterLayerResponse$GranuleCollector.preProcessGranuleRaster(
> RasterLayerResponse.java:567)
>
>                 at org.geotools.gce.imagemosaic.R
> asterLayerResponse$GranuleCollector.collectGranules(RasterLa
> yerResponse.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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to