#1883 closed defect (fixed)
Errors with JOSM >= 1181 - Update plugins!
Reported by: | Owned by: | framm | |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
I updated JOSM to [1181]. I had to disable DirectUpload and Lakewalker as they were no longer compatable. Now when I start JOSM and immediately try to close it again I get this:
Development version. Unknown revision.
java.lang.NoSuchMethodError: org.openstreetmap.josm.data.Preferences.put(Ljava/lang/String;Ljava/lang/String;)V
at org.openstreetmap.josm.tools.Shortcut.savePrefs(Shortcut.java:325)
at org.openstreetmap.josm.Main.breakBecauseUnsavedChanges(Main.java:449)
at org.openstreetmap.josm.gui.MainApplication$1.windowClosing(MainApplication.java:56)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:332)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:332)
at java.awt.Window.processWindowEvent(Window.java:1845)
at javax.swing.JFrame.processWindowEvent(JFrame.java:279)
at java.awt.Window.processEvent(Window.java:1803)
at java.awt.Component.dispatchEventImpl(Component.java:4501)
at java.awt.Container.dispatchEventImpl(Container.java:2081)
at java.awt.Window.dispatchEventImpl(Window.java:2458)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Attachments (0)
Change History (15)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
I updated some of the missing plugins, so they have new numbers. This should force download.
Everything must be >= 12588 as version.
comment:3 by , 16 years ago
I had already tried updating the plugins, which didn't work. Updating to [1182] solved the issue however.
comment:4 by , 16 years ago
Summary: | Backtrace when trying to close JOSM in [1181] → Errors with JOSM >= 1181 - Update plugins! |
---|
comment:5 by , 16 years ago
Until utilsplugin and gpsbabelgui are updated, they may cause errors like the one above!
comment:7 by , 16 years ago
NOTE: During and after the update process there may still be error messages.
Everything should work after all plugins are updated and JOSM was restarted.
comment:9 by , 16 years ago
all plugins updated, multiple JOSM restarts, still dialog "usertools couldn't be loaded." pops up and usertools function is not available (last seen to work in revision 1176)
exception with measurement still happens as well (#1564)
Path: trunk URL: http://josm.openstreetmap.de/svn/trunk Repository Root: http://josm.openstreetmap.de/svn Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Revision: 1198 Node Kind: directory Last Changed Author: stoecker Last Changed Rev: 1198 Last Changed Date: 2008-12-31 17:19:31 +0100 (Wed, 31 Dec 2008) Plugins: measurement;namefinder;openstreetbugs;slippy_map_chooser;usertools;utilsplugin;validator;wmsplugin Plugin measurement Version: 12598 Plugin namefinder Version: 12598 Plugin openstreetbugs Version: 12590 Plugin slippy_map_chooser Version: 12598 Plugin utilsplugin Version: 12677 Plugin validator Version: 12676 Plugin wmsplugin Version: 12609
comment:10 by , 16 years ago
It seems that there is still old code in the usertools plugin. The version bump seen in most of the other plugins is missing (still version 1.1 according to the plugins list). So usertools plugin doesn't get loaded at the moment, what is a great loss to me.
Path: trunk URL: http://josm.openstreetmap.de/svn/trunk Repository Root: http://josm.openstreetmap.de/svn Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Revision: 1198 Node Kind: directory Last Changed Author: stoecker Last Changed Rev: 1198 Last Changed Date: 2008-12-31 17:19:31 +0100 (Wed, 31 Dec 2008) Plugins: measurement;namefinder;openstreetbugs;slippy_map_chooser;usertools;utilsplugin;validator;wmsplugin Plugin measurement Version: 12598 Plugin namefinder Version: 12598 Plugin openstreetbugs Version: 12590 Plugin slippy_map_chooser Version: 12598 Plugin utilsplugin Version: 12677 Plugin validator Version: 12676 Plugin wmsplugin Version: 12609 [Debian GNU/Linux system here, following was copied directly from the console] loading usertools java.lang.NoSuchMethodError: org.openstreetmap.josm.actions.JosmAction.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIZ)V at usertools.UserToolsPlugin$1.<init>(UserToolsPlugin.java:86) at usertools.UserToolsPlugin.refreshMenu(UserToolsPlugin.java:87) at usertools.UserToolsPlugin.<init>(UserToolsPlugin.java:45) 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:309) at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:222)
follow-up: 15 comment:11 by , 16 years ago
Contact the author of user tools. I tried some times and failed. If he would free the code to SVN, such trouble could be prevented in future. Same for gpsbabelgui.
comment:14 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:15 by , 16 years ago
Replying to anonymous:
Contact the author of user tools. I tried some times and failed. If he would free the code to SVN, such trouble could be prevented in future. Same for gpsbabelgui.
Did this today. But now I see, there already is a solution on the way. Great, thanks a lot!
Please redownload all plugins. Should solve the problem.