[Geoserver-devel] [jira] (GEOS-6056) [App-schema] Geometry mapping does not work

Rudy Commenge created BugGEOS-6056
[App-schema] Geometry mapping does not work

Issue Type:

BugBug

Affects Versions:

2.4.0

Assignee:

Rini Angreani

Components:

Application schema

Created:

26/Sep/13 10:44 AM

Description:

The following exception occurs when I try to map Geometry column into “gml:GeometryPropertyType” element :

Caused by: java.lang.IllegalArgumentException: Could not find working property accessor for attribute (GEOM) in object (SimpleFeatureImpl:MY_TABLE=[SimpleFeatureImpl.Attribute: FOREIGN_ID_0_0<String id=MY_TABLE.fid-44f4b6d5_1415ae40a25_-7ff9>=56, SimpleFeatureImpl.Attribute: FOREIGN_ID_1_0<String id=MY_TABLE.fid-44f4b6d5_1415ae40a25_-7ff9>=55])
	at org.geotools.filter.AttributeExpressionImpl.evaluate(AttributeExpressionImpl.java:268)
	at org.geotools.filter.AttributeExpressionImpl.evaluate(AttributeExpressionImpl.java:231)
	at org.geotools.data.complex.DataAccessMappingFeatureIterator.getValues(DataAccessMappingFeatureIterator.java:460)
	at org.geotools.data.complex.DataAccessMappingFeatureIterator.setAttributeValue(DataAccessMappingFeatureIterator.java:525)
	at org.geotools.data.complex.DataAccessMappingFeatureIterator.computeNext(DataAccessMappingFeatureIterator.java:1012)
	... 112 more
|#]

In the previous message, “GEOM” is the name of the Geometry column, and “MY_TABLE” is the name of the table.

Exactly the same workspace works with Geoserver-2.4RC1, but it doesn’t works with Geoserver-2.4.0.

Environment:

Oracle 11g,
Glassfish

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Rudy Commenge

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