[josm-dev] JOSM v1084 breaks plugin loading

Женя yourname at mail.ru
Wed Nov 19 13:08:08 GMT 2008


I have the same thing too, with the latest build #1087

Here is the output:


jekader at jiku:~$ /usr/lib/jvm/java-6-sun-1.6.0.*/bin/java -jar josm-latest.jar
loading measurement
loading openstreetbugs
Trying to load locale ru for openstreetbugs
Couldn't load resource bundle for locale ru_RU
Trying to load locale en for openstreetbugs
java.lang.NoClassDefFoundError: org/openstreetmap/josm/tools/ShortCut
        at org.openstreetmap.josm.plugins.osb.gui.OsbDialog.<init>(OsbDialog.java:91)
        at org.openstreetmap.josm.plugins.osb.OsbPlugin.<init>(OsbPlugin.java:77)
        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 java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:128)
        at org.openstreetmap.josm.Main.loadPlugins(Main.java:299)
        at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:217)
Caused by: java.lang.ClassNotFoundException: org.openstreetmap.josm.tools.ShortCut
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 11 more
loading osmarender
loading utilsplugin
Silent shortcut conflict: 'auto:Simplify Way' moved by 'system:redo' to 'Ctrl+Shift+Y'.
java.lang.NoSuchFieldError: shortCut
        at UtilsPlugin.UtilsPlugin.<init>(UtilsPlugin.java:30)
        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 java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:128)
        at org.openstreetmap.josm.Main.loadPlugins(Main.java:299)
        at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:217)
loading validator

If I don't click on the splashscreen in the beginning, it becomes unresponsive, and I don't see the "plugin load error" message - probably because it is below the splashscreen. So in that case the last string is "... 11 more"
When I clicked the splashscreen, the error box appeared, asking to disable openstreetbugs - I agreed, then came the same message about utilsplugin - which I refused to disable, and JOSM started anyway.


-----Original Message-----
From: Andre Hinrichs <andre.hinrichs at gmx.de>
To: josm-dev <josm-dev at openstreetmap.org>
Date: Wed, 19 Nov 2008 13:54:03 +0100
Subject: [josm-dev] JOSM v1084 breaks plugin loading

> Hi List,
> 
> Plugin loading is broken since version 1084 here. I've attached two 
> screenshots about the (german) message popping up. For the non-germans: It 
> says "Cannot open plugin openstreetbugs. Delete from preferences?"
> 
> Clicking "Nein" (No) brings the next message which I cannot read since it is 
> covered by the startup image as shown in the second attached picture. Since 
> this message is too small to be able to click on you cannot even move it 
> to a place where you can read it...
> 
> This means this is two bugs. The faulty plugin loading is introduced in 1084. 
> The other view blocking issue is most likely older.
> 
> 
> Regards
> Andre
> 
> ATTACHMENT: application/pgp-signature (signature.asc)
> 
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/josm-dev
> 
> 

Женя mailto:yourname at mail.ru




More information about the josm-dev mailing list