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. |