This all worked under rc6 and still works under rc7 if we use the war instead of the bin.
When we try to use the one packaged with jetty we get this error.
[ERROR] 2006-01-03 13:56:04,991 MapBuilderGeoTools - Could not aquire feature:java.io.IOException: org.xml.sax.SAXException: Could not find element handler for http://www.opengis.net/gml : Point as a child of GeometryAssociationType.
Exception Constructed by: NoContentIterator.java:37, Method is next
Nested Exception =org.xml.sax.SAXException: Could not find element handler for http://www.opengis.net/gml : Point as a child of GeometryAssociationType.
Nested Exception =Could not find element handler for http://www.opengis.net/gml : Point as a child of GeometryAssociationType.
Trace is:
java.util.NoSuchElementException: Could not aquire feature:java.io.IOException: org.xml.sax.SAXException: Could not find element handler for http://www.opengis.net/gml : Point as a child of GeometryAssociationType.
at org.geotools.data.store.NoContentIterator.next(NoContentIterator.java:37)
at org.geotools.feature.FeatureIterator.next(FeatureIterator.java:64)
at gov.faa.infra.foms.web.schedulingapplet.geomap.TransformData.changeProjection(TransformData.java:61)
at gov.faa.infra.foms.web.schedulingapplet.builder.MapBuilderGeoTools$3.construct(MapBuilderGeoTools.java:289)
at gov.faa.infra.foms.web.schedulingapplet.util.SwingWorker$2.run(SwingWorker.java:107)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.io.IOException: org.xml.sax.SAXException: Could not find element handler for http://www.opengis.net/gml : Point as a child of GeometryAssociationType.
at org.geotools.xml.gml.FCBuffer.hasNext(FCBuffer.java:304)
at org.geotools.data.wfs.WFSFeatureReader.loadElement(WFSFeatureReader.java:164)
at org.geotools.data.wfs.WFSFeatureReader.hasNext(WFSFeatureReader.java:153)
at org.geotools.data.wfs.WFSDataStore.getFeatureReader(WFSDataStore.java:763)
at org.geotools.data.wfs.WFSFeatureSource$WFSFeatureResults.reader(WFSFeatureSource.java:168)
at org.geotools.data.store.DataFeatureCollection.iterator(DataFeatureCollection.java:193)
at org.geotools.feature.FeatureIterator.(FeatureIterator.java:42)
at org.geotools.data.store.DataFeatureCollection.features(DataFeatureCollection.java:174)
at gov.faa.infra.foms.web.schedulingapplet.geomap.TransformData.changeProjection(TransformData.java:53)
… 3 more
Caused by: org.xml.sax.SAXException: Could not find element handler for http://www.opengis.net/gml : Point as a child of GeometryAssociationType.
at org.geotools.xml.XMLSAXHandler.startElement(XMLSAXHandler.java:333)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1672)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
at org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:139)
at org.geotools.data.wfs.WFSFeatureReader.run(WFSFeatureReader.java:123)
********* end of Exception info ******
Josh Moore
Information Engineer
Titan
ph: 405-954-4314 ext. 4314
Hi Joshua,
Can you give me a bit more info about the actual request so I can try to replicate it.
Thanks,
Justin
Joshua.D-CTR.Moore@anonymised.com wrote:
This all worked under rc6 and still works under rc7 if we use the war instead of the bin.
When we try to use the one packaged with jetty we get this error.
[ERROR] 2006-01-03 13:56:04,991 MapBuilderGeoTools - Could not aquire feature:java.io.IOException : org.xml.sax.SAXException : Could not find element handler for http://www.opengis.net/gml : Point as a child of GeometryAssociationType.
Exception Constructed by: NoContentIterator.java:37, Method is next
Nested Exception = org.xml.sax.SAXException : Could not find element handler for http://www.opengis.net/gml : Point as a child of GeometryAssociationType.
Nested Exception =Could not find element handler for http://www.opengis.net/gml : Point as a child of GeometryAssociationType.
Trace is:
java.util.NoSuchElementException : Could not aquire feature:java.io.IOException : org.xml.sax.SAXException : Could not find element handler for http://www.opengis.net/gml : Point as a child of GeometryAssociationType.
at org.geotools.data.store.NoContentIterator.next( NoContentIterator.java:37 )
at org.geotools.feature.FeatureIterator.next( FeatureIterator.java:64 )
at gov.faa.infra.foms.web.schedulingapplet.geomap.TransformData.changeProjection( TransformData.java:61 )
at gov.faa.infra.foms.web.schedulingapplet.builder.MapBuilderGeoTools$3.construct( MapBuilderGeoTools.java:289 )
at gov.faa.infra.foms.web.schedulingapplet.util.SwingWorker$2.run( SwingWorker.java:107 )
at java.lang.Thread.run( Thread.java:534 )
Caused by: java.io.IOException : org.xml.sax.SAXException : Could not find element handler for http://www.opengis.net/gml : Point as a child of GeometryAssociationType.
at org.geotools.xml.gml.FCBuffer.hasNext( FCBuffer.java:304 )
at org.geotools.data.wfs.WFSFeatureReader.loadElement( WFSFeatureReader.java:164 )
at org.geotools.data.wfs.WFSFeatureReader.hasNext( WFSFeatureReader.java:153 )
at org.geotools.data.wfs.WFSDataStore.getFeatureReader( WFSDataStore.java:763 )
at org.geotools.data.wfs.WFSFeatureSource$WFSFeatureResults.reader( WFSFeatureSource.java:168 )
at org.geotools.data.store.DataFeatureCollection.iterator( DataFeatureCollection.java:193 )
at org.geotools.feature.FeatureIterator.<init>( FeatureIterator.java:42 )
at org.geotools.data.store.DataFeatureCollection.features( DataFeatureCollection.java:174 )
at gov.faa.infra.foms.web.schedulingapplet.geomap.TransformData.changeProjection( TransformData.java:53 )
... 3 more
Caused by: org.xml.sax.SAXException : Could not find element handler for http://www.opengis.net/gml : Point as a child of GeometryAssociationType.
at org.geotools.xml.XMLSAXHandler.startElement( XMLSAXHandler.java:333 )
at org.apache.crimson.parser.Parser2.maybeElement( Parser2.java:1672 )
at org.apache.crimson.parser.Parser2.content( Parser2.java:1963 )
at org.apache.crimson.parser.Parser2.maybeElement( Parser2.java:1691 )
at org.apache.crimson.parser.Parser2.content( Parser2.java:1963 )
at org.apache.crimson.parser.Parser2.maybeElement( Parser2.java:1691 )
at org.apache.crimson.parser.Parser2.content( Parser2.java:1963 )
at org.apache.crimson.parser.Parser2.maybeElement( Parser2.java:1691 )
at org.apache.crimson.parser.Parser2.content( Parser2.java:1963 )
at org.apache.crimson.parser.Parser2.maybeElement( Parser2.java:1691 )
at org.apache.crimson.parser.Parser2.parseInternal( Parser2.java:667 )
at org.apache.crimson.parser.Parser2.parse( Parser2.java:337 )
at org.apache.crimson.parser.XMLReaderImpl.parse( XMLReaderImpl.java:448 )
at javax.xml.parsers.SAXParser.parse( SAXParser.java:345 )
at javax.xml.parsers.SAXParser.parse( SAXParser.java:143 )
at org.geotools.xml.DocumentFactory.getInstance( DocumentFactory.java:139 )
at org.geotools.data.wfs.WFSFeatureReader.run( WFSFeatureReader.java:123 )
********* end of Exception info ******
Josh Moore
Information Engineer
Titan
ph: 405-954-4314 ext. 4314
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org