Modify

#7645 closed defect (duplicate)

Correcting a misspelt tag, unexpected error.

Reported by: michaelinredhill Owned by: team
Priority: normal Component: Core
Version: tested Keywords: template_report
Cc:

Description

What steps will reproduce the problem?

  1. Keepright reported a tag spelt Layer not layer. Clicked on the invalid node, & clicked edit.

What is the expected result? Tag name & value should have appeared in an edit dialogue.

What happens instead? Josm reported unexpected error.

Please provide any additional information below. Attach a screenshot if
possible. I saved a screen shot but can find bo way of attaching it.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-04-14 14:26:11
Last Changed Author: simon04
Revision: 5181
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-04-14 12:01:16 +0200 (Sat, 14 Apr 2012)
Last Changed Rev: 5181

Identification: JOSM/1.5 (5181 en)
Memory Usage: 96 MB / 455 MB (34 MB allocated, but free)
Java version: 1.6.0_31, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Windows 7
Dataset consistency test: No problems found


java.lang.IndexOutOfBoundsException: Index: 1, Size: 5
	at java.util.ArrayList.RangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at org.openstreetmap.josm.gui.dialogs.RelationListDialog$RelationListModel.getElementAt(RelationListDialog.java:751)
	at javax.swing.plaf.basic.BasicListUI.paintCell(Unknown Source)
	at javax.swing.plaf.basic.BasicListUI.paintImpl(Unknown Source)
	at javax.swing.plaf.basic.BasicListUI.paint(Unknown Source)
	at javax.swing.plaf.ComponentUI.update(Unknown Source)
	at javax.swing.JComponent.paintComponent(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintToOffscreen(Unknown Source)
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
	at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
	at javax.swing.RepaintManager.paint(Unknown Source)
	at javax.swing.JComponent._paintImmediately(Unknown Source)
	at javax.swing.JComponent

Attachments (1)

screenshot.gif (274.8 KB) - added by michaelinredhill 13 months ago.
screen shot of when error occured

Download all attachments as: .zip

Change History (3)

Changed 13 months ago by michaelinredhill

screen shot of when error occured

comment:1 Changed 13 months ago by bastiK

Strange error: Index: 1, Size: 5

Sounds like some kind of race condition.

comment:2 Changed 13 months ago by Don-vip

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

Closed as duplicate of #7342.

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.