Hi Toshy, This looks the same as the problem discussed here... http://n2.nabble.com/Displaying-WMS-and-Shapefile-in-the-Same-ContextPane-tp4578619p4578619.html
If you skip to near the end of that thread you'll see that Andrea worked on a solution which I think should have been included in the subsequent GeoTools 2.6.3 release. If you are using an earlier version please upgrade and let us know if that fixes things. Michael On 15 April 2010 02:18, Didier CREST <[email protected]> wrote: > Hello, > > I search to work the WMSLab examples. But an exception occured : > >> >> 14 avr. 2010 17:54:42 org.geotools.renderer.lite.StreamingRenderer paint >> GRAVE: 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(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) > > > > I have seen several problems with others users but any answers have given. > The WMSLab2 Works but there are not Zoom and Pan Action. Just a display of > WMSMapLayer. > So how used a WMSMapLayer and a JMapPane to have Zoom and Pan action? > Can I used a JMapFrame and is there a solution with the StreamingRenderer > class. > Sorry for my language. > > Thanks, > > Toshy > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
