[Geoserver-devel] error rendering coverage on the fast path

Hello,

I'm getting the bellow exception when executing a GetMap request like
the following on both 2.1.x and trunk:
<http://localhost:8080/geoserver/wms?LAYERS=nurc%3AArc_Sample&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=1335507.7609878,-1574602.7798854,1336119.2572141,-1573991.2836591&WIDTH=256&HEIGHT=256&gt;

Data directory is the release one, layer nurc:Arc_Sample.
I'm on linux, java is
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

It happens with both native JAI/ImageIO installed and not.

So before filing a jira I just wanted to ask whether this is something
knew, it happens only to me, or it's actually worth a bug report?

Cheers,
Gabriel

02 Dec 19:04:17 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Error rendering coverage on
the fast path
  at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:333)
  at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:249)
  at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:124)
  at org.geoserver.wms.GetMap.run(GetMap.java:377)
....
Caused by: java.lang.IllegalArgumentException: Dimensions (width=46604
height=48031) are too large
  at java.awt.image.SampleModel.<init>(SampleModel.java:112)
  at java.awt.image.ComponentSampleModel.<init>(ComponentSampleModel.java:128)
  at java.awt.image.PixelInterleavedSampleModel.<init>(PixelInterleavedSampleModel.java:69)
  at java.awt.image.ComponentColorModel.createCompatibleSampleModel(ComponentColorModel.java:2841)
  at org.geotools.image.ImageWorker.forceComponentColorModel(ImageWorker.java:1275)
  at org.geotools.image.ImageWorker.forceComponentColorModel(ImageWorker.java:1312)
  at org.geotools.image.ImageWorker.forceComponentColorModel(ImageWorker.java:1153)
  at org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:999)
  at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:331)

--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

On Fri, Dec 2, 2011 at 11:06 PM, Gabriel Roldan <groldan@anonymised.com…> wrote:

Hello,

I’m getting the bellow exception when executing a GetMap request like
the following on both 2.1.x and trunk:
<http://localhost:8080/geoserver/wms?LAYERS=nurc%3AArc_Sample&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=1335507.7609878,-1574602.7798854,1336119.2572141,-1573991.2836591&WIDTH=256&HEIGHT=256>

Confirmed on trunk

Cheers
Andrea

Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf


On Sat, Dec 3, 2011 at 4:24 AM, Andrea Aime
<andrea.aime@anonymised.com> wrote:

Confirmed on trunk

here's the jira http://jira.codehaus.org/browse/GEOS-4890

thanks for the confirmation.
Gabriel

Cheers
Andrea

--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.