HI,

I know this is an old thread but I am getting the same error message 'No
Applicable Code'. I am trying to insert a line(Geometry values) into the
database but I am getting this only when the table is empty. But if I insert
some record into the table manually with the query directly, the error is
not there. What could be hte reason? Please tell me if anyone has an idea. I
am posting the error code and what the actual request is...

My Request

<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"; version="1.1.0"
service="WFS"><wfs:Insert><feature:Hydrant_Route_Raw
xmlns:feature="http://www.opengis.net/wfs";><feature:GEOM><gml:LineString
xmlns:gml="http://www.opengis.net/gml";
srsName="EPSG:900913"><gml:posList>-283609.4905054803 7013400.087365126
-283161.706031366 7013854.173957001 -283118.4188448389
7014074.837029764</gml:posList></gml:LineString></feature:GEOM></feature:Hydrant_Route_Raw></wfs:Insert></wfs:Transaction>

and the error is...
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
2017-05-26 11:46:41,859 ERROR [geoserver.ows] - 
*org.geoserver.wfs.WFSTransactionException: Feature type 'Hydrant_Route_Raw'
is not available: *
        at org.geoserver.wfs.Transaction.execute(Transaction.java:221)
        at org.geoserver.wfs.Transaction.transaction(Transaction.java:106)
        at
org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:171)
        at sun.reflect.GeneratedMethodAccessor1314.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:33)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Error-saving-WFS-ows-Exception-exceptionCode-NoApplicableCode-Feature-type-is-not-available-tp3796849p5321929.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to