[Geoserver-users] Seeding fails with "Alpha images must have the same sample size as the sources"

Dear all,

I am trying to seed a certain layer. However, seeding is always aborted with the error message “java.lang.IllegalArgumentException: Alpha images must have the same sample size as the sources”.

The WMS request is like this:

https://security.geobasis-bb.de:443/wss/service/WMS-ALKIS/httpauth?SERVICE=WMS&LAYERS=adv_alkis_gebaeude&FORMAT=image%2Fpng&HEIGHT=1134&TRANSPARENT=TRUE&REQUEST=GetMap&WIDTH=1234&BBOX=241422.08804878494,5682813.523432538,242292.88804878492,5683614.323432538&STYLES=&SRS=EPSG:25833&VERSION=1.1.1

(Sorry, the service is password protected as it’s an official service and I cannot paste it here :-/ but I attached the retrieved image. It’s just a plain transparent PNG, 1234x1134px with 455 Bytes).

I’ve seen the thread here http://osgeo-org.1560.x6.nabble.com/Transparent-argument-and-Geoserver-errors-td5048880.html (Apr 2013) about the “transparent” argument but do not know if it is related.

Full traceback is below, GeoServer 2.3.5 with builtin GWC.

Best,

Jens

18 Nov 11:47:57 DEBUG [seed.SeedTask] - Seed failed at ConveyorTile[{76,9784,8} Iter02_EPSG:25833_LPT image/png] after 30 of 51 attempts.

18 Nov 11:47:57 DEBUG [gwc.layer] - → GWC Seeder Thread-7 submitting getMap request for meta grid location [76, 9784, 8] on org.geoserver.gwc.layer.GeoServerMetaTile@…6247…

18 Nov 11:47:57 INFO [geoserver.wms] -

Request: getServiceInfo

18 Nov 11:47:57 DEBUG [geoserver.ows] - Getting layers and styles from LAYERS and STYLES

18 Nov 11:47:57 DEBUG [geoserver.ows] - establishing null style for lpt:adv_alkis_gebaeude

18 Nov 11:47:57 DEBUG [geoserver.wms] - setting up map

18 Nov 11:47:57 DEBUG [wms.map] - setting up 1224x1124 image

18 Nov 11:47:57 WARN [wms.map] - Failed to compare data and request envelopes, proceeding with rendering anyways

java.lang.NullPointerException: Unable to transform referenced envelope, crs has not yet been provided.

at org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:658)

at org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:624)

at org.geoserver.wms.map.RenderedImageMapOutputFormat.readBestCoverage(RenderedImageMapOutputFormat.java:1207)

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

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

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

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

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

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

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

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

at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source)

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

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

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

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

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

at org.geoserver.gwc.GWC.dispatchOwsRequest(GWC.java:1138)

at org.geoserver.gwc.layer.GeoServerTileLayer.dispatchGetMap(GeoServerTileLayer.java:552)

at org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:497)

at org.geoserver.gwc.layer.GeoServerTileLayer.seedTile(GeoServerTileLayer.java:691)

at org.geowebcache.seed.SeedTask.doActionInternal(SeedTask.java:136)

at org.geowebcache.seed.GWCTask.doAction(GWCTask.java:76)

at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:36)

at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:25)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

at java.util.concurrent.FutureTask.run(FutureTask.java:166)

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

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

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

18 Nov 11:47:57 DEBUG [geotools.map] - Issuing request: https://security.geobasis-bb.de:443/wss/service/WMS-ALKIS/httpauth?SERVICE=WMS&LAYERS=adv_alkis_gebaeude&FORMAT=image%2Fpng&HEIGHT=1134&TRANSPARENT=TRUE&REQUEST=GetMap&WIDTH=1234&BBOX=241422.08804878494,5682813.523432538,242292.88804878492,5683614.323432538&STYLES=&SRS=EPSG:25833&VERSION=1.1.1

18 Nov 11:47:57 DEBUG [data.ows] - Executed request to URL: https://security.geobasis-bb.de:443/wss/service/WMS-ALKIS/httpauth?SERVICE=WMS&LAYERS=adv_alkis_gebaeude&FORMAT=image%2Fpng&HEIGHT=1134&TRANSPARENT=TRUE&REQUEST=GetMap&WIDTH=1234&BBOX=241422.08804878494,5682813.523432538,242292.88804878492,5683614.323432538&STYLES=&SRS=EPSG:25833&VERSION=1.1.1

18 Nov 11:47:57 DEBUG [geotools.rendering] - Drawing coverage GridCoverage2D[“Gebäude”, GeneralEnvelope[(241422.08804878494, 5682813.523432538), (242292.88804878492, 5683614.323432538)], DefaultProjectedCRS[“ETRS89 / UTM zone 33N”]]

│ RenderedSampleDimension(“Gebäude”:[0.0 … 3.0])

│ ‣ Category(“Gebäude”:[0…3])

└ Image=WritableRenderedImageAdapter

18 Nov 11:47:57 DEBUG [geotools.rendering] - Transforming coverage envelope with transform PARAM_MT[“Affine”,

PARAMETER[“num_row”, 3],

PARAMETER[“num_col”, 3]]

18 Nov 11:47:57 DEBUG [geotools.rendering] - Using interpolation javax.media.jai.InterpolationNearest@…6248…

18 Nov 11:47:57 DEBUG [geotools.rendering] - Raster Symbolizer

18 Nov 11:47:57 DEBUG [geotools.rendering] - Raster Symbolizer

18 Nov 11:47:57 INFO [geoserver.wms] -

Request: getMap

Width = 1224

Height = 1124

Palette = null

Tiled = false

SRS = EPSG:25833

FeatureVersion = null

Styles = [StyleImpl[ name=Default Styler]]

Layers = [org.geoserver.wms.MapLayerInfo@…6249…]

MaxFeatures = null

Exceptions = SE_XML

Crs = PROJCS[“ETRS89 / UTM zone 33N”,

GEOGCS[“ETRS89”,

DATUM[“European Terrestrial Reference System 1989”,

SPHEROID[“GRS 1980”, 6378137.0, 298.257222101, AUTHORITY[“EPSG”,“7019”]],

TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],

AUTHORITY[“EPSG”,“6258”]],

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

UNIT[“degree”, 0.017453292519943295],

AXIS[“Geodetic longitude”, EAST],

AXIS[“Geodetic latitude”, NORTH],

AUTHORITY[“EPSG”,“4258”]],

PROJECTION[“Transverse_Mercator”, AUTHORITY[“EPSG”,“9807”]],

PARAMETER[“central_meridian”, 15.0],

PARAMETER[“latitude_of_origin”, 0.0],

PARAMETER[“scale_factor”, 0.9996],

PARAMETER[“false_easting”, 500000.0],

PARAMETER[“false_northing”, 0.0],

UNIT[“m”, 1.0],

AXIS[“Easting”, EAST],

AXIS[“Northing”, NORTH],

AUTHORITY[“EPSG”,“25833”]]

Bbox = ReferencedEnvelope[241429.08804878494 : 242285.88804878492, 5682820.523432539 : 5683607.323432539]

RemoteOwsType = null

RemoteOwsURL = null

Env = {}

FormatOptions = {}

Angle = 0.0

CQLFilter = null

Elevation =

FeatureId = null

StartIndex = null

ViewParams = null

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

Transparent = true

SldBody = null

ValidateSchema = false

Sld = null

SldVersion = null

TilesOrigin = null

Time =

Filter = null

Buffer = 0

Format = image/png

Filters = null

Get = true

RequestCharset = UTF-8

RawKvp = {BBOX=241429.08804878494,5682820.523432539,242285.88804878492,5683607.323432539, SERVICE=WMS, HEIGHT=1124, REQUEST=GetMap, STYLES=, WIDTH=1224, EXCEPTIONS=SE_XML, TRANSPARENT=true, VERSION=1.1.1, FORMAT=image/png, GWC_SEED_INTERCEPT=true, LAYERS=lpt:Gebaeude, SRS=EPSG:25833}

BaseUrl = http://localhost:8080/geoserver/

Version = 1.1.1

Request = GetMap

Error: One factory fails for the operation “Mosaic”

Occurs in: org.geoserver.jai.ConcurrentOperationRegistry

java.lang.reflect.InvocationTargetException

at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source)

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

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

at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)

at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)

at org.geoserver.jai.ConcurrentOperationRegistry.invokeFactory(ConcurrentOperationRegistry.java:412)

at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)

at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819)

at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)

at javax.media.jai.RenderedOp.getSampleModel(RenderedOp.java:2233)

at org.geoserver.gwc.layer.GeoServerMetaTile.createTile(GeoServerMetaTile.java:170)

at org.geoserver.gwc.layer.GeoServerMetaTile.writeTileToStream(GeoServerMetaTile.java:82)

at org.geowebcache.layer.TileLayer.saveTiles(TileLayer.java:610)

at org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:500)

at org.geoserver.gwc.layer.GeoServerTileLayer.seedTile(GeoServerTileLayer.java:691)

at org.geowebcache.seed.SeedTask.doActionInternal(SeedTask.java:136)

at org.geowebcache.seed.GWCTask.doAction(GWCTask.java:76)

at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:36)

at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:25)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

at java.util.concurrent.FutureTask.run(FutureTask.java:166)

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

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

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

Caused by: java.lang.IllegalArgumentException: Alpha images must have the same sample size as the sources.

at com.sun.media.jai.opimage.MosaicOpImage.(MosaicOpImage.java:226)

at com.sun.media.jai.opimage.MosaicRIF.create(MosaicRIF.java:39)

… 24 more

18 Nov 11:47:57 INFO [seed.SeedTask] - Aborting seed thread GWC Seeder Thread-7. Error count reached configured maximum of 1000

transparent_img_result_from_wms.png

FYI: Just upgraded to GeoServer 2.4.2, but the problem still prevails.

···

Von: Nachtigall, Jens (init) [mailto:Jens.Nachtigall@…5799…]
Gesendet: Montag, 18. November 2013 12:12
An: geoserver-users@lists.sourceforge.net
Betreff: [Geoserver-users] Seeding fails with “Alpha images must have the same sample size as the sources”

Dear all,

I am trying to seed a certain layer. However, seeding is always aborted with the error message “java.lang.IllegalArgumentException: Alpha images must have the same sample size as the sources”.

The WMS request is like this:

https://security.geobasis-bb.de:443/wss/service/WMS-ALKIS/httpauth?SERVICE=WMS&LAYERS=adv_alkis_gebaeude&FORMAT=image%2Fpng&HEIGHT=1134&TRANSPARENT=TRUE&REQUEST=GetMap&WIDTH=1234&BBOX=241422.08804878494,5682813.523432538,242292.88804878492,5683614.323432538&STYLES=&SRS=EPSG:25833&VERSION=1.1.1

(Sorry, the service is password protected as it’s an official service and I cannot paste it here :-/ but I attached the retrieved image. It’s just a plain transparent PNG, 1234x1134px with 455 Bytes).

I’ve seen the thread here http://osgeo-org.1560.x6.nabble.com/Transparent-argument-and-Geoserver-errors-td5048880.html (Apr 2013) about the “transparent” argument but do not know if it is related.

Full traceback is below, GeoServer 2.3.5 with builtin GWC.

Best,

Jens

18 Nov 11:47:57 DEBUG [seed.SeedTask] - Seed failed at ConveyorTile[{76,9784,8} Iter02_EPSG:25833_LPT image/png] after 30 of 51 attempts.

18 Nov 11:47:57 DEBUG [gwc.layer] - → GWC Seeder Thread-7 submitting getMap request for meta grid location [76, 9784, 8] on org.geoserver.gwc.layer.GeoServerMetaTile@…6247…

18 Nov 11:47:57 INFO [geoserver.wms] -

Request: getServiceInfo

18 Nov 11:47:57 DEBUG [geoserver.ows] - Getting layers and styles from LAYERS and STYLES

18 Nov 11:47:57 DEBUG [geoserver.ows] - establishing null style for lpt:adv_alkis_gebaeude

18 Nov 11:47:57 DEBUG [geoserver.wms] - setting up map

18 Nov 11:47:57 DEBUG [wms.map] - setting up 1224x1124 image

18 Nov 11:47:57 WARN [wms.map] - Failed to compare data and request envelopes, proceeding with rendering anyways

java.lang.NullPointerException: Unable to transform referenced envelope, crs has not yet been provided.

at org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:658)

at org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:624)

at org.geoserver.wms.map.RenderedImageMapOutputFormat.readBestCoverage(RenderedImageMapOutputFormat.java:1207)

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

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

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

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

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

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

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

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

at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source)

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

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

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

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

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

at org.geoserver.gwc.GWC.dispatchOwsRequest(GWC.java:1138)

at org.geoserver.gwc.layer.GeoServerTileLayer.dispatchGetMap(GeoServerTileLayer.java:552)

at org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:497)

at org.geoserver.gwc.layer.GeoServerTileLayer.seedTile(GeoServerTileLayer.java:691)

at org.geowebcache.seed.SeedTask.doActionInternal(SeedTask.java:136)

at org.geowebcache.seed.GWCTask.doAction(GWCTask.java:76)

at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:36)

at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:25)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

at java.util.concurrent.FutureTask.run(FutureTask.java:166)

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

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

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

18 Nov 11:47:57 DEBUG [geotools.map] - Issuing request: https://security.geobasis-bb.de:443/wss/service/WMS-ALKIS/httpauth?SERVICE=WMS&LAYERS=adv_alkis_gebaeude&FORMAT=image%2Fpng&HEIGHT=1134&TRANSPARENT=TRUE&REQUEST=GetMap&WIDTH=1234&BBOX=241422.08804878494,5682813.523432538,242292.88804878492,5683614.323432538&STYLES=&SRS=EPSG:25833&VERSION=1.1.1

18 Nov 11:47:57 DEBUG [data.ows] - Executed request to URL: https://security.geobasis-bb.de:443/wss/service/WMS-ALKIS/httpauth?SERVICE=WMS&LAYERS=adv_alkis_gebaeude&FORMAT=image%2Fpng&HEIGHT=1134&TRANSPARENT=TRUE&REQUEST=GetMap&WIDTH=1234&BBOX=241422.08804878494,5682813.523432538,242292.88804878492,5683614.323432538&STYLES=&SRS=EPSG:25833&VERSION=1.1.1

18 Nov 11:47:57 DEBUG [geotools.rendering] - Drawing coverage GridCoverage2D[“Gebäude”, GeneralEnvelope[(241422.08804878494, 5682813.523432538), (242292.88804878492, 5683614.323432538)], DefaultProjectedCRS[“ETRS89 / UTM zone 33N”]]

│ RenderedSampleDimension(“Gebäude”:[0.0 … 3.0])

│ ‣ Category(“Gebäude”:[0…3])

└ Image=WritableRenderedImageAdapter

18 Nov 11:47:57 DEBUG [geotools.rendering] - Transforming coverage envelope with transform PARAM_MT[“Affine”,

PARAMETER[“num_row”, 3],

PARAMETER[“num_col”, 3]]

18 Nov 11:47:57 DEBUG [geotools.rendering] - Using interpolation javax.media.jai.InterpolationNearest@…6248…

18 Nov 11:47:57 DEBUG [geotools.rendering] - Raster Symbolizer

18 Nov 11:47:57 DEBUG [geotools.rendering] - Raster Symbolizer

18 Nov 11:47:57 INFO [geoserver.wms] -

Request: getMap

Width = 1224

Height = 1124

Palette = null

Tiled = false

SRS = EPSG:25833

FeatureVersion = null

Styles = [StyleImpl[ name=Default Styler]]

Layers = [org.geoserver.wms.MapLayerInfo@…6249…]

MaxFeatures = null

Exceptions = SE_XML

Crs = PROJCS[“ETRS89 / UTM zone 33N”,

GEOGCS[“ETRS89”,

DATUM[“European Terrestrial Reference System 1989”,

SPHEROID[“GRS 1980”, 6378137.0, 298.257222101, AUTHORITY[“EPSG”,“7019”]],

TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],

AUTHORITY[“EPSG”,“6258”]],

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

UNIT[“degree”, 0.017453292519943295],

AXIS[“Geodetic longitude”, EAST],

AXIS[“Geodetic latitude”, NORTH],

AUTHORITY[“EPSG”,“4258”]],

PROJECTION[“Transverse_Mercator”, AUTHORITY[“EPSG”,“9807”]],

PARAMETER[“central_meridian”, 15.0],

PARAMETER[“latitude_of_origin”, 0.0],

PARAMETER[“scale_factor”, 0.9996],

PARAMETER[“false_easting”, 500000.0],

PARAMETER[“false_northing”, 0.0],

UNIT[“m”, 1.0],

AXIS[“Easting”, EAST],

AXIS[“Northing”, NORTH],

AUTHORITY[“EPSG”,“25833”]]

Bbox = ReferencedEnvelope[241429.08804878494 : 242285.88804878492, 5682820.523432539 : 5683607.323432539]

RemoteOwsType = null

RemoteOwsURL = null

Env = {}

FormatOptions = {}

Angle = 0.0

CQLFilter = null

Elevation =

FeatureId = null

StartIndex = null

ViewParams = null

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

Transparent = true

SldBody = null

ValidateSchema = false

Sld = null

SldVersion = null

TilesOrigin = null

Time =

Filter = null

Buffer = 0

Format = image/png

Filters = null

Get = true

RequestCharset = UTF-8

RawKvp = {BBOX=241429.08804878494,5682820.523432539,242285.88804878492,5683607.323432539, SERVICE=WMS, HEIGHT=1124, REQUEST=GetMap, STYLES=, WIDTH=1224, EXCEPTIONS=SE_XML, TRANSPARENT=true, VERSION=1.1.1, FORMAT=image/png, GWC_SEED_INTERCEPT=true, LAYERS=lpt:Gebaeude, SRS=EPSG:25833}

BaseUrl = http://localhost:8080/geoserver/

Version = 1.1.1

Request = GetMap

Error: One factory fails for the operation “Mosaic”

Occurs in: org.geoserver.jai.ConcurrentOperationRegistry

java.lang.reflect.InvocationTargetException

at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source)

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

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

at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)

at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)

at org.geoserver.jai.ConcurrentOperationRegistry.invokeFactory(ConcurrentOperationRegistry.java:412)

at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)

at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819)

at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)

at javax.media.jai.RenderedOp.getSampleModel(RenderedOp.java:2233)

at org.geoserver.gwc.layer.GeoServerMetaTile.createTile(GeoServerMetaTile.java:170)

at org.geoserver.gwc.layer.GeoServerMetaTile.writeTileToStream(GeoServerMetaTile.java:82)

at org.geowebcache.layer.TileLayer.saveTiles(TileLayer.java:610)

at org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:500)

at org.geoserver.gwc.layer.GeoServerTileLayer.seedTile(GeoServerTileLayer.java:691)

at org.geowebcache.seed.SeedTask.doActionInternal(SeedTask.java:136)

at org.geowebcache.seed.GWCTask.doAction(GWCTask.java:76)

at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:36)

at org.geowebcache.seed.MTSeeder.call(MTSeeder.java:25)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

at java.util.concurrent.FutureTask.run(FutureTask.java:166)

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

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

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

Caused by: java.lang.IllegalArgumentException: Alpha images must have the same sample size as the sources.

at com.sun.media.jai.opimage.MosaicOpImage.(MosaicOpImage.java:226)

at com.sun.media.jai.opimage.MosaicRIF.create(MosaicRIF.java:39)

… 24 more

18 Nov 11:47:57 INFO [seed.SeedTask] - Aborting seed thread GWC Seeder Thread-7. Error count reached configured maximum of 1000

On Tue, Nov 19, 2013 at 3:32 PM, Nachtigall, Jens (init) <
Jens.Nachtigall@anonymised.com> wrote:

FYI: Just upgraded to GeoServer 2.4.2, but the problem still prevails.

By the looks of it, you're trying to seed a image mosaic layer, right?

One possible cause to the error message could be that the mosaic is made of
images that
are not uniform from the point of view of the color mode, for example, some
RGB, some
RGBA.
I don't believe we support this scenario.

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

HI Andrea,

Thanks for your reply. No, actually I am seeding a WMS layer. Quoting form first mail:

The WMS request is like this:

https://security.geobasis-bb.de:443/wss/service/WMS-ALKIS/httpauth?SERVICE=WMS&LAYERS=adv_alkis_gebaeude&FORMAT=image%2Fpng&HEIGHT=1134&TRANSPARENT=TRUE&REQUEST=GetMap&WIDTH=1234&BBOX=241422.08804878494,5682813.523432538,242292.88804878492,5683614.323432538&STYLES=&SRS=EPSG:25833&VERSION=1.1.1

(Sorry, the service is password protected as it’s an official service and I cannot paste it here :-/ but I attached the retrieved image. It’s just a plain transparent PNG, 1234x1134px with 455 Bytes).

It works all well for seeding the first 3.5 GB of tiles (expecting about 50 GB in total), then it seems like a certain “mal-functioning” image is hit and tile processing is aborted.

Best, Jens

···

On Tue, Nov 19, 2013 at 3:32 PM, Nachtigall, Jens (init) <Jens.Nachtigall@anonymised.com> wrote:

FYI: Just upgraded to GeoServer 2.4.2, but the problem still prevails.

By the looks of it, you’re trying to seed a image mosaic layer, right?

One possible cause to the error message could be that the mosaic is made of images that

are not uniform from the point of view of the color mode, for example, some RGB, some

RGBA.

I don’t believe we support this scenario.

Cheers

Andrea

==

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

==

Ing. Andrea Aime

@geowolf

Technical Lead

GeoSolutions S.A.S.

Via Poggio alle Viti 1187

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

mob: +39 339 8844549

http://www.geo-solutions.it

http://twitter.com/geosolutions_it


On Tue, Nov 19, 2013 at 3:55 PM, Nachtigall, Jens (init) <
Jens.Nachtigall@anonymised.com> wrote:

HI Andrea,

Thanks for your reply. No, actually I am seeding a WMS layer. Quoting form
first mail:

The WMS request is like this:

https://security.geobasis-bb.de:443/wss/service/WMS-ALKIS/httpauth?SERVICE=WMS&LAYERS=adv_alkis_gebaeude&FORMAT=image%2Fpng&HEIGHT=1134&TRANSPARENT=TRUE&REQUEST=GetMap&WIDTH=1234&BBOX=241422.08804878494,5682813.523432538,242292.88804878492,5683614.323432538&STYLES=&SRS=EPSG:25833&VERSION=1.1.1

(Sorry, the service is password protected as it’s an official service and
I cannot paste it here :-/ but I attached the retrieved image. It’s just a
plain transparent PNG, 1234x1134px with 455 Bytes).

It works all well for seeding the first 3.5 GB of tiles (expecting about
50 GB in total), then it seems like a certain “mal-functioning” image is
hit and tile processing is aborted.

Ouch, this makes it very difficult to debug, we have no way of reproducing
it.
You may want to open a ticket, but I'm afraid that without a direct
investigation on your servers (with full access and enough time
to spend on it) we'll have to wait for someone to stumble into the same
problem, but with an environment that makes
this easier to pinpoint and reproduce the issue.

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------