Modify

Opened 13 years ago

Closed 11 years ago

#6284 closed defect (duplicate)

Upon opening JOSM encountered error message

Reported by: cropper_1@… Owned by: team
Priority: major Milestone:
Component: Core Version: tested
Keywords: template_report Cc:

Description (last modified by kolen)

What steps will reproduce the problem?

  1. Simply opening JOSM, I did however have another java application I'm developing running in the background

What is the expected result?
For the JOSM to load normally, with the progress bar

What happens instead?
The error message below was presented to me

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-04-14 01:31:50
Last Changed Author: bastiK
Revision: 4021
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-04-13 22:43:46 +0200 (Wed, 13 Apr 2011)
Last Changed Rev: 4021

Identification: JOSM/1.5 (4021 en_GB)
Memory Usage: 30 MB / 494 MB (10 MB allocated, but free)
Java version: 1.6.0_24, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows 7

Plugin: openstreetbugs (25664)
Plugin: turnrestrictions (25845)

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:228

Attachments (0)

Change History (14)

comment:1 by bastiK, 13 years ago

Looks more like a Java bug of some kind, can you reproduce?

comment:2 by anonymous, 13 years ago

Well all I can really say in terms of reproducing this issue, I was developing a Java program at the time and was in the debug stages

comment:3 by stoecker, 13 years ago

Ticket #6289 has been marked as a duplicate of this ticket.

comment:4 by stoecker, 13 years ago

Maybe somehow caused by the changes in the program icon? Probably the Java function for multiple icons is buggy?

comment:5 by cropper_1@…, 13 years ago

Possibly, I mean the program I'm devloping does involve icon's as well

comment:6 by jttt, 13 years ago

Exceptions like this sometimes happen when gui is accessed from non EDT thread. Check http://weblogs.java.net/blog/alexfromsun/archive/2006/02/debugging_swing.html for ways to detect EDT rules violations (ThreadCheckingRepaintManager is imho sufficient).

In this case, most of code in MainApplication.main should be executed inside of EventQueue.invokeLater(), not directly in main thread.

comment:7 by stoecker, 13 years ago

Ticket #5882 has been marked as a duplicate of this ticket.

comment:8 by skyper, 13 years ago

Ticket #6931 has been marked as a duplicate of this ticket.

comment:9 by kolen, 12 years ago

Description: modified (diff)

Occured today when using reverter plugin, after downloading objects needed to revert.

Stacktrace: https://gist.github.com/1325761

comment:10 by Don-vip, 12 years ago

Ticket #7112 has been marked as a duplicate of this ticket.

comment:11 by Don-vip, 12 years ago

Ticket #5040 has been marked as a duplicate of this ticket.

comment:12 by skyper, 12 years ago

Priority: normalmajor

in reply to:  9 comment:13 by simon04, 12 years ago

Replying to kolen:

Occured today when using reverter plugin, after downloading objects needed to revert.

Stacktrace: https://gist.github.com/1325761

Fixed in r4761.

I'm not sure whether (different) stacktraces from #6284=#7112 are still relevant.

comment:14 by Don-vip, 11 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #7263.

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.