[Geoserver-users] StoredQueries in WFS 2.0: notapplicablecode exception

Hi list,
I just subscribed now so my apologies if this question is already solved.

I was not enable to use any stored query in WFS 2. Im using GeoServer 2.4 released 19 sep.
First I tried with the default GetFeatureById. Then I created my own stored queries but Im getting the same message every time. The exception message says "NoApplicableCode". Not working with nay layer. Details bellow:

http://localhost:8080/geoserver/jcmll/wms?SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&StoredQuery_ID=urn:ogc:def:query:OGC-WFS::GetFeatureById&ID=manzanas.0

<ows:ExceptionReport version="2.0.0" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://localhost:8080/geoserver/schemas/ows/1.1.0/owsAll.xsd&quot;&gt;&lt;ows:Exception exceptionCode="NoApplicableCode"><ows:ExceptionText>java.lang.NullPointerException
null</ows:ExceptionText></ows:Exception></ows:ExceptionReport>

Any help would be appreciate.
Best,
Jose

--

------------------------------
José Carlos Martínez Llario
http://cartosig.upv.es

Producción Cartográfica y SIG.
Dpto. Ingeniería Cartográfica.
Univ. Politécnica de Valencia.
------------------------------

Any ideas? Should I give more details about the problem?

On 17/10/2013 13:49, Jose Carlos Martinez wrote:

Hi list,
I just subscribed now so my apologies if this question is already solved.

I was not enable to use any stored query in WFS 2. Im using GeoServer
2.4 released 19 sep.
First I tried with the default GetFeatureById. Then I created my own
stored queries but Im getting the same message every time. The exception
message says "NoApplicableCode". Not working with nay layer. Details bellow:

http://localhost:8080/geoserver/jcmll/wms?SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&StoredQuery_ID=urn:ogc:def:query:OGC-WFS::GetFeatureById&ID=manzanas.0

<ows:ExceptionReport version="2.0.0"
xsi:schemaLocation="http://www.opengis.net/ows/1.1
http://localhost:8080/geoserver/schemas/ows/1.1.0/owsAll.xsd&quot;&gt;&lt;ows:Exception
exceptionCode="NoApplicableCode"><ows:ExceptionText>java.lang.NullPointerException
null</ows:ExceptionText></ows:Exception></ows:ExceptionReport>

Any help would be appreciate.
Best,
Jose

--
------------------------------
José Carlos Martínez Llario
http://cartosig.upv.es

Producción Cartográfica y SIG.
Dpto. Ingeniería Cartográfica.
Univ. Politécnica de Valencia.
------------------------------

Hi,

Do you mean that nothing works for you?

Don't you get a list of stored queries by
http://localhost:8080/geoserver/wfs?service=WFS&version=2.0.0&request=ListStoredQueries

Don't you get one feature by
http://localhost:8080/geoserver/wfs?service=wfs&version=2.0.0&request=GetFeature&StoredQuery_ID=urn:ogc:def:query:OGC-WFS::GetFeatureById&ID=states.1

These do work for me with vanilla Geoserver installation.

-Jukka Rahkonen-

Jose Carlos Martinez Llario wrote:

Any ideas? Should I give more details about the problem?

On 17/10/2013 13:49, Jose Carlos Martinez wrote:

Hi list,
I just subscribed now so my apologies if this question is already solved.

I was not enable to use any stored query in WFS 2. Im using GeoServer
2.4 released 19 sep.
First I tried with the default GetFeatureById. Then I created my own
stored queries but Im getting the same message every time. The exception
message says "NoApplicableCode". Not working with nay layer. Details bellow:

http://localhost:8080/geoserver/jcmll/wms?SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&StoredQuery_ID=urn:ogc:def:query:OGC-WFS::GetFeatureById&ID=manzanas.0

<ows:ExceptionReport version="2.0.0"
xsi:schemaLocation="http://www.opengis.net/ows/1.1
http://localhost:8080/geoserver/schemas/ows/1.1.0/owsAll.xsd&quot;&gt;&lt;ows:Exception
exceptionCode="NoApplicableCode"><ows:ExceptionText>java.lang.NullPointerException
null</ows:ExceptionText></ows:Exception></ows:ExceptionReport>

Any help would be appreciate.
Best,
Jose

--
------------------------------
José Carlos Martínez Llario
http://cartosig.upv.es

Producción Cartográfica y SIG.
Dpto. Ingeniería Cartográfica.
Univ. Politécnica de Valencia.
------------------------------

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users