On Thu, Jul 7, 2011 at 5:32 PM, Antonio Parrotta
<[email protected]>wrote:
> Hi,
>
> we have a postgres layer where
> if sending the request below
>
> <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="redat:dballcat2011"><ogc:Filter xmlns:ogc="
> http://www.opengis.net/ogc"><ogc:BBOX><gml:Box xmlns:gml="
> http://www.opengis.net/gml" srsName="EPSG:900913"><gml:coordinates
> decimal="." cs="," ts=" ">897034.17044511,5664461.9343212
> 900550.27374574,5668130.9116784</gml:coordinates></gml:Box></ogc:BBOX></ogc:Filter></wfs:Query></wfs:GetFeature>
>
> the response is:
>
> <?xml version="1.0" ?>
> <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>
>
> everything works as expected with shx layers.
>
> any idea? thanks a lot
>
Impossible to say, the report cannot be debugged like this. Please:
- enable verbose exception reporting in the "server" panel
- execute the request again, this time the response should contain
a very long response, provide it all
- don't forget to report geoserver version, OS and JDK in use
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users