I am trying to get JMapFrame to work to visualize some feature. Unfortunately I keep getting errors although this test app can be started. Toolbars etc. are shown.
18.02.2011 16:44:38 org.geotools.renderer.lite.StreamingRenderer paint
SEVERE: null
java.lang.NullPointerException
at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1771)
at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:722)
My source code is here. (And pom.xml here)
I assume the problem must be anywhere in "myStyle". Is there maybe a default style?