Re: [Geotools-gt2-users] NPE when testing SelectionLab.java

2015-01-09 Thread Jody Garnett
Cannot quite match your stack trace up with the latest code ... can you try stepping through those lines in a debugger? -- Jody Garnett On 6 January 2015 at 18:47, 王保华 wrote: > Dears, > I am testing SelectionLab.java, which is copied from > http://docs.geotools.org/latest/userguide/tutorial/m

Re: [Geotools-gt2-users] NPE when testing SelectionLab.java

2015-01-06 Thread 王保华
I might add: This error does not occur when using geotools 9.5. Using 10.x or 11.x, it happens again. At 2015-01-07 10:47:20, "王保华" wrote: Dears, I am testing SelectionLab.java, which is copied from http://docs.geotools.org/latest/userguide/tutorial/map/style.html When selecting the "select

[Geotools-gt2-users] NPE when testing SelectionLab.java

2015-01-06 Thread 王保华
Dears, I am testing SelectionLab.java, which is copied from http://docs.geotools.org/latest/userguide/tutorial/map/style.html When selecting the "select" cursor and clicking on the map, console prints following errors: --