Filter exception question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Filter exception question

Eli Dylan Lorimer
Hi All,

I'm not sure if this should be a GeoServer or GT2 question, but I  
think I should start with GeoServer.

I'm issuing a WFS request with a CompareFilter.

GeoServer is raising an exception on it though. All I'm doing is  
checking to see if one field is equal to the literal value 2.

Does anyone have any ideas?

Here's the error log stuff:

Request: null
output format:GML2
max features:2147483647
version:1.0.0
queries:
   Query []
    feature type: stvu:waypoints_2d&FILTER=<Filter xmlns="http://
www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/ 
gml"><PropertyIsEqualTo><PropertyName>target_id</PropertyName>
<Literal>2</Literal>
</PropertyIsEqualTo>
</Filter>

    [properties:  ALL ]

2456738 [WARNING] org.vfny.geoserver.servlets.AbstractService -  
service exception while executing request:
Request: null
output format:GML2
max features:2147483647
version:1.0.0
queries:
   Query []
    feature type: stvu:waypoints_2d&FILTER=<Filter xmlns="http://
www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/ 
gml"><PropertyIsEqualTo><PropertyName>target_id</PropertyName>
<Literal>2</Literal>
</PropertyIsEqualTo>
</Filter>

    [properties:  ALL ]

cause: java.util.NoSuchElementException: Could not locate  
FeatureTypeConfig 'stvu:waypoints_2d&FILTER=<Filter xmlns="http://
www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/ 
gml"><PropertyIsEqualTo><PropertyName>target_id</PropertyName>
<Literal>2</Literal>
</PropertyIsEqualTo>
</Filter>
'
2456740 [WARNING] org.vfny.geoserver.ServiceException - encountered  
error: java.util.NoSuchElementException: Could not locate  
FeatureTypeConfig 'stvu:waypoints_2d&FILTER=<Filter xmlns="http://
www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/ 
gml"><PropertyIsEqualTo><PropertyName>target_id</PropertyName>
<Literal>2</Literal>
</PropertyIsEqualTo>
</Filter>
'
StackTrace: java.util.NoSuchElementException: Could not locate  
FeatureTypeConfig 'stvu:waypoints_2d&FILTER=<Filter xmlns="http://
www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/ 
gml"><PropertyIsEqualTo><PropertyName>target_id</PropertyName>
<Literal>2</Literal>
</PropertyIsEqualTo>
</Filter>
'
         at org.vfny.geoserver.global.Data.getFeatureTypeInfo
(Data.java:850)
         at org.vfny.geoserver.wfs.responses.FeatureResponse.execute
(FeatureResponse.java:234)
         at org.vfny.geoserver.wfs.responses.FeatureResponse.execute
(FeatureResponse.java:143)
         at org.vfny.geoserver.servlets.AbstractService.doService
(AbstractService.java:404)
         at org.vfny.geoserver.servlets.AbstractService.doGet
(AbstractService.java:247)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:527)
         at  
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:552)

org.vfny.geoserver.ServiceException:  
java.util.NoSuchElementException: Could not locate FeatureTypeConfig  
'stvu:waypoints_2d&FILTER=<Filter xmlns="http://www.opengis.net/ogc"  
xmlns:gml="http://www.opengis.net/ 
gml"><PropertyIsEqualTo><PropertyName>target_id</PropertyName>
<Literal>2</Literal>
</PropertyIsEqualTo>
</Filter>
'
         at org.vfny.geoserver.wfs.responses.FeatureResponse.execute
(FeatureResponse.java:371)
         at org.vfny.geoserver.wfs.responses.FeatureResponse.execute
(FeatureResponse.java:143)
         at org.vfny.geoserver.servlets.AbstractService.doService
(AbstractService.java:404)
         at org.vfny.geoserver.servlets.AbstractService.doGet
(AbstractService.java:247)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:527)
         at  
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:552)
Caused by: java.util.NoSuchElementException: Could not locate  
FeatureTypeConfig 'stvu:waypoints_2d&FILTER=<Filter xmlns="http://
www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/ 
gml"><PropertyIsEqualTo><PropertyName>target_id</PropertyName>
<Literal>2</Literal>
</PropertyIsEqualTo>
</Filter>
'
         at org.vfny.geoserver.global.Data.getFeatureTypeInfo
(Data.java:850)
         at org.vfny.geoserver.wfs.responses.FeatureResponse.execute
(FeatureResponse.java:234)
         ... 19 more
                 


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users