WFS 2.0 Stored Queries return a not-managed NPE

Description

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

<?xml version="1.0" encoding="UTF-8"?>
<wfs:StoredQueryDescription
xmlns:xsd="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="cql_filter" type="xsd:string"/>
<wfs:QueryExpressionText
returnFeatureTypes="geonode:risk_analysis_data"
language="urn:ogc:def:queryLanguage:OGC-WFS::WFSQueryExpression"
isPrivate="false">
<wfs:Query typeNames="geonode:risk_analysis_data"/>
</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.

Environment

None

Status

Assignee

Unassigned

Reporter

Alessio Fabiani

Triage

None

Fix versions

None

Affects versions

None

Priority

Medium
Configure