[Geoserver-devel] Error with ImageMosaic

Hello,

I am using GeoServer 1.6 RC1 with Tomcat 5.5. I want to use the ImageMosaic
plugin starting with the demo data that comes with GeoServer. During my
initial work I tried to display nurc:mosaic within OpenLayers using the
GeoServer Map Preview. When I click on OpenLayers, I get a window popping
up asking me if I want to open/download a 'vnd.ogc.se_xml' file. I click
'yes' and when looking at the contents I see:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt;
<ServiceExceptionReport version="1.1.1" > <ServiceException>
      java.lang.NullPointerException
java.lang.NullPointerException
</ServiceException></ServiceExceptionReport>

In the geoserver.log, I see:

2007-11-21 08:40:23,223 DEBUG [org.vfny.geoserver.global] - getting coverage
nurc:mosaic
2007-11-21 08:40:23,223 WARN [org.geoserver.ows] -
java.lang.NullPointerException
  at org.vfny.geoserver.global.Data.getCoverageInfo(Data.java:1311)
  at
org.geoserver.wms.kvp.GetMapKvpRequestReader.findCoverageLayer(GetMapKvpRequestReader.java:1117)
  at
org.geoserver.wms.kvp.GetMapKvpRequestReader.buildMapLayerInfo(GetMapKvpRequestReader.java:1078)
  at
org.geoserver.wms.kvp.GetMapKvpRequestReader.parseLayers(GetMapKvpRequestReader.java:1011)
  at
org.geoserver.wms.kvp.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:176)
  at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:995)
  at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:371)

Any ideas of what I am doing wrong?

Thanks, Bob

--
View this message in context: http://www.nabble.com/Error-with-ImageMosaic-tf4850410.html#a13878067
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

Bob Nutsch ha scritto:

Hello,

I am using GeoServer 1.6 RC1 with Tomcat 5.5. I want to use the ImageMosaic
plugin starting with the demo data that comes with GeoServer. During my
initial work I tried to display nurc:mosaic within OpenLayers using the
GeoServer Map Preview. When I click on OpenLayers, I get a window popping
up asking me if I want to open/download a 'vnd.ogc.se_xml' file. I click
'yes' and when looking at the contents I see:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt;
<ServiceExceptionReport version="1.1.1" > <ServiceException>
      java.lang.NullPointerException
java.lang.NullPointerException
</ServiceException></ServiceExceptionReport>

In the geoserver.log, I see:

2007-11-21 08:40:23,223 DEBUG [org.vfny.geoserver.global] - getting coverage
nurc:mosaic
2007-11-21 08:40:23,223 WARN [org.geoserver.ows] - java.lang.NullPointerException
  at org.vfny.geoserver.global.Data.getCoverageInfo(Data.java:1311)
  at
org.geoserver.wms.kvp.GetMapKvpRequestReader.findCoverageLayer(GetMapKvpRequestReader.java:1117)
  at
org.geoserver.wms.kvp.GetMapKvpRequestReader.buildMapLayerInfo(GetMapKvpRequestReader.java:1078)
  at
org.geoserver.wms.kvp.GetMapKvpRequestReader.parseLayers(GetMapKvpRequestReader.java:1011)
  at
org.geoserver.wms.kvp.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:176)
  at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:995)
  at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:371)

Any ideas of what I am doing wrong?

Hmm... that can happen only if there is no default namespace anymore in the geoserver configuration... sigh, the namespace UI is missing quite a bit of checks... can you try configuring back a default namespace?
Cheers
Andrea

You rock Andrea! That was it! Once I set a default namespace all is well.

Thank you very much!

Bob

aaime wrote:

Bob Nutsch ha scritto:

Hello,

I am using GeoServer 1.6 RC1 with Tomcat 5.5. I want to use the
ImageMosaic
plugin starting with the demo data that comes with GeoServer. During my
initial work I tried to display nurc:mosaic within OpenLayers using the
GeoServer Map Preview. When I click on OpenLayers, I get a window
popping
up asking me if I want to open/download a 'vnd.ogc.se_xml' file. I click
'yes' and when looking at the contents I see:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt;
<ServiceExceptionReport version="1.1.1" > <ServiceException>
      java.lang.NullPointerException
java.lang.NullPointerException
</ServiceException></ServiceExceptionReport>

In the geoserver.log, I see:

2007-11-21 08:40:23,223 DEBUG [org.vfny.geoserver.global] - getting
coverage
nurc:mosaic
2007-11-21 08:40:23,223 WARN [org.geoserver.ows] -
java.lang.NullPointerException
  at org.vfny.geoserver.global.Data.getCoverageInfo(Data.java:1311)
  at
org.geoserver.wms.kvp.GetMapKvpRequestReader.findCoverageLayer(GetMapKvpRequestReader.java:1117)
  at
org.geoserver.wms.kvp.GetMapKvpRequestReader.buildMapLayerInfo(GetMapKvpRequestReader.java:1078)
  at
org.geoserver.wms.kvp.GetMapKvpRequestReader.parseLayers(GetMapKvpRequestReader.java:1011)
  at
org.geoserver.wms.kvp.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:176)
  at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:995)
  at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:371)

Any ideas of what I am doing wrong?

Hmm... that can happen only if there is no default namespace anymore in
the geoserver configuration... sigh, the namespace UI is missing quite a
bit of checks... can you try configuring back a default namespace?
Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
View this message in context: http://www.nabble.com/Error-with-ImageMosaic-tf4850410.html#a13878719
Sent from the GeoServer - Dev mailing list archive at Nabble.com.