[Geoserver-devel] [jira] Created: (GEOS-913) hard to understand error message on coverage creation with coverageStore with bad or without corner coordinates

hard to understand error message on coverage creation with coverageStore with bad or without corner coordinates
---------------------------------------------------------------------------------------------------------------

                 Key: GEOS-913
                 URL: http://jira.codehaus.org/browse/GEOS-913
             Project: GeoServer
          Issue Type: Bug
          Components: WCS
            Reporter: Vincent Schut
         Assigned To: Andrea Aime

When creating a coverage from a coverageStore (geotiff in my case) that accidentally lacks corner coordinate information, or e.g. has a full geotransform (all 6 numbers in the tfw file from which the geotiff tags were created are nonzero) instead of just UL corner coordinates and pixel size, will fail with a for the user incomprehensible nullPointer exception. For an example see the stack trace below (well, actually there is no stack trace generated, which makes it even more incomprehensible). This is a series of 4 attempts to create the coverage through the struts interface from the CoverageStore. It results in a blank screen with the NullPointerException being shown, and this in the tomcat logs:

Feb 12, 2007 3:40:26 PM org.apache.struts.action.RequestProcessor processException
WARNING: Unhandled Exception thrown: class java.lang.NullPointerException
Feb 12, 2007 3:45:51 PM org.apache.struts.action.RequestProcessor processException
WARNING: Unhandled Exception thrown: class java.lang.NullPointerException
Feb 12, 2007 3:47:16 PM org.apache.struts.action.RequestProcessor processException
WARNING: Unhandled Exception thrown: class java.lang.NullPointerException
Feb 12, 2007 4:11:08 PM org.apache.struts.action.RequestProcessor processException
WARNING: Unhandled Exception thrown: class java.lang.NullPointerException

--
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