From: Brent O. <bre...@gm...> - 2005-10-28 21:18:52
|
We won't re-issue the release, but I will send you the new jar with the fix. We will be releasing again soon, possibly next week. The bug is reported here: http://jira.codehaus.org/browse/GEOS-435 The report also has the fixed class attached. I will e-mail you the class and the new geoserver.jar Brent Owens TOPP John Harris wrote: > Ok, great -- will you re-issue the release candidate? John > > Brent Owens wrote: > >> It looks like a bug in the code. >> In the method where the exception happens (XMLConfigWriter.java:696), >> the code looks like this: >> >> File[] t = fa[j].listFiles(); >> if (t != null) { >> ... >> } >> if (fa[j].listFiles().length == 0) { >> fa[j].delete(); >> } >> >> The first if statement checks to see that t is not null, but it is >> not checked again on the next if statement. I have added it as a bug >> and will fix it today. >> >> Brent Owens >> TOPP >> >> >> >> John Harris wrote: >> >>> And here is the exception: >>> >>> 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[/] >>> >>> >>> John Harris wrote: >>> >>>> Fedora core2 >>>> Jody Garnett wrote: >>>> >>>>> John Harris wrote: >>>>> >>>>>> 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 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Not sure - I just checked the sanity check release for my >>>>> walkthrough 2 (and did not make any changes to the configuration). >>>>> What platform are you on? >>>>> Jody >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.Net email is sponsored by the JBoss Inc. >>>>> Get Certified Today * Register for a JBoss Training Course >>>>> Free Certification Exam for All Training Attendees Through End of >>>>> 2005 >>>>> Visit http://www.jboss.com/services/certification for more >>>>> information >>>>> _______________________________________________ >>>>> Geoserver-devel mailing list >>>>> Geo...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by the JBoss Inc. >> Get Certified Today * Register for a JBoss Training Course >> Free Certification Exam for All Training Attendees Through End of 2005 >> Visit http://www.jboss.com/services/certification for more information >> _______________________________________________ >> Geoserver-devel mailing list >> Geo...@li... >> https://lists.sourceforge.net/lists/listinfo/geoserver-devel > > > > |