Hi all,

I'm new to GeoTools, and having a look at running some of the demo apps.
I've tried running WMSLab, and after adding a WMS layer from the dialog
boxes (from any of the WMS providers that are specified as default), I
always recieve the following error NullPointerException:

08-Feb-2010 16:32:52 org.geotools.renderer.lite.StreamingRenderer paint
SEVERE: null
java.lang.NullPointerException
        at
org.geotools.renderer.lite.StreamingRenderer.queryLayer(StreamingRenderer.java:768)
        at
org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1760)
        at
org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:690)
        at
org.geotools.swing.RenderingExecutor$Task.call(RenderingExecutor.java:148)
        at
org.geotools.swing.RenderingExecutor$Task.call(RenderingExecutor.java:104)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
get map completed

WMSLab2 seems to work, however, but it doesn't use the MapPane. Is this a
case of newbie doing something wrong, or a bug? I'm using version 2.61.


-- 
View this message in context: 
http://n2.nabble.com/NullPointerException-in-WMSLab-example-tp4535371p4535371.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to