LegacyCoverageInfoReader may throw NullPointerException when calling requestCRSs and responseCRSs on old info.xml which doesn't have these childs.
--------------------------------------------------------------------------------------------------------------------------------------------------
Key: GEOS-2620
URL: http://jira.codehaus.org/browse/GEOS-2620
Project: GeoServer
Issue Type: Bug
Components: Global
Affects Versions: 1.7.2
Reporter: Daniele Romagnoli
Assignee: Daniele Romagnoli
Fix For: 1.7.3
LegacyCoverageInfoReader throws NullPointerException when invoking requestCRSs and responseCRSs on old info.xml which doesn't have "requestCRSs" and "responseCRSs" supportedCRSs's TAG childs.
This is due to a direct call of String's methods (trim, split) on a NULL String.
Preliminar check of String's existance is required.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira