On Tue, Jun 19, 2012 at 1:13 AM, Gavin <ga...@gnomeit.com> wrote:
> Hi
>
> When I do a WMSGetFeatureInfo request from open layers to geoserver
> using
> unitPicker.infoFormat = 'application/vnd.ogc.gml';
>
> Geoserver returns a <ServiceException>
> java.lang.ClassCastException:
> org.geoserver.wms.featureinfo.FeatureCollectionDecorator cannot be cast to
> org.geotools.data.simple.SimpleFeatureCollection
>
>
You should provide more information about your case. Just to get started:
* GeoServer version
* are you querying a app-schema layer?
* the GetFeatureInfo URL used (you should be able to grab it using firebug
or other web dev tools)
Cheers
Andrea
--
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users