"java.lang.NullPointerException  null" with wcs query
-----------------------------------------------------

                 Key: GEOS-3218
                 URL: http://jira.codehaus.org/browse/GEOS-3218
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 1.7.5
         Environment: 1.7.5 - windows vista
            Reporter: Jonathan
            Assignee: Andrea Aime


I'm fiddling around with WCS requests trying to figure out how to formulate the 
URL. So I tried this:

http://193.63.128.51:8080/geoserver/wcs?request=GetCoverage&version=1.1.1&identifier=j2:pyramid&SERVICE=wcs&FORMAT=image/geotiff&boundingbox=-89,0,-180,-90

It returns this error:
<ows:ExceptionReport version="1.1.0" 
xsi:schemaLocation="http://www.opengis.net/ows/1.1 
http://193.63.128.51:8080/geoserver/schemas/ows/1.1.0/owsAll.xsd";>
&#8722;
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>java.lang.NullPointerException
null</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

I now know the problem with the URL is that there's no CRS data etc on the end 
of the "boundingbox" bit, however surely the error message should say that? If 
I append a , (comma) to the end (after the -90) it works fine and returns a 
proper error message about "Could not recognize crs".

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

        

------------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to