Just to close this one, it does indeed work in the nightly. Thanks.
JWN
From: Justin Deoliveira [mailto:[email protected]]
Sent: 20. november 2012 20:57
To: Andrea Aime
Cc: Jes Wulfsberg Nielsen; [email protected]
Subject: Re: [Geoserver-users] ClassCastException: FilteringFeatureCollection
cannot be cast to SimpleFeatureCollection
I believe this was this issue:
http://jira.codehaus.org/browse/GEOS-5377
Which unless i am mistaken was fixed slightly after the 2.2.1 release (Oct 28).
You may want to try out a recent nightly build, or wait until 2.2.2 is released.
-Justin
On Tue, Nov 20, 2012 at 10:14 AM, Andrea Aime
<[email protected]<mailto:[email protected]>> wrote:
On Tue, Nov 20, 2012 at 5:42 PM, Jes Wulfsberg Nielsen
<[email protected]<mailto:[email protected]>> wrote:
We have upgraded from v2.1.4 to v2.2.1 (using an Oracle database), and are now
seeing an error when doing FeatureInfo requests against some (but not all)
layers using INFO_FORMAT=application%2Fvnd.ogc.gml:
<ServiceException>
java.lang.ClassCastException:
org.geotools.data.store.FilteringFeatureCollection cannot be cast to
org.geotools.data.simple.SimpleFeatureCollection
org.geotools.data.store.FilteringFeatureCollection cannot be cast to
org.geotools.data.simple.SimpleFeatureCollection
</ServiceException>
Interestingly, if requesting a GML format 3.1.1
(application%2Fvnd.ogc.gml%2F3.1.1), it works without errors.
When googling, I see mention of the same class cast error (and it quickly being
fixed) ~2 years back, in v2.1.
Before going on a wild bug hunt here, I wanted to throw a quick question
whether this is a regression or otherwise known issue?
Not known to me, at least. It would be good if you could isolate what
set of conditions make the problem appear
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313<tel:%2B39%200584%20962313>
fax: +39 0584 1660272<tel:%2B39%200584%201660272>
mob: +39 339 8844549<tel:%2B39%20%C2%A0339%208844549>
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Geoserver-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users