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

WPS fails if geometry column is named "location"

    Details

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

      Description

      WPS tasks that result in a FeatureCollection of the specified type (such as gs:Nearest) fail with a NullPointerException if the geometry column is named "location".
      Our spatial DB is Postgres 9.1.4-3/PostGIS 2.6.6-2.2.
      Issuing a WPS "gs:Nearest" query against a layer with a geometry column named "location" results in the attached stacktrace.

      Workaround: Change the column name to anything else and refresh the layer.

        Attachments

          Activity

            People

            • Assignee:
              ianturton Ian Turton
              Reporter:
              harrison.grundy codehaus (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: