Hi Jukka,

I think there is an error in your syntax. I tried running this in a
debugger, and got the same NullPointerException - turns out is is being
caused by a null layers list.
Changing the "layer" parameter to "layers" fixes this issue:

<goog_605005523>
http://demo.geo-solutions.it/geoserver/wms?service=wms&version=1.1.1&request=GetStyles&layers=topp:states

So, looks like this is still working (although the error it gives when
there are no layers needs improving)

Torben


On Wed, Sep 20, 2017 at 1:38 PM, Rahkonen Jukka (MML) <
[email protected]> wrote:

> Hi,
>
> While trying to test if https://osgeo-org.atlassian.net/browse/GEOS-4605
> is still valid I couldn't get this request to work at all:
> http://localhost:8080/geoserver/ows?service=wms&version=1.1.1&request=
> GetStyles&layer=topp:states
> Playing with the setting "Dynamic styling" on the WMS page does not help.
>
> Can be tested also with this
> http://demo.geo-solutions.it/geoserver/wms?service=wms&;
> version=1.3.0&request=GetStyles&layer=topp:states
> Result: Not supported in WMS 1.3.0
> and this
> http://demo.geo-solutions.it/geoserver/wms?service=wms&;
> version=1.1.1&request=GetStyles&layer=topp:states
> Result: java.lang.NullPointerException
>
> -Jukka Rahkonen-
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to