Uploaded image for project: 'GeoServer'
  1. GEOS-7704

WCS 2.0 Range Subsetting POST requests fails with NullPointerException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.9.1
    • Fix Version/s: 2.10.4, 2.11.1
    • Component/s: WCS
    • Labels:
      None
    • Environment:

      JDK 8, Linux

      Description

      WCS 2.0 Range Subsetting POST requests fails with NullPointerException

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

      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.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                aaime Andrea Aime
                Reporter:
                torstenh Torsten
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: