[Geoserver-users] Reprojecting 4326 to 27700

Hi List,
I want my WMS styling to have a non-white background. For that purpose, I’ve created a shapefile in WGS:84 that covers the world (180, 90 etc). Both the native and declare CRS are 4326.
This layer works fine as a layer preview

I’m adding it to a layer group that’s in EPSG:27700 - problem is that it doesn’t show up. GeoServer is failing to render it as part of this layergroup (though it is showing the rest of the layer group as applicable). I have the following error:

2013-12-13 14:42:43,225 ERROR [org.geoserver.ows] -
java.lang.IndexOutOfBoundsException: pos < flushedPos!
at javax.imageio.stream.ImageInputStreamImpl.seek(Unknown Source)
at com.sun.imageio.plugins.png.IDATOutputStream.finishChunk(Unknown Source)
at com.sun.imageio.plugins.png.IDATOutputStream.deflate(Unknown Source)
at com.sun.imageio.plugins.png.IDATOutputStream.finish(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageWriter.write_IDAT(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageWriter.write(Unknown Source)
at org.geotools.image.ImageWorker.writePNG(ImageWorker.java:2787)
at org.geoserver.wms.map.PNGMapResponse.formatImageOutputStream(PNGMapResponse.java:118)
at org.geoserver.wms.map.RenderedImageMapResponse.write(RenderedImageMapResponse.java:122)
at org.geoserver.ows.Dispatcher.response(Dispatcher.java:919)

followed by an error that seems to be telling me it can’t report the error:

2013-12-13 14:42:43,225 INFO [org.geoserver.ows] - Problem writing exception information back to calling client:
ClientAbortException: java.io.IOException
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:369)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:448)
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:318)
at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:296)
at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:98)
at org.geoserver.filters.FlushSafeResponse$FlushSafeServletOutputStream.flush(FlushSafeResponse.java:63)
at org.geoserver.filters.AlternativesResponseStream.flush(AlternativesResponseStream.java:45)
at org.geoserver.wms.WMSServiceExceptionHandler.handleXmlException(WMSServiceExceptionHandler.java:309)

Is it impossible to have a 4326 that covers that size area in a map layer that’s in 27700?
Is this a bug?

Thanks,
Jonathan

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.