#1901 closed defect (fixed)
JOSM shows backtrace on fresh install (without plugins) in [1183]
Reported by: | Owned by: | framm | |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
Steps to reproduce:
- mv ~/.josm ~/.josm.old
- start josm
- Get this backtrace after the splash screen:
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.PlatformHookUnixoid.initShortcutGroups(PlatformHookUnixoid.java:33)
at org.openstreetmap.josm.tools.Shortcut.doInit(Shortcut.java:277)
at org.openstreetmap.josm.tools.Shortcut.registerShortcut(Shortcut.java:393)
at org.openstreetmap.josm.tools.Shortcut.registerShortcut(Shortcut.java:383)
at org.openstreetmap.josm.actions.NewAction.<init>(NewAction.java:17)
at org.openstreetmap.josm.gui.MainMenu.<init>(MainMenu.java:78)
at org.openstreetmap.josm.Main.<init>(Main.java:201)
at org.openstreetmap.josm.gui.MainApplication.<init>(MainApplication.java:49)
at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:220)
You did your own compiled version I assume. Do a clean (e.g. "ant clean") and recompile.
Reopen if this does not help.
If this is a packaged version (Ubuntu) tell the maintainer of the package about.
It seems the Java builds sometimes have problems with dependency tracking and do not recompile everything which is needed.