[Geoserver-devel] User help request (looks like from demo)

Hi yyt wyy (quite the name):

You asked the following question by posting a news item on the geoserver wiki:

I write a complex http request accoding to wfs spec 1.0

http://localhost:8090/geoserver/wfs?request=GetFeature
&typename=topp:bc_roads
&FILTER=<Filter>
         <BBOX><PropertyName>the_geom</PropertyName>
               <gml:Box><gml:coordinates>489154,5433017,20505234,5448023</gml:coordinates></gml:Box>
         </BBOX>
       </Filter>

But i got a exception :

<?xml version="1.0" ?> <ServiceExceptionReport
version="1.2.0"
xmlns="http://www.opengis.net/ogc&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xsi:schemaLocation="http://www.opengis.net/ogc http://localhost:8090/geoserver/data/capabilities/wfs/1.0.0/OGC-exception.xsd&quot;&gt;
<ServiceException>java.lang.NullPointerException</ServiceException> </ServiceExceptionReport>

Can anybody tell me how this happen ,and how to writer a complex http request with fiter correctly

I have deleted this (a question is not news), and sent this email to the geoserver-devel list (questions are good for developers it keeps them honest).

I could not see anything obviously wrong with your sample request. If you go to the config ui and turn on logging we will be able to get a complete stack trace and be of further assistence.

I assume you got this message by running a demo query from the last geoserver 1.3.0-beta? What container did you use? As far as I know it has only been tried with jetty.

Jody