We're updating the issue view to help you get more done. 

WCS 2.0 Range Subsetting POST requests fails with NullPointerException

Description

WCS 2.0 Range Subsetting POST requests fails with NullPointerException

While trying to add POST demo requests (see ) some of them fail with a NullPointerException similar to:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 geoserver_1 | Request: getServiceInfo geoserver_1 | 27 Aug 15:08:39 INFO [wcs2_0.util] - Examining encoded name nurc__mosaic geoserver_1 | 27 Aug 15:08:39 INFO [wcs2_0.util] - Checking pair nurc : mosaic geoserver_1 | 27 Aug 15:08:39 INFO [wcs2_0.util] - - Namespace found nurc geoserver_1 | 27 Aug 15:08:39 INFO [wcs2_0.util] - - Collecting layer nurc:mosaic geoserver_1 | 27 Aug 15:08:39 ERROR [geoserver.ows] - geoserver_1 | org.geoserver.wcs2_0.exception.WCS20Exception: Failed to read the coverage nurc__mosaic geoserver_1 | at org.geoserver.wcs2_0.GetCoverage.run(GetCoverage.java:305) geoserver_1 | at org.geoserver.wcs2_0.DefaultWebCoverageService20.getCoverage(DefaultWebCoverageService20.java:138) ... geoserver_1 | Caused by: java.lang.NullPointerException geoserver_1 | at org.geoserver.wcs2_0.GetCoverage.handleRangeSubsettingExtension(GetCoverage.java:1305) geoserver_1 | at org.geoserver.wcs2_0.GetCoverage.setupCoverage(GetCoverage.java:359) geoserver_1 | at org.geoserver.wcs2_0.GetCoverage.run(GetCoverage.java:300) geoserver_1 | ... 109 more geoserver_1 | 27 Aug 15:08:39 WARN [geoserver.ows] - OWS20SEH: handling org.geoserver.wcs2_0.exception.WCS20Exception: Failed to read the coverage nurc__mosaic

The failed requests are attached to this issue.

Environment

JDK 8, Linux

Status

Assignee

Andrea Aime

Reporter

Torsten

Triage

Fix versions

Affects versions

2.9.1

Components

Priority

Medium