Exception when starting JOSM with czechaddress plugin
— at Version 3
When I start JOSM 2890 with newest czechaddress plugin (compiled from SVN) I got this exception on start (and dialog asking to delete czechaddress from preferences):
org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin czechaddress
at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:227)
at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:350)
at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:402)
at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:441)
at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:197)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:214)
... 4 more
Caused by: java.lang.NullPointerException
at org.openstreetmap.josm.plugins.Plugin.getPluginDir(Plugin.java:88)
at org.openstreetmap.josm.plugins.czechaddress.CzechAddressPlugin.<init>(CzechAddressPlugin.java:109)
... 9 more
Fixed in [o19621:19622].