[Mapbender-users] Error digitize line and polygon

Kai_th kaisola at gmx.de
Wed Oct 10 01:49:06 EDT 2007


Hallo,

I use GeoServer for WFS-T.
It's impossible to store lines and polygons in Postgres.
I get the following entry in my mapbender log file.

<wfs:Transaction version="1.0.0" service="WFS"
xmlns="http://www.someserver.com/myns"
xmlns:topp="http://www.openplans.org/topp"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:citef="http://www.opengis.net/cite/functions"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wfs="http://www.opengis.net/wfs"
xsi:schemaLocation="http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd"><wfs:Insert><topp:achsen><vnk>5653214</vnk><nnk>5121144</nnk><style>Abschnitt</style><the_geom><gml:MultiLineString
srsName="EPSG:25831"><gml:lineStringMember><gml:LineString><gml:coordinates>447491,4487703
447608,4487718 447753,4487793 447768,4487705
447676,4487626</gml:coordinates></gml:LineString></gml:lineStringMember></gml:MultiLineString></the_geom></topp:achsen></wfs:Insert></wfs:Transaction>


In geoserver I get the following xml-Document:

−
	<ServiceExceptionReport version="1.2.0"
xsi:schemaLocation="http://www.opengis.net/ogc
http://localhost:8080/geoserver/schemas//wfs/1.0.0/OGC-exception.xsd">
−
	<ServiceException>

      java.lang.NullPointerException
	at
org.vfny.geoserver.wfs.responses.GML2FeatureResponseDelegate.prepare(GML2FeatureResponseDelegate.java:158)
	at
org.vfny.geoserver.wfs.responses.FeatureResponse.execute(FeatureResponse.java:417)
	at
org.vfny.geoserver.wfs.responses.FeatureResponse.execute(FeatureResponse.java:146)
	at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:516)
	at
org.vfny.geoserver.servlets.AbstractService.doPost(AbstractService.java:447)
	at
org.vfny.geoserver.servlets.AbstractService.doPost(AbstractService.java:346)
	at org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:194)
	at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:52)
	at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
	at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
	at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
	at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
	at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
	at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:357)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050)
	at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:103)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
	at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
	at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
	at org.mortbay.jetty.Server.handle(Server.java:269)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
	at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:701)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:617)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
	at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
	at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
   
</ServiceException>
</ServiceExceptionReport>

Thanks for your help
 
-- 
View this message in context: http://www.nabble.com/Error-digitize-line-and-polygon-tf4598745.html#a13129837
Sent from the mapbender-users mailing list archive at Nabble.com.



More information about the Mapbender_users mailing list