I have 2 Geoservers - both running version 2.0.2 on Windows.

I have set up a WFS Data Store on Geoserver #1, and connect to Geoserver #2.

In the 'Layer Preview' I try to create an Open Layers map of the data in a
particular layer within the WFS Data Store.

When the URL in the WFS Data Store is *
http://maitdevgi:8080/geoserver/wfs?service=WFS&version=1.0.0&request=GetCapabilities
* I have success - the map appears.

The log file on Geoserver #2 shows the following ...

2011-01-05 11:20:40,096 INFO [geoserver.wfs] -
Request: getServiceInfo
2011-01-05 11:20:40,127 INFO [geoserver.wfs] -
Request: getFeature
    handle = null
    service = WFS
    version = 1.0.0
    baseUrl = http://maitdevgi:8080/geoserver/
    providedVersion = null
    query = [net.opengis.wfs.impl.querytypei...@9b33a1 (group: null,
propertyName: [geom], function: null,
filter: [ geom bbox POLYGON ((134.39203125 -42.3506484375, 134.39203125
-23.0633515625, 160.23996874999997 -23.0633515625, 160.23996874999997
-42.3506484375, 134.39203125 -42.3506484375)) ],
 sortBy: null, featureVersion: null, handle: liteRenderer, srsName: null,
 typeName: [{
http://www.dpi.nsw.gov.au/minerals/geological}MIV_Occurrence_PG])]
    maxFeatures = null
    outputFormat = GML2
    resultType = results
    traverseXlinkDepth = null
    traverseXlinkExpiry = null
    formatOptions = {}

When the URL in the WFS Data Store is *
http://maitdevgi:8080/geoserver/wfs?service=WFS&request=GetCapabilities* or
*
http://maitdevgi:8080/geoserver/wfs?service=WFS&request=GetCapabilities&version=1.1.0
* this fails.

The log file on Geoserver #2 now shows the following ...

2011-01-05 11:29:23,818 WARN [geoserver.ows] - Unable to parse filter:
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"; xmlns:gml="
http://www.opengis.net/gml";>
<ogc:BBOX><ogc:PropertyName>geom</ogc:PropertyName>
<gml:Box><gml:coord><gml:X>134.39203125</gml:X><gml:Y>-42.3506484375</gml:Y></gml:coord>
<gml:coord><gml:X>160.23996874999997</gml:X><gml:Y>-23.0633515625</gml:Y></gml:coord></gml:Box>
</ogc:BBOX></ogc:Filter>

java.lang.RuntimeException: Parsing failed for BBOX:
java.lang.NullPointerException
    at org.geotools.xml.impl.ParseExecutor.visit(ParseExecutor.java:158)
    at
org.geotools.xml.impl.BindingWalker$BindingExecutionChain.execute(BindingWalker.java:215)
    at org.geotools.xml.impl.BindingWalker.walk(BindingWalker.java:181)

Can anyone assist me?

Regards,
David
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to