[Geoserver-users] [Geotools-gt2-users] WFSDemo does not work with some of the data

When i make getFeature request to shp layer, the response from server is fine. But, when I make request postgres layer created from this shp file the response is like this:

<ows:ExceptionReport version=“1.0.0” xsi:schemaLocation=“http://www.opengis.net/ows http://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd”>

<ows:Exception exceptionCode=“NoApplicableCode”>
ows:ExceptionTextjava.lang.NullPointerException
null</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

This happens also when I make request to some other shp layers.
do you have any idea, where the problem might be?

Cheers

Kuba

On Thu, Jul 29, 2010 at 3:47 PM, Jody Garnett <jody.garnett@anonymised.com> wrote:

GeoServer also has a “demo request” page where you can issue the requests yourself and look at the result.
Jody

On 29/07/2010, at 7:31 PM, Roy Braam wrote:

Jakub,

Can you check the network activity between geotools and the wfs server? Most of the times it helps to understand the problem.

Roy


From: Jakub Rojek [mailto:kuba.rojek@anonymised.com]
To: GeoTools [mailto:geotools-gt2-users@anonymised.com.net]
Sent: Thu, 29 Jul 2010 11:01:42 +0200
Subject: [Geotools-gt2-users] WFSDemo does not work with some of the data

Hi!

I was trying out WFS demo available on GeoTools User Guide Wiki web site http://docs.codehaus.org/display/GEOTDOC/WFS+Plugin.
The problem is that it works only with some of the data. Mostly with those that come along with Geoserver instalation. The problem appears when I use the demo on the data that are stored in POSTGIS data bank.
I realy do not know where is the problem. NetBeaans indicate that there is NullPoIntException in this code line:
FeatureReader ft = wfs.getFeatureReader(query, Transaction.AUTO_COMMIT);

this the whole error message that I get when I run the WFSDemo:

29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler processException
SCHWERWIEGEND: java.lang.NullPointerException
null org.geotools.xml.filter.FilterComplexTypes$ServiceExceptionType.getValue(FilterComplexTypes.java:1669)
org.geotools.xml.handlers.ComplexElementHandler.endElement(ComplexElementHandler.java:157)
org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:266)
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)
org.geotools.data.wfs.v1_0_0.WFSFeatureReader.run(WFSFeatureReader.java:125)

29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler endElement
WARNUNG: java.lang.NullPointerException
null
29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler endElement
WARNUNG: Line 10 Col 20
29.07.2010 10:56:31 org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy createFeatureReaderPOST
WARNUNG: java.io.IOException: org.geotools.ows.ServiceException: java.lang.NullPointerException
null
29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler processException
SCHWERWIEGEND: java.lang.NullPointerException
null org.geotools.xml.filter.FilterComplexTypes$ServiceExceptionType.getValue(FilterComplexTypes.java:1669)
org.geotools.xml.handlers.ComplexElementHandler.endElement(ComplexElementHandler.java:157)
org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:266)
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)
org.geotools.data.wfs.v1_0_0.WFSFeatureReader.run(WFSFeatureReader.java:125)

29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler endElement
WARNUNG: java.lang.NullPointerException
null
29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler endElement
WARNUNG: Line 10 Col 20
29.07.2010 10:56:31 org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy createFeatureReaderGET
WARNUNG: java.io.IOException: org.geotools.ows.ServiceException: java.lang.NullPointerException
null
Exception in thread “main” java.io.IOException: org.geotools.ows.ServiceException: java.lang.NullPointerException
null
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.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:747)
at iosb.fraunhofer.de.geotools.WFSDemo.main(WFSDemo.java:51)
Caused by: org.geotools.ows.ServiceException: java.lang.NullPointerException
null
at org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:274)
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 javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
at org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)
at org.geotools.data.wfs.v1_0_0.WFSFeatureReader.run(WFSFeatureReader.java:125)
Caused by: org.geotools.ows.ServiceException: java.lang.NullPointerException
null
at org.geotools.xml.filter.FilterComplexTypes$ServiceExceptionType.getValue(FilterComplexTypes.java:1669)
at org.geotools.xml.handlers.ComplexElementHandler.endElement(ComplexElementHandler.java:157)
at org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:266)
… 13 more
Java Result: 1


The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:

http://p.sf.net/sfu/dev2dev-palm_______________________________________________

Geotools-gt2-users mailing list

Geotools-gt2-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

It looks like a java error in your server, the server is returning a ServiceExceptionReport maybe you can look at the logs of the server? It could be some unexpected corrupt data?

Roy


From: Jakub Rojek [mailto:kuba.rojek@anonymised.com]
To: Jody Garnett [mailto:jody.garnett@anonymised.com], GeoServer [mailto:geoserver-users@lists.sourceforge.net]
Sent: Thu, 29 Jul 2010 16:36:10 +0200
Subject: Re: [Geoserver-users] [Geotools-gt2-users] WFSDemo does not work with some of the data

When i make getFeature request to shp layer, the response from server is fine. But, when I make request postgres layer created from this shp file the response is like this:

<ows:ExceptionReport version=“1.0.0” xsi:schemaLocation=“http://www.opengis.net/ows http://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd”>

<ows:Exception exceptionCode=“NoApplicableCode”>
ows:ExceptionTextjava.lang.NullPointerException
null</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

This happens also when I make request to some other shp layers.
do you have any idea, where the problem might be?

Cheers

Kuba

On Thu, Jul 29, 2010 at 3:47 PM, Jody Garnett <jody.garnett@anonymised.com> wrote:

GeoServer also has a “demo request” page where you can issue the requests yourself and look at the result.
Jody

On 29/07/2010, at 7:31 PM, Roy Braam wrote:

Jakub,

Can you check the network activity between geotools and the wfs server? Most of the times it helps to understand the problem.

Roy


From: Jakub Rojek [mailto:kuba.rojek@anonymised.com]
To: GeoTools [mailto:geotools-gt2-users@lists.sourceforge.net]
Sent: Thu, 29 Jul 2010 11:01:42 +0200
Subject: [Geotools-gt2-users] WFSDemo does not work with some of the data

Hi!

I was trying out WFS demo available on GeoTools User Guide Wiki web site http://docs.codehaus.org/display/GEOTDOC/WFS+Plugin.
The problem is that it works only with some of the data. Mostly with those that come along with Geoserver instalation. The problem appears when I use the demo on the data that are stored in POSTGIS data bank.
I realy do not know where is the problem. NetBeaans indicate that there is NullPoIntException in this code line:
FeatureReader ft = wfs.getFeatureReader(query, Transaction.AUTO_COMMIT);

this the whole error message that I get when I run the WFSDemo:

29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler processException
SCHWERWIEGEND: java.lang.NullPointerException
null org.geotools.xml.filter.FilterComplexTypes$ServiceExceptionType.getValue(FilterComplexTypes.java:1669)
org.geotools.xml.handlers.ComplexElementHandler.endElement(ComplexElementHandler.java:157)
org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:266)
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)
org.geotools.data.wfs.v1_0_0.WFSFeatureReader.run(WFSFeatureReader.java:125)

29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler endElement
WARNUNG: java.lang.NullPointerException
null
29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler endElement
WARNUNG: Line 10 Col 20
29.07.2010 10:56:31 org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy createFeatureReaderPOST
WARNUNG: java.io.IOException: org.geotools.ows.ServiceException: java.lang.NullPointerException
null
29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler processException
SCHWERWIEGEND: java.lang.NullPointerException
null org.geotools.xml.filter.FilterComplexTypes$ServiceExceptionType.getValue(FilterComplexTypes.java:1669)
org.geotools.xml.handlers.ComplexElementHandler.endElement(ComplexElementHandler.java:157)
org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:266)
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)
org.geotools.data.wfs.v1_0_0.WFSFeatureReader.run(WFSFeatureReader.java:125)

29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler endElement
WARNUNG: java.lang.NullPointerException
null
29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler endElement
WARNUNG: Line 10 Col 20
29.07.2010 10:56:31 org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy createFeatureReaderGET
WARNUNG: java.io.IOException: org.geotools.ows.ServiceException: java.lang.NullPointerException
null
Exception in thread “main” java.io.IOException: org.geotools.ows.ServiceException: java.lang.NullPointerException
null
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.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:747)
at iosb.fraunhofer.de.geotools.WFSDemo.main(WFSDemo.java:51)
Caused by: org.geotools.ows.ServiceException: java.lang.NullPointerException
null
at org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:274)
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 javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
at org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)
at org.geotools.data.wfs.v1_0_0.WFSFeatureReader.run(WFSFeatureReader.java:125)
Caused by: org.geotools.ows.ServiceException: java.lang.NullPointerException
null
at org.geotools.xml.filter.FilterComplexTypes$ServiceExceptionType.getValue(FilterComplexTypes.java:1669)
at org.geotools.xml.handlers.ComplexElementHandler.endElement(ComplexElementHandler.java:157)
at org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:266)
… 13 more
Java Result: 1


The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:

http://p.sf.net/sfu/dev2dev-palm_______________________________________________

Geotools-gt2-users mailing list

Geotools-gt2-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Sounds like a configuration problem; you can set up geoserver to have
more information in the response; or check the geoserver logs.

On Fri, Jul 30, 2010 at 12:36 AM, Jakub Rojek <kuba.rojek@anonymised.com> wrote:

When i make getFeature request to shp layer, the response from server is
fine. But, when I make request postgres layer created from this shp file the
response is like this:

<ows:ExceptionReport version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows
http://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd&quot;&gt;
-
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>java.lang.NullPointerException
null</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

This happens also when I make request to some other shp layers.
do you have any idea, where the problem might be?

Cheers

Kuba

On Thu, Jul 29, 2010 at 3:47 PM, Jody Garnett <jody.garnett@anonymised.com>
wrote:

GeoServer also has a "demo request" page where you can issue the requests
yourself and look at the result.
Jody
On 29/07/2010, at 7:31 PM, Roy Braam wrote:

Jakub,

Can you check the network activity between geotools and the wfs server?
Most of the times it helps to understand the problem.

Roy

________________________________
From: Jakub Rojek [mailto:kuba.rojek@anonymised.com]
To: GeoTools [mailto:geotools-gt2-users@lists.sourceforge.net]
Sent: Thu, 29 Jul 2010 11:01:42 +0200
Subject: [Geotools-gt2-users] WFSDemo does not work with some of the data

Hi!

I was trying out WFS demo available on GeoTools User Guide Wiki web
site http://docs.codehaus.org/display/GEOTDOC/WFS+Plugin.
The problem is that it works only with some of the data. Mostly with those
that come along with Geoserver instalation. The problem appears when I use
the demo on the data that are stored in POSTGIS data bank.
I realy do not know where is the problem. NetBeaans indicate that there is
NullPoIntException in this code line:
    FeatureReader ft = wfs.getFeatureReader(query,
Transaction.AUTO_COMMIT);

this the whole error message that I get when I run the WFSDemo:

29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler processException
SCHWERWIEGEND: java.lang.NullPointerException
null
org.geotools.xml.filter.FilterComplexTypes$ServiceExceptionType.getValue(FilterComplexTypes.java:1669)

org.geotools.xml.handlers.ComplexElementHandler.endElement(ComplexElementHandler.java:157)
    org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:266)
    org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
    org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
    javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
    javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
    org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)

org.geotools.data.wfs.v1_0_0.WFSFeatureReader.run(WFSFeatureReader.java:125)

29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler endElement
WARNUNG: java.lang.NullPointerException
null
29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler endElement
WARNUNG: Line 10 Col 20
29.07.2010 10:56:31 org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy
createFeatureReaderPOST
WARNUNG: java.io.IOException: org.geotools.ows.ServiceException:
java.lang.NullPointerException
null
29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler processException
SCHWERWIEGEND: java.lang.NullPointerException
null
org.geotools.xml.filter.FilterComplexTypes$ServiceExceptionType.getValue(FilterComplexTypes.java:1669)

org.geotools.xml.handlers.ComplexElementHandler.endElement(ComplexElementHandler.java:157)
    org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:266)
    org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
    org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
    javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
    javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
    org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)

org.geotools.data.wfs.v1_0_0.WFSFeatureReader.run(WFSFeatureReader.java:125)

29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler endElement
WARNUNG: java.lang.NullPointerException
null
29.07.2010 10:56:31 org.geotools.xml.XMLSAXHandler endElement
WARNUNG: Line 10 Col 20
29.07.2010 10:56:31 org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy
createFeatureReaderGET
WARNUNG: java.io.IOException: org.geotools.ows.ServiceException:
java.lang.NullPointerException
null
Exception in thread "main" java.io.IOException:
org.geotools.ows.ServiceException: java.lang.NullPointerException
null
        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.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:747)
        at iosb.fraunhofer.de.geotools.WFSDemo.main(WFSDemo.java:51)
Caused by: org.geotools.ows.ServiceException:
java.lang.NullPointerException
null
        at
org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:274)
        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 javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
        at
org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)
        at
org.geotools.data.wfs.v1_0_0.WFSFeatureReader.run(WFSFeatureReader.java:125)
Caused by: org.geotools.ows.ServiceException:
java.lang.NullPointerException
null
        at
org.geotools.xml.filter.FilterComplexTypes$ServiceExceptionType.getValue(FilterComplexTypes.java:1669)
        at
org.geotools.xml.handlers.ComplexElementHandler.endElement(ComplexElementHandler.java:157)
        at
org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:266)
        ... 13 more
Java Result: 1

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:

Best Open Source Mac Front-Ends 2024
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
geotools-gt2-users List Signup and Options