Null pointer when doing a request against a galdos server
---------------------------------------------------------
Key: GEOS-1451
URL: http://jira.codehaus.org/browse/GEOS-1451
Project: GeoServer
Issue Type: Bug
Components: WMS
Affects Versions: 1.6.0-beta4
Reporter: Chris Holmes
Assignee: Andrea Aime
Priority: Critical
Fix For: 1.6.0-RC1
This may just be that our WFS datastore doesn't understand galdos's server. But I want to do a request like:
The SLD on artois is:
<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld"
xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">
<UserLayer>
<Name>LayerWithRemoteOWS</Name>
<RemoteOWS>
<Service>WFS</Service>
<OnlineResource xlink:href="http://ukmod.oracle.demo.galdosinc.com/wfs/http?"/>
</RemoteOWS>
<LayerFeatureConstraints>
<FeatureTypeConstraint>
<FeatureTypeName>aml:DepthArea</FeatureTypeName>
<!-- ogc:Filter>
<ogc:FeatureId fid="DepthArea.1"/>
</ogc:Filter -->
</FeatureTypeConstraint>
</LayerFeatureConstraints>
<UserStyle>
<Name>DefaultPolygon</Name>
<FeatureTypeStyle>
<Rule>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#3344EE</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#DDDDDD</CssParameter>
<CssParameter name="stroke-width">2</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</UserLayer>
</StyledLayerDescriptor>
I get a null pointer:
Caused by: java.lang.NullPointerException
at org.vfny.geoserver.global.MapLayerInfo.<init>(MapLayerInfo.java:129)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.addRemoteLayersFromUserLayer(GetMapKvpRequestReader.java:661)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.processStandaloneSld(GetMapKvpRequestReader.java:539)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.processSld(GetMapKvpRequestReader.java:414)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira