NPE thrown when FeatureTypeList has no Operations element

Description

i am testing the WFS-NG module (13.0) against the Deegree reference implementation (http://cite.lat-lon.de/deegree-webservices-3.3.6/services/wfs110) and getting the following NPE:

java.lang.NullPointerException
at org.geotools.data.wfs.internal.v1_x.StrictWFS_1_x_Strategy.supportsTransaction(StrictWFS_1_x_Strategy.java:378)
at org.geotools.data.wfs.internal.WFSClient.supportsTransaction(WFSClient.java:227)
at org.geotools.data.wfs.WFSDataStore.createFeatureSource(WFSDataStore.java:149)
at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:389)
at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:354)
at org.geotools.data.store.ContentDataStore.getSchema(ContentDataStore.java:338)

It looks like geotools is expecting an <Operations> element as child of the <FeatureTypeList> element, but this is not mandatory.

Environment

None

Assignee

Unassigned

Reporter

Jan De Moerloose

Triage

None

Components

Fix versions

Affects versions

Priority

Medium
Configure