Hi all,

Working on the SelectionLab tutorial [1], I have an exception similar
to this post (2014) [2] : I get a null pointer exception when I use
the 'select tool' to click on a feature.  Specifically, the exception
is raised on the call to selectedFeatures.features(), in the method
"void selectFeatures(MapMouseEvent ev)".

The messages [2] don't really give a solution to this specific
problem. I'm novice to Geotools so maybe I missed something.

I just would like the user able to choose a line A and a line B in a
line shapefile by clicking on it. I searched for hours, hope somebody
could help (again) !

Augustin

[1] http://docs.geotools.org/latest/userguide/tutorial/map/style.html#selection
[2] http://sourceforge.net/p/geotools/mailman/message/32035075/

------------------------------------------------------------------------------
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to