Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/GEOS-197
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GEOS-197
Summary: v1.2 RC2: ClassCastException with ArcSDE GetFeature request
Type: Bug
Status: Open
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: GeoServer
Assignee: Chris Holmes
Reporter: Steve Schnick
Created: Thu, 22 Jul 2004 4:00 PM
Updated: Thu, 22 Jul 2004 4:00 PM
Description:
When attempting the following request:
<?xml version="1.0" encoding="UTF-8"?><wfs:GetFeature xmlns:intermap="http://iweb.intermaptechnologies.com" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" service="WFS" version="1.0.0" outputFormat="GML2" maxFeatures="100">
<wfs:Query typeName="intermap:SDE.GEOSERVWRITE.TESTDATA">
<ogc:Filter>
<ogc:Intersects>
<ogc:PropertyName>shape</ogc:PropertyName>
<gml:Box srsName="EPSG:4326">
<gml:coordinates>-112.09658246656761,40.998514115898956 -103.62109955423477,47.69687964338781</gml:coordinates>
</gml:Box>
</ogc:Intersects>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
I get the response:
<?xml version="1.0" ?>
<ServiceExceptionReport version="1.2.0" xmlns="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd">
<ServiceException> problem with FeatureResults:
org.geotools.data.DataSourceException: Encoder error null at
org.geotools.data.arcsde.ArcSDEAdapter.createSeQuery(ArcSDEAdapter.java:449)
at
org.geotools.data.arcsde.ArcSDEAdapter.createSeQuery(ArcSDEAdapter.java:376)
at
org.geotools.data.arcsde.ArcSDEDataStore.getCount(ArcSDEDataStore.java:262)
at
org.geotools.data.AbstractFeatureSource.getCount(AbstractFeatureSource.java:221)
at
org.geotools.data.DefaultFeatureResults.getCount(DefaultFeatureResults.java:195)
at
org.vfny.geoserver.responses.wfs.FeatureResponse.execute(FeatureResponse.java:285)
at
org.vfny.geoserver.responses.wfs.FeatureResponse.execute(FeatureResponse.java:142)
at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:357)
at
org.vfny.geoserver.servlets.AbstractService.doPost(AbstractService.java:295)
at
org.vfny.geoserver.servlets.AbstractService.doPost(AbstractService.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Thread.java:536)Caused by:
java.lang.ClassCastException at
org.geotools.filter.GeometryEncoderSDE.addIntersectsFilter(GeometryEncoderSDE.java:269)
at
org.geotools.filter.GeometryEncoderSDE.visit(GeometryEncoderSDE.java:165)
at
org.geotools.filter.GeometryFilterImpl.accept(GeometryFilterImpl.java:342)
at
org.geotools.filter.GeometryEncoderSDE.encode(GeometryEncoderSDE.java:144)
at
org.geotools.data.arcsde.FilterSet.createSpatialFilters(ArcSDEAdapter.java:579)
at
org.geotools.data.arcsde.ArcSDEAdapter.createSeQuery(ArcSDEAdapter.java:428)
... 35 more </ServiceException>
</ServiceExceptionReport>
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira