Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] Too few children - error when adding geoserver wfs 1.1 data source

Hi,
I did watch the network interface when adding the wfs to uDig. It only fetches the capabilities document. I did validate the WFS 1.1 capabilities against it's schema and it looks ok. So I think tries to retrieve some hard coded xml elements which do not exist.

Martin

-------- Original-Nachricht --------
> Datum: Wed, 28 Oct 2009 09:53:16 +0100
> Von: "Martin Kofahl" <M.Kofahl@xxxxxxx>
> An: udig-users@xxxxxxxxxxxxxxxxxxxxx
> Betreff: [udig-users] Too few children - error when adding geoserver wfs 1.1	data source

> Hi,
> not sure if this is an error with uDig or GeoServer. I did download the
> GeoServer 2.0.0a web archive and tried to add the WFS (included sample
> configuration & data) to udig. No problem with WFS 1.0. When using WFS 1.1
> (http://127.0.0.1:8080/geoserver/ows?service=wfs&version=1.1.0&request=GetCapabilities)
> there's an error thrown:
> 
> 
> !ENTRY net.refractions.udig.catalog.internal.wfs 4 0 2009-10-28
> 09:31:32.062
> !MESSAGE Encountered SAXException
> !STACK 0
> org.xml.sax.SAXException: Too few children
> 	at org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:256)
> 	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> 	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(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(Unknown Source)
> 	at org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)
> 	at
> org.geotools.data.wfs.WFSDataStore.findCapabilities(WFSDataStore.java:227)
> 	at org.geotools.data.wfs.WFSDataStore.<init>(WFSDataStore.java:201)
> 	at org.geotools.data.wfs.WFSDataStore.<init>(WFSDataStore.java:161)
> 	at
> net.refractions.udig.catalog.internal.wfs.UDIGWFSDataStoreFactory$UDIGWFSDataStore.<init>(Unknown Source)
> 	at
> net.refractions.udig.catalog.internal.wfs.UDIGWFSDataStoreFactory.createNewDataStore(Unknown Source)
> 	at
> org.geotools.data.wfs.WFSDataStoreFactory.createDataStore(WFSDataStoreFactory.java:132)
> 	at net.refractions.udig.catalog.internal.wfs.WFSServiceImpl.getDS(Unknown
> Source)
> 	at
> net.refractions.udig.catalog.internal.wfs.WFSServiceImpl.resources(Unknown Source)
> 	at
> net.refractions.udig.catalog.ui.workflow.EndConnectionState.run(Unknown Source)
> 	at net.refractions.udig.catalog.ui.workflow.Workflow.next(Unknown Source)
> 	at
> net.refractions.udig.catalog.ui.workflow.WorkflowWizardDialog$1.run(Unknown Source)
> 	at
> net.refractions.udig.catalog.ui.workflow.WorkflowWizardDialog$2.run(Unknown Source)
> 	at net.refractions.udig.ui.PlatformGIS$1.call(Unknown Source)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
> 	at java.util.concurrent.FutureTask.run(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> 	at java.lang.Thread.run(Unknown Source)
> Caused by: org.xml.sax.SAXException: Too few children
> 	at
> org.geotools.xml.wfs.WFSCapabilitiesComplexTypes$OperationsType.getValue(WFSCapabilitiesComplexTypes.java:476)
> 	at
> org.geotools.xml.handlers.ComplexElementHandler.endElement(ComplexElementHandler.java:185)
> 	at org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:249)
> 	... 30 more
> 
> 
> As this also happens with real data I'm pretty interested to find a
> solution.
> 
> Kind regards
> Martin
> _______________________________________________
> udig-users mailing list
> udig-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.refractions.net/mailman/listinfo/udig-users


Back to the top