[Geoserver-devel] [JIRA] (GEOS-9335) WFS 2.0 Stored Queries return a not-managed NPE

Alessio Fabiani created an issue

GeoServer / BugGEOS-9335

WFS 2.0 Stored Queries return a not-managed NPE

Issue Type:

BugBug

Assignee:

Unassigned

Created:

17/Sep/19 11:54 AM

Priority:

MediumMedium

Reporter:

Alessio Fabiani

I recently tried to create a WFS stored query, defined as follows:

<?xml version="1.0" encoding="UTF-8"?> <wfs:StoredQueryDescription
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:fes="http://www.opengis.net/fes/2.0"
xmlns:wfs="http://www.opengis.net/wfs/2.0"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
id="riskDataStoredQuery">
<wfs:Title xml:lang="en">Stored Query for geonode:risk_analysis_data</wfs:Title>
<wfs:Parameter name="AreaOfInterest" type="gml:Polygon"/>
<wfs:QueryExpressionText
returnFeatureTypes=""
language="urn:ogc:def:queryLanguage:OGC-WFS::WFS_QueryExpression"
isPrivate="false">
<wfs:Query typeNames="">
<fes:Filter>
<fes:Within>
<fes:ValueReference>the_geom</fes:ValueReference>
$

{AreaOfInterest}

</fes:Within>
</fes:Filter>
</wfs:Query>
</wfs:QueryExpressionText>
</wfs:StoredQueryDescription>

Trying to invoke this by providing the “STOREDQUERY_ID” param to GeoServer, leads to a NullPointerException which is wrapped by the response but not tracked at all on the GeoServer logs.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100109-sha1:d720e51)

Atlassian logo