Hello people,
I am experiencing a problem with my GeoServer the GetCapabilities of the WMS is broken [1]. My questions are:
#1 How can I diagnose which layer is causing this? I end up with a NullPointerException [2].
#2 Why does GeoServer return an invalid XML (and XML file inside another XML file)? I remember some settings about optimizing for speed vs optimizing for ‘correctness’ in earlier versions of GeoServer but I don’t see that now [3].
#3 What changes would be needed in GeoServer to better diagnose (or if possible self correct) this problem. This is an application where GeoServer is used as a backend storage and I would like to avoid a failed layer upload via the REST API from totally breaking the server
Thanks in advance for any help you can provide, I addressed this to the dev list because I intend to follow up with a patch to come with a more helpful behavior to the GeoServer Admin / User.
Ariel
[1] Trimmed version of the output:
------------ start of the document ------------
<?xml version="1.0" encoding="UTF-8"?><WMT_MS_Capabilities version=“1.1.1” updateSequence=“1704”>
OGC:WMS
[snip … ]
EPSG:62786405
EPSG:62796405
EPSG:62806405
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
javax.xml.transform.TransformerException: Translator error
Translator error
null
-----------------End of the document -------------
[3] Information about GeoServer
- 2.1-SNAPSHOT
- 16252
- 17-Aug-2011 00:28
- 2.7-SNAPSHOT (rev 37850)