Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#6722 closed defect (worksforme)

First start of JOSM after reboot regularly crashes

Reported by: juergen.kremp@… Owned by: team
Priority: minor Milestone:
Component: Core Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Reboot PC
  2. Double Click JOSM-tested.jar

Env: Windows XP SP3 German, restricted user account,

What is the expected result?

UI comes up

What happens instead?

Java exception

Please provide any additional information below. Attach a screenshot if
possible.

I have made a video: http://screenr.com/zrgs

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-08-01 01:31:34
Last Changed Author: stoecker
Revision: 4279
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-07-31 23:52:49 +0200 (Sun, 31 Jul 2011)
Last Changed Rev: 4279

Identification: JOSM/1.5 (4279 en)
Memory Usage: 29 MB / 247 MB (8 MB allocated, but free)
Java version: 1.6.0_26, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows XP


java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
	at java.util.ArrayList.RangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at java.awt.Container.createHierarchyEvents(Unknown Source)
	at java.awt.Container.createHierarchyEvents(Unknown Source)
	at java.awt.Container.createHierarchyEvents(Unknown Source)
	at java.awt.Container.createHierarchyEvents(Unknown Source)
	at java.awt.Container.createHierarchyEvents(Unknown Source)
	at java.awt.Container.createHierarchyEvents(Unknown Source)
	at java.awt.Component.hide(Unknown Source)
	at java.awt.Window.hide(Unknown Source)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at java.awt.Window.setVisible(Unknown Source)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:24

Attachments (0)

Change History (6)

comment:1 by juergen.kremp@…, 14 years ago

Addition: The second and all further starts of JOSM then succeed, until I reboot...

comment:2 by anonymous, 14 years ago

Version: tested

comment:3 by akks, 14 years ago

Can you try to delete or rename josm settings folder ...\Application Data\JOSM or .josm on Linux? The bug should be gone.

comment:4 by juergen.kremp@…, 14 years ago

Bingo!

Thanks for the quick hint. That worked.

I have to admit that since last time I worked with JOSM, some time has passed (> 2 years), so it is likely that some old content in the "preferences" caused the issue. Although classified by the error popup as "this is always a program error...", I think fixing this bug is gold-plating.

comment:5 by juergen.kremp@…, 14 years ago

Priority: normalminor
Resolution: worksforme
Status: newclosed

comment:6 by stoecker, 14 years ago

Nevertheless this is a bit strange. That the issue reappeared after reboot indicates, that your settings get reversed after reboot, or that we somehow did trigger a java startup bug. I found no clear bug in code and as the issue is solved I don't think it needs further investigations.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.