[Geoserver-users] Upgrade from 2.4 to 2.5.2 - post request now throws exception

Hi all,

We have recently upgraded our geoserver from version 2.4.0 to 2.5.2.

I have noticed the following POST request has stopped working - and throwing a very cryptic exception. Anyone could shed some light it will be greatly appreciated.

Posting to : /geoserver/rec/ows

Post data:

<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"><wfs:Query typeName="rec:rivers" srsName="EPSG:900913"><ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"><ogc:Intersects><ogc:PropertyName>Shape</ogc:PropertyName><gml:Polygon xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:900913"><gml:exterior><gml:LinearRing><gml:posList>19535855.903719604 -4626363.4941992685 19535941.73537078 -4626348.359763367 19536023.6349791 -4626318.550743741 19536099.114066403 -4626274.972872367 19536165.87923882 -4626218.950240816 19536221.901870374 -4626152.185068398 19536265.47974175 -4626076.705981093 19536295.288761374 -4625994.806372774 19536310.423197277 -4625908.974721597 19536310.423197277 -4625821.818978849 19536295.288761374 -4625735.987327672 19536265.47974175 -4625654.087719352 19536221.901870374 -4625578.608632048 19536165.87923882 -4625511.843459629 19536099.114066403 -4625455.820828078 19536023.6349791 -4625412.242956704 19535941.73537078 -4625382.433937078 19535855.903719604 -4625367.299501177 19535768.747976854 -4625367.299501177 19535682.916325677 -4625382.433937078 19535601.01671736 -4625412.242956704 19535525.537630055 -4625455.820828078 19535458.772457637 -4625511.843459629 19535402.749826085 -4625578.608632048 19535359.17195471 -4625654.087719352 19535329.362935085 -4625735.987327672 19535314.22849918 -4625821.818978849 19535314.22849918 -4625908.974721597 19535329.362935085 -4625994.806372774 19535359.17195471 -4626076.705981093 19535402.749826085 -4626152.185068398 19535458.772457637 -4626218.950240816 19535525.537630055 -4626274.972872367 19535601.01671736 -4626318.550743741 19535682.916325677 -4626348.359763367 19535768.747976854 -4626363.4941992685 19535855.903719604 -4626363.4941992685</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></ogc:Intersects></ogc:Filter></wfs:Query></wfs:GetFeature>

Exception:

<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0.0" xsi:schemaLocation="http://www.opengis.net/ows http://rook.niwa.co.nz:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd">
  <ows:Exception exceptionCode="NoApplicableCode">
    <ows:ExceptionText>org.picocontainer.defaults.UnsatisfiableDependenciesException: org.geoserver.wfs.xml.gml3.AbstractGeometryTypeBinding has unsatisfiable dependencies: [interface org.opengis.referencing.crs.CoordinateReferenceSystem] where org.picocontainer.defaults.DefaultPicoContainer@anonymised.com... was the leaf container being asked for dependencies.
org.geoserver.wfs.xml.gml3.AbstractGeometryTypeBinding has unsatisfiable dependencies: [interface org.opengis.referencing.crs.CoordinateReferenceSystem] where org.picocontainer.defaults.DefaultPicoContainer@anonymised.com was the leaf container being asked for dependencies.</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>​

Thanks.

Regards.

Looks like a trouble with the GML Schema representation ( not sure is the trouble is in the request or in our representation of the Schema.). Can you try with the beta? Or rc1 due the week. 2.5 stops being supported shortly after being out a year.

On Thu, Feb 12, 2015 at 11:20 AM Petula Lau <Petula.Lau@anonymised.com> wrote:

Hi all,

We have recently upgraded our geoserver from version 2.4.0 to 2.5.2.

I have noticed the following POST request has stopped working - and throwing a very cryptic exception. Anyone could shed some light it will be greatly appreciated.

Posting to : /geoserver/rec/ows

Post data:

<wfs:GetFeature xmlns:wfs="http://[www.opengis.net/wfs](http://www.opengis.net/wfs)" service="WFS" version="1.1.0" xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)" xsi:schemaLocation="[http://www.opengis.net/wfs](http://www.opengis.net/wfs) [http://schemas.opengis.net/wfs/1.1.0/wfs.xsd](http://schemas.opengis.net/wfs/1.1.0/wfs.xsd)"><wfs:Query typeName="rec:rivers" srsName="EPSG:900913"><ogc:Filter xmlns:ogc="[http://www.opengis.net/ogc](http://www.opengis.net/ogc)"><ogc:Intersects><ogc:PropertyName>Shape</ogc:PropertyName><gml:Polygon xmlns:gml="[http://www.opengis.net/gml](http://www.opengis.net/gml)" srsName="EPSG:900913"><gml:exterior><gml:LinearRing><gml:posList>19535855.903719604 -4626363.4941992685 19535941.73537078 -4626348.359763367 19536023.6349791 -4626318.550743741 19536099.114066403 -4626274.972872367 19536165.87923882 -4626218.950240816 19536221.901870374 -4626152.185068398 19536265.47974175 -4626076.705981093 19536295.288761374 -4625994.806372774 19536310.423197277 -4625908.974721597 19536310.423197277 -4625821.818978849 19536295.288761374 -4625735.987327672 19536265.47974175 -4625654.087719352 19536221.901870374 -4625578.608632048 19536165.87923882 -4625511.843459629 19536099.114066403 -4625455.820828078 19536023.6349791 -4625412.242956704 19535941.73537078 -4625382.433937078 19535855.903719604 -4625367.299501177 19535768.747976854 -4625367.299501177 19535682.916325677 -4625382.433937078 19535601.01671736 -4625412.242956704 19535525.537630055 -4625455.820828078 19535458.772457637 -4625511.843459629 19535402.749826085 -4625578.608632048 19535359.17195471 -4625654.087719352 19535329.362935085 -4625735.987327672 19535314.22849918 -4625821.818978849 19535314.22849918 -4625908.974721597 19535329.362935085 -4625994.806372774 19535359.17195471 -4626076.705981093 19535402.749826085 -4626152.185068398 19535458.772457637 -4626218.950240816 19535525.537630055 -4626274.972872367 19535601.01671736 -4626318.550743741 19535682.916325677 -4626348.359763367 19535768.747976854 -4626363.4941992685 19535855.903719604 -4626363.4941992685</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></ogc:Intersects></ogc:Filter></wfs:Query></wfs:GetFeature>

Exception:

<ows:ExceptionReport xmlns:ows="http://[www.opengis.net/ows](http://www.opengis.net/ows)" xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)" version="1.0.0" xsi:schemaLocation="[http://www.opengis.net/ows](http://www.opengis.net/ows) [http://rook.niwa.co.nz:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd](http://rook.niwa.co.nz:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd)">
  <ows:Exception exceptionCode="NoApplicableCode">
    <ows:ExceptionText>org.picocontainer.defaults.UnsatisfiableDependenciesException: org.geoserver.wfs.xml.gml3.AbstractGeometryTypeBinding has unsatisfiable dependencies: [interface org.opengis.referencing.crs.CoordinateReferenceSystem] where org.picocontainer.defaults.DefaultPicoContainer@anonymised.com was the leaf container being asked for dependencies.
org.geoserver.wfs.xml.gml3.AbstractGeometryTypeBinding has unsatisfiable dependencies: [interface org.opengis.referencing.crs.CoordinateReferenceSystem] where org.picocontainer.defaults.DefaultPicoContainer@anonymised.com was the leaf container being asked for dependencies.</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>​

Thanks.

Regards.


Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/_______________________________________________
Geoserver-users mailing list
Geoserver-users@anonymised.comsourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users