2011/9/5 Laure-Hélène Bruneton <[email protected]>:
> Just as I thought, even after re-installing, it didn't change anything.

Ok, tried it again on the 2.1.x series (I normally work on trunk, the
2.2.x series)
and managed to reproduce it, though I followed a slightly different path,
created a ws, then a store, a layer, noticed the store was associated to the
default workspace, got back, edited the store to be in the new workspace,
preview, boom, NPE In the GML output format class:

java.lang.NullPointerException
        at 
org.geoserver.wfs.xml.GML2OutputFormat.prepare(GML2OutputFormat.java:149)
        at 
org.geoserver.wfs.xml.GML2OutputFormat.write(GML2OutputFormat.java:294)
        at 
org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:141)
        at org.geoserver.ows.Dispatcher.response(Dispatcher.java:750)
        at 
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:238)
        at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
        at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
        at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
        at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Then got back to the workspaces, saved the workspace again, and WFS
output started working
again.

Created a bug report:
http://jira.codehaus.org/browse/GEOS-4751

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to