Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1901 closed defect (fixed)

JOSM shows backtrace on fresh install (without plugins) in [1183]

Reported by: avar Owned by: framm
Priority: blocker Component: Core
Version: latest Keywords:
Cc:

Description

Steps to reproduce:

  1. mv ~/.josm ~/.josm.old
  2. start josm
  3. 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)

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by anonymous

  • Resolution set to fixed
  • Status changed from new to closed

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.

comment:2 Changed 4 years ago by avar

I can't reproduce it after a build with ant clean && ant dist

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.