Issue Type: Bug 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 Minor
Reporter: Mauro Bartolomeoli
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
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to