[Geoserver-devel] [jira] (GEOS-5663) WPS fails if geometry column is named "location"

Kevin Weiss created BugGEOS-5663
WPS fails if geometry column is named “location”

Issue Type:

BugBug

Affects Versions:

2.2.4

Assignee:

Andrea Aime

Attachments:

geoserver-wps.log

Components:

PostGIS, WPS

Created:

19/Feb/13 10:12 AM

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.

Environment:

CentOS 6.3, Tomcat 7, Geoserver 2.2.4 War

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Kevin Weiss

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)