[Geoserver-devel] [JIRA] (GEOS-7244) java.lang.ClassCastException: java.util.ArrayList cannot be cast to org.opengis.feature.type.AttributeDescriptor

Darshan Lingegowda created an issue

GeoServer / BugGEOS-7244

java.lang.ClassCastException: java.util.ArrayList cannot be cast to org.opengis.feature.type.AttributeDescriptor

Issue Type:

BugBug

Affects Versions:

2.8.0

Assignee:

Unassigned

Attachments:

geoserver log file.txt

Components:

CSS, Imagemap, PostGIS, REST

Created:

14/Oct/15 2:10 PM

Environment:

Windows 7 Geoserver 2.8.0 Java jre1.8.0_60/jde1.8.0_60 Postgresql 9.4 http://download.geofabrik.de/europe/germany/berlin.html http://docs.geoserver.org/latest/en/user/_downloads/line_attributebasedline.sld

Labels:

SLD Render Tile

Priority:

HighHigh

Reporter:

Darshan Lingegowda

Original Estimate:

3 days

Remaining Estimate:

2 days

This is my first geoserver project in which Im trying to visualise osm.xml data from Openstreetmap which is converted to Postgis spatial data format in Postgresql using converter tool osm2pgsql . This data was then imported into Geoserver and styling SLD was applied which is obtained from the above mentioned URLs.
There is no problem in syntax and no validation errors but while rendering the map there is runtime error which is resulting in white tiles . This occurs an soon as I try to add an attritube to classify the available data i.e for example osm_roads as primary secondary and tertiary roads
*Error *is : ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Rendering process failed
Cause is : Caused by: java.lang.ClassCastException: java.util.ArrayList cannot be cast to org.opengis.feature.type.AttributeDescriptor

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.0.0-OD-08-001#70107-sha1:2554118)

Atlassian logo