Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] NPE in BasicWMSRenderer2

Hello Ugo,

I can't reproduce this with our test wms server. Any chance you can share your wms server url?


Ugo Taddei wrote:
Hello,

after an SVN update, and libs/refresh.xml I get this

!ENTRY net.refractions.udig.catalog.internal.wms 4 0 2008-10-09 09:21:23.536 !MESSAGE GetCapabilities: http://***.***.***.***/***/wms?REQUEST=GetCapabilities&VERSION=1.1.1&SERVICE=WMS
15
net.refractions.udig.project.render.RenderException: java.lang.NullPointerException at net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2.render(BasicWMSRenderer2.java:316) at net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2.render(BasicWMSRenderer2.java:161) at net.refractions.udig.project.internal.render.impl.RenderJob.startRendering(RenderJob.java:106) at net.refractions.udig.project.internal.render.impl.RenderJob.run(RenderJob.java:211)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.NullPointerException
    at org.geotools.referencing.CRS.decode(CRS.java:419)
!ENTRY net.refractions.udig.render.wms.basic 1 0 2008-10-09 09:21:24.821
!MESSAGE WARNING: WMS Renderer contains no layers.

This happens when udig starts, and a WMS layer is unchecked (in the layers list). When I make the layer visible, the exception goes. This was working yesterday, and appeared after a general update.

Any ideas?

Cheers,

Ugo



Back to the top