On Fri, May 24, 2013 at 10:44 AM, Frank Gasdorf <[email protected]
> wrote:

> BTW, I was wondering about the request URL, first I tried without
> service=WFS and got an exception that doesn't say anything about the
> missing required parameter (
> http://demo.opengeo.org/geoserver/topp/wfs?request=GetFeature&version=1.0.0&outputFormat=csv&propertyName=STATE&typeName=topp:tasmania_state_boundaries
> ):
>
> <?xml version="1.0" ?>
> <ServiceExceptionReport
>    version="1.2.0"
>
>     xmlns="http://www.opengis.net/ogc";
>
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>    xsi:schemaLocation="http://www.opengis.net/ogc
> http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd";>
>     <ServiceException>
>       java.lang.ClassCastException: java.lang.String cannot be cast to
> java.util.Collection
> java.lang.String cannot be cast to java.util.Collection
> </ServiceException>
> </ServiceExceptionReport>
>

The request was actually determined, but the wrong kvp parser was picked up
because the service was resolved
too late.
I've tried to solve this with this patch
http://jira.codehaus.org/browse/GEOS-4221, but unfortunately did not manage
to commit it back then.
There are a few of these around in GeoServer and GeoTools, where the patch
did not manage to get committed
when it was made, and then was sort of forgotten because it takes more time
than we have to refresh it to the current code.

Cheers
Andrea

-- 
==
GeoServer training in Milan, 6th & 7th June 2013!  Visit
http://geoserver.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
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to