Issue Type:
|
Bug
|
Affects Versions:
|
2.2.x, 2.3-beta1
|
Assignee:
|
Andrea Aime
|
Components:
|
WMS
|
Created:
|
24/Jan/13 3:26 AM
|
Description:
|
An exception was thrown using GetLegendGraphic WMS operation on a layer with a geometry type of GEOMETRY:
java.lang.IllegalArgumentException: class com.vividsolutions.jts.geom.Geometry is not supported by this method
at org.geotools.data.DataUtilities.defaultValue(DataUtilities.java:997)
at org.geotools.feature.simple.SimpleFeatureBuilder.convert(SimpleFeatureBuilder.java:316)
at org.geotools.feature.simple.SimpleFeatureBuilder.set(SimpleFeatureBuilder.java:297)
at org.geotools.feature.simple.SimpleFeatureBuilder.add(SimpleFeatureBuilder.java:220)
at org.geotools.feature.simple.SimpleFeatureBuilder.template(SimpleFeatureBuilder.java:502)
at org.geoserver.wms.legendgraphic.BufferedImageLegendGraphicBuilder.createSampleFeature(BufferedImageLegendGraphicBuilder.java:534
|
Fix Versions:
|
2.3-RC1
|
Project:
|
GeoServer
|
Priority:
|
Minor
|
Reporter:
|
Mauro Bartolomeoli
|
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)