Modify

Opened 11 months ago

Closed 9 months ago

#7792 closed defect (duplicate)

JOSM does not start

Reported by: anonymous Owned by: team
Priority: major Component: Core
Version: latest Keywords: template_report
Cc:

Description

What steps will reproduce the problem?

  1. No JOSM profile exists, then start JOSM

What happens instead?

JOSM is not visible, only the error message appears

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-06-17 01:31:05
Last Changed Author: bastiK
Revision: 5281
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-06-16 19:04:59 +0200 (Sat, 16 Jun 2012)
Last Changed Rev: 5281

Identification: JOSM/1.5 (5281 de)
Memory Usage: 62 MB / 3022 MB (31 MB allocated, but free)
Java version: 1.6.0_18, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux


java.lang.ArrayIndexOutOfBoundsException: 3
	at java.awt.Container.createHierarchyEvents(Container.java:1415)
	at java.awt.Container.createHierarchyEvents(Container.java:1415)
	at java.awt.Container.createHierarchyEvents(Container.java:1415)
	at java.awt.Container.createHierarchyEvents(Container.java:1415)
	at java.awt.Container.createHierarchyEvents(Container.java:1415)
	at java.awt.Container.createHierarchyEvents(Container.java:1415)
	at java.awt.Component.hide(Component.java:1530)
	at java.awt.Window.hide(Window.java:944)
	at java.awt.Component.show(Component.java:1494)
	at java.awt.Component.setVisible(Component.java:1444)
	at java.awt.Window.setVisible(Window.java:842)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:34

Attachments (0)

Change History (3)

comment:1 Changed 11 months ago by bastiK

Not sure this is the reason, but your Java version is quite old. Instead of updating Java 6 you can also install Java 7.

comment:2 Changed 11 months ago by Don-vip

I don't think this is due to Java version. Netbeans guys have a long history with this bug.

The issue was simply an EDT violation. And if we look at our code:

        ... (Splash screen operations)
        ...
        if (Main.pref.getBoolean("debug.edt-checker.enable", Version.getInstance().isLocalBuild())) {
            // Repaint manager is registered so late for a reason - there is lots of violation during startup process but they don't seem to break anything and are difficult to fix
            ...
        }

Well, it seems these violations DO break something here.

comment:3 Changed 9 months ago by skyper

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

Closed as duplicate of #7263.

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.