Kick ass! :) It works in uDig now. I've tested Geoserver 1.7.5 and DM
Solutions demo mapserver. Thanks for the quick fix.
Jesse
On Thu, Jul 30, 2009 at 2:06 PM, Jesse Eichar
<[email protected]>wrote:
> THanks I will try it out right now
> Jesse
>
>
> On Thu, Jul 30, 2009 at 2:00 PM, Gabriel Roldan <[email protected]>wrote:
>
>> Hi Jesse,
>> as I suspected, the namespace URI were being set as the schemaLocation
>> instead of the DescribeFT URL.
>>
>> I've committed on trunk for http://jira.codehaus.org/browse/GEOT-2640.
>> Tell me when you have a chance to try it out. You'll have to build gt-wfs
>> and update it on udig.
>>
>> Cheers,
>> Gabriel
>>
>> Jesse Eichar wrote:
>>
>>> Yes I got the exception in uDig. I am just letting you know how to setup
>>> the environment that I used. I was using uDig trunk straight from the repo.
>>>
>>> Jesse
>>>
>>> On Thu, Jul 30, 2009 at 12:57 PM, Gabriel Roldan
>>> <[email protected]<mailto:
>>> [email protected]>> wrote:
>>>
>>> But you got the exception in udig right?
>>>
>>> Jesse Eichar wrote:
>>>
>>> Hi Grabriel, The Geoserver I used was directly downloaded and
>>> started. Absolutely no configuration done at all. Just the
>>> default geoserver 1.7.5
>>>
>>> Jesse
>>>
>>> On Thu, Jul 30, 2009 at 12:05 PM, Gabriel Roldan
>>> <[email protected] <mailto:[email protected]>
>>> <mailto:[email protected] <mailto:[email protected]>>> wrote:
>>>
>>> I've seen that before. Guess it's a bug in the WFS datastore,
>>> like
>>> it's setting the namespace URI as the FT schema location...
>>> I'll
>>> take a look and get back to you
>>>
>>> Jesse Eichar wrote:
>>>
>>> I tried uDig trunk out today and when I tried to load a
>>> geoserver 1.7.5 WFS layer I got the exception listed
>>> below. I
>>> see a couple areas where things couple go wrong:
>>>
>>> 1. Incorrect use of StreamingRenderer. No changes has
>>> taken
>>> place in the use of the streaming renderer as far as I
>>> know.
>>> Maybe some options were added that are required?
>>> 2. Incorrect parameters for the WFS datastore. My
>>> params are:
>>> {WFSDataaStoreFactory:PROTOCOL=null,
>>> WFSDataStoreFactory:GET_CAPABILITIES_URL=
>>> http://localhost:8080/geoserver/wfs?VERSION=1.0.0&REQUEST=GetCapabilities&SERVICE=WFS&
>>> <
>>> http://localhost:8080/geoserver/wfs?VERSION=1.0.0&REQUEST=GetCapabilities&SERVICE=WFS&
>>> >
>>> <
>>> http://localhost:8080/geoserver/wfs?VERSION=1.0.0&REQUEST=GetCapabilities&SERVICE=WFS&
>>> <
>>> http://localhost:8080/geoserver/wfs?VERSION=1.0.0&REQUEST=GetCapabilities&SERVICE=WFS&
>>> >>
>>> <
>>> http://localhost:8080/geoserver/wfs?VERSION=1.0.0&REQUEST=GetCapabilities&SERVICE=WFS&
>>> <
>>> http://localhost:8080/geoserver/wfs?VERSION=1.0.0&REQUEST=GetCapabilities&SERVICE=WFS&
>>> >
>>> <
>>> http://localhost:8080/geoserver/wfs?VERSION=1.0.0&REQUEST=GetCapabilities&SERVICE=WFS&
>>> <
>>> http://localhost:8080/geoserver/wfs?VERSION=1.0.0&REQUEST=GetCapabilities&SERVICE=WFS&
>>> >>>,
>>> WFSDataStoreFactory:TRY_GZIP=true,
>>> WFSDataStoreFactory:LENIENT=true} 3. There is an error
>>> in
>>> WFSDatastore
>>>
>>>
>>> Any ideas if I am doing something wrong or if has been a
>>> regression in the WFSDatastore?
>>>
>>> Thanks,
>>>
>>> Jesse
>>>
>>> Exception is:
>>>
>>> java.lang.Exception: Error rendering feature
>>>
>>> at
>>>
>>> org.geotools.renderer.lite.StreamingRenderer.drawOptimized(StreamingRenderer.java:1815)
>>>
>>> at
>>>
>>> org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1725)
>>>
>>> at
>>>
>>> org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:670)
>>>
>>> at
>>>
>>> org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:502)
>>>
>>> at
>>>
>>> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.render(BasicFeatureRenderer.java:331)
>>>
>>> at
>>>
>>> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.render(BasicFeatureRenderer.java:203)
>>>
>>> at
>>>
>>> net.refractions.udig.project.internal.render.impl.RenderJob.startRendering(RenderJob.java:108)
>>>
>>> at
>>>
>>> net.refractions.udig.project.internal.render.impl.RenderJob.run(RenderJob.java:213)
>>>
>>> at
>>> org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>
>>> Caused by: java.util.NoSuchElementException: Could not
>>> aquire
>>> feature:java.io.IOException: java.io.FileNotFoundException:
>>> http://openplans.org/spearfish
>>>
>>> at
>>>
>>> org.geotools.data.store.NoContentIterator.next(NoContentIterator.java:56)
>>>
>>> at
>>>
>>> org.geotools.data.store.NoContentIterator.next(NoContentIterator.java:41)
>>>
>>> at
>>>
>>> org.geotools.renderer.lite.StreamingRenderer.drawOptimized(StreamingRenderer.java:1807)
>>>
>>> ... 8 more
>>>
>>> Caused by: java.io.IOException:
>>> java.io.FileNotFoundException:
>>> http://openplans.org/spearfish
>>>
>>> at org.geotools.xml.gml.FCBuffer.hasNext(FCBuffer.java:326)
>>>
>>> at
>>>
>>> org.geotools.data.wfs.v1_0_0.WFSFeatureReader.loadElement(WFSFeatureReader.java:189)
>>>
>>> at
>>>
>>> org.geotools.data.wfs.v1_0_0.WFSFeatureReader.hasNext(WFSFeatureReader.java:178)
>>>
>>> at
>>>
>>> org.geotools.data.ReTypeFeatureReader.hasNext(ReTypeFeatureReader.java:192)
>>>
>>> at
>>>
>>> org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy.createFeatureReaderGET(NonStrictWFSStrategy.java:134)
>>>
>>> at
>>>
>>> org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy.createFeatureReader(NonStrictWFSStrategy.java:101)
>>>
>>> at
>>>
>>> org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy.getFeatureReader(NonStrictWFSStrategy.java:72)
>>>
>>> at
>>>
>>> org.geotools.data.wfs.v1_0_0.WFS_1_0_0_DataStore.getFeatureReader(WFS_1_0_0_DataStore.java:729)
>>>
>>> at
>>>
>>> org.geotools.data.DefaultFeatureResults.reader(DefaultFeatureResults.java:210)
>>>
>>> at
>>>
>>> org.geotools.data.store.DataFeatureCollection.openIterator(DataFeatureCollection.java:229)
>>>
>>> at
>>>
>>> org.geotools.data.store.DataFeatureCollection.iterator(DataFeatureCollection.java:199)
>>>
>>> at
>>>
>>> org.geotools.renderer.lite.StreamingRenderer.drawOptimized(StreamingRenderer.java:1791)
>>>
>>> ... 8 more
>>>
>>> Caused by: java.io.FileNotFoundException:
>>> http://openplans.org/spearfish
>>>
>>> at
>>>
>>> org.geotools.xml.SchemaFactory.getRealInstance(SchemaFactory.java:319)
>>>
>>> at
>>>
>>> org.geotools.xml.SchemaFactory.getInstance(SchemaFactory.java:277)
>>>
>>> at
>>>
>>> org.geotools.xml.handlers.ElementHandlerFactory.startPrefixMapping(ElementHandlerFactory.java:86)
>>>
>>> at
>>>
>>> org.geotools.xml.XMLSAXHandler.startElement(XMLSAXHandler.java:359)
>>>
>>> at
>>>
>>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
>>> Source)
>>>
>>> at
>>>
>>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>>> Source)
>>>
>>> at
>>>
>>> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
>>> Source)
>>>
>>> at
>>>
>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>>> Source)
>>>
>>> at
>>>
>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>> Source)
>>>
>>> at
>>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> Source)
>>>
>>> at
>>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> Source)
>>>
>>> at org.apache.xerces.parsers.XMLParser.parse(Unknown
>>> Source)
>>>
>>> at
>>> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>>>
>>> at
>>>
>>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
>>> Source)
>>>
>>> at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown
>>> Source)
>>>
>>> at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
>>>
>>> at
>>>
>>> org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)
>>>
>>> at
>>>
>>> org.geotools.data.wfs.v1_0_0.WFSFeatureReader.run(WFSFeatureReader.java:125)
>>>
>>> Caused by: java.io.FileNotFoundException:
>>> http://openplans.org/spearfish
>>>
>>> at
>>>
>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1185)
>>>
>>> at
>>>
>>> org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
>>> Source)
>>>
>>> at
>>>
>>> org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
>>> Source)
>>>
>>> at
>>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> Source)
>>>
>>> at
>>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> Source)
>>>
>>> at org.apache.xerces.parsers.XMLParser.parse(Unknown
>>> Source)
>>>
>>> at
>>> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>>>
>>> at
>>>
>>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
>>> Source)
>>>
>>> at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown
>>> Source)
>>>
>>> at javax.xml.parsers.SAXParser.parse(SAXParser.java:255)
>>>
>>> at
>>>
>>> org.geotools.xml.SchemaFactory.getRealInstance(SchemaFactory.java:317)
>>>
>>> ... 17 more
>>>
>>> net.refractions.udig.project.render.RenderException:
>>> Problem
>>> rendering: Error rendering feature
>>>
>>> at
>>>
>>> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.render(BasicFeatureRenderer.java:359)
>>>
>>> at
>>>
>>> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.render(BasicFeatureRenderer.java:203)
>>>
>>> at
>>>
>>> net.refractions.udig.project.internal.render.impl.RenderJob.startRendering(RenderJob.java:108)
>>>
>>> at
>>>
>>> net.refractions.udig.project.internal.render.impl.RenderJob.run(RenderJob.java:213)
>>>
>>> at
>>> org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>
>>> Caused by: java.lang.Exception: Error rendering feature
>>>
>>> at
>>>
>>> org.geotools.renderer.lite.StreamingRenderer.drawOptimized(StreamingRenderer.java:1815)
>>>
>>> at
>>>
>>> org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1725)
>>>
>>> at
>>>
>>> org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:670)
>>>
>>> at
>>>
>>> org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:502)
>>>
>>> at
>>>
>>> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.render(BasicFeatureRenderer.java:331)
>>>
>>> ... 4 more
>>>
>>> Caused by: java.util.NoSuchElementException: Could not
>>> aquire
>>> feature:java.io.IOException: java.io.FileNotFoundException:
>>> http://openplans.org/spearfish
>>>
>>> at
>>>
>>> org.geotools.data.store.NoContentIterator.next(NoContentIterator.java:56)
>>>
>>> at
>>>
>>> org.geotools.data.store.NoContentIterator.next(NoContentIterator.java:41)
>>>
>>> at
>>>
>>> org.geotools.renderer.lite.StreamingRenderer.drawOptimized(StreamingRenderer.java:1807)
>>>
>>> ... 8 more
>>>
>>> Caused by: java.io.IOException:
>>> java.io.FileNotFoundException:
>>> http://openplans.org/spearfish
>>>
>>> at org.geotools.xml.gml.FCBuffer.hasNext(FCBuffer.java:326)
>>>
>>> at
>>>
>>> org.geotools.data.wfs.v1_0_0.WFSFeatureReader.loadElement(WFSFeatureReader.java:189)
>>>
>>> at
>>>
>>> org.geotools.data.wfs.v1_0_0.WFSFeatureReader.hasNext(WFSFeatureReader.java:178)
>>>
>>> at
>>>
>>> org.geotools.data.ReTypeFeatureReader.hasNext(ReTypeFeatureReader.java:192)
>>>
>>> at
>>>
>>> org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy.createFeatureReaderGET(NonStrictWFSStrategy.java:134)
>>>
>>> at
>>>
>>> org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy.createFeatureReader(NonStrictWFSStrategy.java:101)
>>>
>>> at
>>>
>>> org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy.getFeatureReader(NonStrictWFSStrategy.java:72)
>>>
>>> at
>>>
>>> org.geotools.data.wfs.v1_0_0.WFS_1_0_0_DataStore.getFeatureReader(WFS_1_0_0_DataStore.java:729)
>>>
>>> at
>>>
>>> org.geotools.data.DefaultFeatureResults.reader(DefaultFeatureResults.java:210)
>>>
>>> at
>>>
>>> org.geotools.data.store.DataFeatureCollection.openIterator(DataFeatureCollection.java:229)
>>>
>>> at
>>>
>>> org.geotools.data.store.DataFeatureCollection.iterator(DataFeatureCollection.java:199)
>>>
>>> at
>>>
>>> org.geotools.renderer.lite.StreamingRenderer.drawOptimized(StreamingRenderer.java:1791)
>>>
>>> ... 8 more
>>>
>>> Caused by: java.io.FileNotFoundException:
>>> http://openplans.org/spearfish
>>>
>>> at
>>>
>>> org.geotools.xml.SchemaFactory.getRealInstance(SchemaFactory.java:319)
>>>
>>> at
>>>
>>> org.geotools.xml.SchemaFactory.getInstance(SchemaFactory.java:277)
>>>
>>> at
>>>
>>> org.geotools.xml.handlers.ElementHandlerFactory.startPrefixMapping(ElementHandlerFactory.java:86)
>>>
>>> at
>>>
>>> org.geotools.xml.XMLSAXHandler.startElement(XMLSAXHandler.java:359)
>>>
>>> at
>>>
>>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
>>> Source)
>>>
>>> at
>>>
>>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>>> Source)
>>>
>>> at
>>>
>>> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
>>> Source)
>>>
>>> at
>>>
>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>>> Source)
>>>
>>> at
>>>
>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>> Source)
>>>
>>> at
>>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> Source)
>>>
>>> at
>>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> Source)
>>>
>>> at org.apache.xerces.parsers.XMLParser.parse(Unknown
>>> Source)
>>>
>>> at
>>> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>>>
>>> at
>>>
>>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
>>> Source)
>>>
>>> at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown
>>> Source)
>>>
>>> at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
>>>
>>> at
>>>
>>> org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)
>>>
>>> at
>>>
>>> org.geotools.data.wfs.v1_0_0.WFSFeatureReader.run(WFSFeatureReader.java:125)
>>>
>>> Caused by: java.io.FileNotFoundException:
>>> http://openplans.org/spearfish
>>>
>>> at
>>>
>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1185)
>>>
>>> at
>>>
>>> org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
>>> Source)
>>>
>>> at
>>>
>>> org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
>>> Source)
>>>
>>> at
>>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> Source)
>>>
>>> at
>>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> Source)
>>>
>>> at org.apache.xerces.parsers.XMLParser.parse(Unknown
>>> Source)
>>>
>>> at
>>> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>>>
>>> at
>>>
>>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
>>> Source)
>>>
>>> at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown
>>> Source)
>>>
>>> at javax.xml.parsers.SAXParser.parse(SAXParser.java:255)
>>>
>>> at
>>>
>>> org.geotools.xml.SchemaFactory.getRealInstance(SchemaFactory.java:317)
>>>
>>> ... 17 more
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal
>>> Reports
>>> 2008 30-Day trial. Simplify your report design,
>>> integration and
>>> deployment - and focus on what you do best, core
>>> application
>>> coding. Discover what's new with Crystal Reports now.
>>> http://p.sf.net/sfu/bobj-july
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Geotools-devel mailing list
>>> [email protected]
>>> <mailto:[email protected]>
>>> <mailto:[email protected]
>>> <mailto:[email protected]>>
>>>
>>>
>>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel