[Geoserver-users] wms getcapabilities fails on 2.3.0

Hi List,

I have a geoserver with 2 workspaces.

These have 1-1 PostGIS datastores with several layers.

Getcapabilities fails for workspace greekdata:
http://atom.viamap.hu:8800/geoserver/greekdata/wms?request=getCapabilities&service=wms

javax.xml.transform.TransformerException: java.lang.NullPointerExceptionjava.lang.NullPointerException null

Success for the other:

http://atom.viamap.hu:8800/geoserver/icecap/wms?request=getCapabilities&service=wms

I tried to add new workspace with shapefile and tiff stores and I get the same.

GetMap requests work as expected.

On the Global settings page I set
Resource Error Handling to SKIP_MISCONFIGURED_LAYERS

Tried deleting the workspace and recreating it.

Any idea would be appreciated on what am I doing wrong.

Thanks,
Csaba


Sándor Csaba
szolgáltatási vezető
ViaMap Kft.
Székhely/postacím: 2176 Erdőkürt, Téglaház utca 4.

Iroda:
1076 Budapest, Garay u. 29-31. I. 1.
(EMLA Környezeti Management és Jog Egyesület)

Tel: +3630/9605853
Fax: +3617002542

On Wed, Jun 5, 2013 at 9:09 AM, Sandor Csaba <sandor.csaba@anonymised.com> wrote:

Hi List,

I have a geoserver with 2 workspaces.

These have 1-1 PostGIS datastores with several layers.

Getcapabilities fails for workspace greekdata:

http://atom.viamap.hu:8800/geoserver/greekdata/wms?request=getCapabilities&service=wms

javax.xml.transform.TransformerException:
java.lang.NullPointerExceptionjava.lang.NullPointerException null

Success for the other:

http://atom.viamap.hu:8800/geoserver/icecap/wms?request=getCapabilities&service=wms

I tried to add new workspace with shapefile and tiff stores and I get the
same.

GetMap requests work as expected.

On the Global settings page I set
Resource Error Handling to SKIP_MISCONFIGURED_LAYERS

Tried deleting the workspace and recreating it.

Any idea would be appreciated on what am I doing wrong.

Can you share the whole stack trace for that NullPointerException? It's in
the GeoServer log files,
you can get them from disk on $GEOSERVER_DATA_DIR/logs/geoserver.log, or
download them
from the UI in the logs panel

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

-------------------------------------------------------

Hi

See attached. Hope I exported the right bit of the log.

In the meantime updated to 2.3.2 and still have the issue.

Thx,
Csaba

geoserver_err.log (10.4 KB)

···

On 5 June 2013 09:34, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Wed, Jun 5, 2013 at 9:09 AM, Sandor Csaba <sandor.csaba@anonymised.com> wrote:


Sándor Csaba
szolgáltatási vezető
ViaMap Kft.
Székhely/postacím: 2176 Erdőkürt, Téglaház utca 4.

Iroda:
1076 Budapest, Garay u. 29-31. I. 1.
(EMLA Környezeti Management és Jog Egyesület)

Tel: +3630/9605853
Fax: +3617002542

Hi List,

I have a geoserver with 2 workspaces.

These have 1-1 PostGIS datastores with several layers.

Getcapabilities fails for workspace greekdata:
http://atom.viamap.hu:8800/geoserver/greekdata/wms?request=getCapabilities&service=wms

javax.xml.transform.TransformerException: java.lang.NullPointerExceptionjava.lang.NullPointerException null

Success for the other:

http://atom.viamap.hu:8800/geoserver/icecap/wms?request=getCapabilities&service=wms

I tried to add new workspace with shapefile and tiff stores and I get the same.

GetMap requests work as expected.

On the Global settings page I set
Resource Error Handling to SKIP_MISCONFIGURED_LAYERS

Tried deleting the workspace and recreating it.

Any idea would be appreciated on what am I doing wrong.

Can you share the whole stack trace for that NullPointerException? It’s in the GeoServer log files,
you can get them from disk on $GEOSERVER_DATA_DIR/logs/geoserver.log, or download them
from the UI in the logs panel

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


On Wed, Jun 5, 2013 at 10:49 AM, Sandor Csaba <sandor.csaba@anonymised.com>wrote:

Hi

See attached. Hope I exported the right bit of the log.

In the meantime updated to 2.3.2 and still have the issue.

Do you have any layer group in that installation? What about in the
workspace?

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

-------------------------------------------------------

I have a lot of layer groups in the other workspace where the caps doc is ok. In the failing workspace no group.
Cs.

···

On 5 June 2013 10:53, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Wed, Jun 5, 2013 at 10:49 AM, Sandor Csaba <sandor.csaba@anonymised.com> wrote:


Sándor Csaba
szolgáltatási vezető
ViaMap Kft.
Székhely/postacím: 2176 Erdőkürt, Téglaház utca 4.

Iroda:
1076 Budapest, Garay u. 29-31. I. 1.
(EMLA Környezeti Management és Jog Egyesület)

Tel: +3630/9605853
Fax: +3617002542

Hi

See attached. Hope I exported the right bit of the log.

In the meantime updated to 2.3.2 and still have the issue.

Do you have any layer group in that installation? What about in the workspace?

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


I deleted all the layer groups in the other workspace and the error went away.
Csaba

···

On 5 June 2013 10:56, Sandor Csaba <sandor.csaba@anonymised.com> wrote:

I have a lot of layer groups in the other workspace where the caps doc is ok. In the failing workspace no group.
Cs.


Sándor Csaba
szolgáltatási vezető
ViaMap Kft.
Székhely/postacím: 2176 Erdőkürt, Téglaház utca 4.

Iroda:
1076 Budapest, Garay u. 29-31. I. 1.
(EMLA Környezeti Management és Jog Egyesület)

Tel: +3630/9605853
Fax: +3617002542

On 5 June 2013 10:53, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Wed, Jun 5, 2013 at 10:49 AM, Sandor Csaba <sandor.csaba@anonymised.com> wrote:


Sándor Csaba
szolgáltatási vezető
ViaMap Kft.
Székhely/postacím: 2176 Erdőkürt, Téglaház utca 4.

Iroda:
1076 Budapest, Garay u. 29-31. I. 1.
(EMLA Környezeti Management és Jog Egyesület)

Tel: +3630/9605853
Fax: +3617002542

Hi

See attached. Hope I exported the right bit of the log.

In the meantime updated to 2.3.2 and still have the issue.

Do you have any layer group in that installation? What about in the workspace?

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