[Geoserver-devel] [jira] Created: (GEOS-435) NullPointerException in XMLConfigWriter

NullPointerException in XMLConfigWriter
---------------------------------------

         Key: GEOS-435
         URL: http://jira.codehaus.org/browse/GEOS-435
     Project: GeoServer
        Type: Bug
  Components: DTO
    Versions: 1.3.0 RC5
Reporter: Brent Owens
Assigned to: Brent Owens
    Priority: Trivial
     Fix For: 1.3.0 RC5
Attachments: XMLConfigWriter.java

I downloaded the newest release candidate, and every time I try to save a configuration (like adding a style) I get the following error -- How can I fix this? John

   HTTP ERROR: 404 Not Found

RequestURI=/geoserver/admin/

/Powered by Jetty:// <http://jetty.mortbay.org>/

Caused by:
63 [WARNING] org.geotools.data.shapefile.ShapefileDataStore - projection (.prj) for shapefile not available
12:35:10.949 WARN!! Exception for /geoserver/admin/saveToXML.do
java.lang.NullPointerException
       at org.vfny.geoserver.global.xml.XMLConfigWriter.storeFeatures(XMLConfigWriter.java:696)
       at org.vfny.geoserver.global.xml.XMLConfigWriter.store(XMLConfigWriter.java:89)
       at org.vfny.geoserver.global.xml.XMLConfigWriter.store(XMLConfigWriter.java:119)
       at org.vfny.geoserver.action.SaveXMLAction.saveGeoserver(SaveXMLAction.java:63)
       at org.vfny.geoserver.action.SaveXMLAction.execute(SaveXMLAction.java:45)
       at org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:98)
       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
       at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
       at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
       at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
       at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
       at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
       at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
       at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
       at org.mortbay.http.HttpServer.service(HttpServer.java:879)
       at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
       at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
       at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
       at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
       at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:276)
       at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)

12:35:11.048 EVENT Started HttpContext[/]

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