Uploaded image for project: 'GeoServer'
  1. GeoServer
  2. GEOS-7882

GeoServer Module status endpoint: NPE for custom GDAL

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.1, 2.11-beta
    • Component/s: REST
    • Labels:
      None

      Description

      When using a custom built version of GDAL, trying to GET the module status endpoint (about/status results in a NPE:

      Caused by: java.lang.NullPointerException: null
          at org.geoserver.gdal.GDALStatus.getGDALWrapperJarVersion(GDALStatus.java:73) ~[gs-gdal-2.10.0.jar!/:2.10.0]
          at org.geoserver.gdal.GDALStatus.getMessage(GDALStatus.java:57) ~[gs-gdal-2.10.0.jar!/:2.10.0]
          at org.geoserver.platform.ModuleStatusImpl.<init>(ModuleStatusImpl.java:47) ~[gs-platform-2.10.0.jar!/:2.10.0]
      ...
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tbarsballe Torben Barsballe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: