Select to view content in your preferred language

Problem using WMS from GeoServer

3398
6
07-18-2012 07:07 AM
BorisWagner
Deactivated User
Hi everybody,

I've a problem using a WMS layer from the/a GeoServer.
I can use the WMS-Layers in other WMS-capable GIS (like ArcGIS Desktop, Quantum GIS, OpenLayers) but not in the Java-Runtime.

I get the following error:
java.lang.NullPointerException
       at com.esri.core.internal.action.wms.WMSCapabilities.a(Unknown Source)
       at com.esri.core.internal.action.wms.WMSCapabilities.c(Unknown Source)
       at com.esri.core.internal.action.wms.WMSCapabilities.getLayers(Unknown Source)
       at com.esri.core.internal.action.wms.WMSCapabilities.getLayersList(Unknown Source)
       at com.esri.map.WmsDynamicMapServiceLayer.setupInitialVisibility(Unknown Source)
       at com.esri.map.WmsDynamicMapServiceLayer$1.run(Unknown Source)
       at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
       at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
       at java.util.concurrent.FutureTask.run(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)


Thanks!
0 Kudos
6 Replies
BorisWagner
Deactivated User
The Runtime is still unable to show WMS-Services from GeoServer.
So we are not able to use the German GeoData Infrastructure (gdi.de). A OGC- / INSPIRE-compliant service.

Any solution for this?
0 Kudos
EricBader
Honored Contributor
Hello Boris:

Is there a public URL that you can share, so that we can have a look at what is going on?
0 Kudos
BorisWagner
Deactivated User
Hello Boris:

Is there a public URL that you can share, so that we can have a look at what is going on?


Hello Eric,

sorry, I can't give You the URLs of the GeoServers we are using, they are only accessible with license-keys.
I've tried to find a free GeoServer in the web and found this: http://apps.who.int/tools/geoserver/wms

This WMS-service, delivered by a GeoServer is shown without problems in ArcMap 10.1 and Quantum GIS but gives an error in the Java Runtime 1.0.

We are using the example sourcecode from the Java SDK for WMS services (see attached txt).

You also find attached the capabilities document of our GeoServer. The Runtime crashes when parsing this.

Two Months ago our Institute had a Runtime-training over 2 days with staff from the German ESRI-office (Mrs. Brunner). Mrs Brunner confirmed this problem with the Runtime (also with our paid services, running on GeoServer) and said, she's going to contact the developers in the USA. We never heard about a solution ever since.

Greetings from Germany,
Boris
0 Kudos
EricBader
Honored Contributor
Thanks Boris.
I'm sorry for the disconnect and for the lag time in getting back with you. This is critical, I do understand.
The team is currently looking into this as we speak. Thank you for your information!
We will try to update you regarding this as soon as we can.
0 Kudos
EricBader
Honored Contributor
Here is a quick update.
We have seen some positive testing results with GeoServer WMS layers, from using the next release of the SDK coming in a few weeks. We wanted to update you with some positive cheer as we head to the new year, and we are hopeful this 10.1.1 release will address the issue to your satisfaction.

Stay tuned.
0 Kudos
RimElaire
New Contributor
I have the same problem. I should  use a WMS layer of / a GeoServer but I can not access geoserver
0 Kudos