Hi all,

I am having a real strange problem using the GetCapabilities query of 
Geoserver. The concept seems fairly straightforward and I am using the 
Webbrowser URL:

http://localhost:8080/geoserver/wms?
REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1&namespace=topp&

I always get the error:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE 
ServiceExceptionReport 
SYSTEM "http://localhost:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.d
td"> <ServiceExceptionReport version="1.1.1" >   <ServiceException>
      Translator error
Translator error
Unable to transform referenced envelope, crs has not yet been provided.
</ServiceException></ServiceExceptionReport>

Omitting the namespace or changing it to well-defined CRS like there is in the 
test data or using PostGIS with an imported shapefile and enforced EPSG 
code "shp2pgsql -s 4326" does not solve the problem. 

Originally and this is what I wanna do it for, is to query ArcSDE feature 
classes. Since ESRI, I believe, does not support EPSG codes, it is imported as 
Unknown in GeoServer, though showing "GCS_WGS_1984" besides the native SRS. I 
am enforcing a declared EPSG:4326 which does not help, as it does not for the 
above-mentioned cases where the SRS is 4326 already as native.

Can anyone help on this one?

The logfile reads the following:

2010-10-08 17:59:44,730 ERROR [geoserver.ows] - 
org.vfny.geoserver.wms.WmsException: Translator error
        at org.vfny.geoserver.wms.responses.WMSCapabilitiesResponse.execute
(WMSCapabilitiesResponse.java:146)
        at org.geoserver.ows.adapters.ResponseAdapter.getMimeType
(ResponseAdapter.java:48)
        at org.geoserver.ows.Dispatcher.response(Dispatcher.java:712)
        at org.geoserver.ows.Dispatcher.handleRequestInternal
(Dispatcher.java:234)

....

Caused by: javax.xml.transform.TransformerException: Translator error
        at org.geotools.xml.transform.TransformerBase.transform
(TransformerBase.java:133)
        at org.geotools.xml.transform.TransformerBase.transform
(TransformerBase.java:108)
        at org.vfny.geoserver.wms.responses.WMSCapabilitiesResponse.execute
(WMSCapabilitiesResponse.java:144)
        ... 52 more

....

Caused by: java.lang.NullPointerException: Unable to transform referenced 
envelope, crs has not yet been provided.
        at org.geotools.geometry.jts.ReferencedEnvelope.transform
(ReferencedEnvelope.java:618)
        at org.geotools.geometry.jts.ReferencedEnvelope.transform
(ReferencedEnvelope.java:584)    

I would be very thankful for any ideas.

Best regards, Arne


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to