[Geoserver-devel] [jira] (GEOS-5881) Missing CRS causing GeoServer exception

Jonathan Moules created BugGEOS-5881
Missing CRS causing GeoServer exception

Issue Type:

BugBug

Affects Versions:

2.3.3

Assignee:

Andrea Aime

Created:

09/Jul/13 11:17 AM

Description:

I had a layer group where I hadn’t specified a CRS. GeoServer allowed me to continue. The problem is this then caused my WMS GetCapabilities to fail:

<ServiceExceptionReport version=“1.3.0” xmlns=“http://www.opengis.net/ogc” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://www.opengis.net/ogc http://wppgeog3:8082/geoserver/schemas/wms/1.3.0/exceptions_1_3_0.xsd”>
<ServiceException>
javax.xml.transform.TransformerException: java.lang.NullPointerException: Unable to transform referenced envelope, crs has not yet been provided. java.lang.NullPointerException: Unable to transform referenced envelope, crs has not yet been provided. Unable to transform referenced envelope, crs has not yet been provided.
</ServiceException>
</ServiceExceptionReport>

GeoServer shouldn’t allow submission of invalid data if it’s going to result in such a bad reaction.

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Jonathan Moules

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)