Hi,
could you please share the full stack trace? You can find it in the
GeoServer logs (accessible from the UI, if you don't have direct
access to the file system)

Cheers
Andrea


On Fri, Aug 15, 2014 at 2:53 PM, Thomas Colley <
[email protected]> wrote:

> Hi
>
>
>
> I’m suddenly getting an intermittent WFS error from Geoserver. WFS
> requests will work fine for a while and then seemingly without reason start
> returning a NullPointerException. If I log in to Geoserver and make a
> GetFeature request from the demo console that request works and that seems
> to fix the problem and all WFS will work until it breaks again. The demo
> request always fixes the problem.
>
>
>
> I am using Geoserver 2.5.2 deployed through Tomcat. I have tried deploying
> a separate instance of Geoserver (2.4.7) and if I point it at the same data
> dir it has the same error but using a separate data dir the WFS request
> will work.
>
>
>
> So I’m guessing it’s an issue with the data but I can’t imagine what. It
> affects any WFS requests and it doesn’t seem to be a request to a
> particular layer that triggers the problem.
>
>
>
> Any ideas on what might be happening would be greatly appreciated. Below
> is a sample request and the exception that is returned.
>
>
>
> Thanks
>
>
>
> Tom
>
>
>
> Sample request:
>
> <wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs
> " service="WFS" version="1.0.0" xsi:schemaLocation="
> http://www.opengis.net/wfs
> http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
>
> <wfs:Query typeName="feature:web_walks2" xmlns:feature="
> http://www.npt.gov.uk";></wfs:Query>
>
> </wfs:GetFeature>
>
>
>
> Error response:
>
> <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> java.lang.NullPointerException null </ServiceException>
>
> </ServiceExceptionReport>
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to