Modify

Opened 15 years ago

Closed 15 years ago

#4008 closed defect (fixed)

Exception when merging nodes

Reported by: Nakor Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: Cc:

Description (last modified by Gubaer)

It does not happen everytime and I cannot find a scenario to reproduce it but it happens quite often:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2009-11-20 02:31:59
Last Changed Author: jttt
Revision: 2485
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2009-11-19 21:58:09 +0100 (Thu, 19 Nov 2009)
Last Changed Rev: 2485

Memory Usage: 794 MB / 1333 MB (155 MB allocated, but free)
Java version: 1.6.0_16

Plugins: DirectUploadPicLayereditgpxgraphviewmeasurementmichigan_leftopenstreetbugsremotecontrolroutingtageditorutilspluginvalidatorwaydownloaderwmsplugin
Plugin DirectUpload Version: 17532
Plugin PicLayer Version: 18597
Plugin editgpx Version: 18595
Plugin graphview Version: 18593
Plugin measurement Version: 18595
Plugin michigan_left Version: 18084
Plugin openstreetbugs Version: 18595
Plugin remotecontrol Version: 18678
Plugin routing Version: 18597
Plugin tageditor Version: 18700
Plugin utilsplugin Version: 18621
Plugin validator Version: 18623
Plugin waydownloader Version: 18617
Plugin wmsplugin Version: 18712

java.lang.IndexOutOfBoundsException: Index: 407, Size: 99

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:625)
at javax.swing.JList.getSelectedValues(Unknown Source)
at org.openstreetmap.josm.gui.dialogs.RelationListDialog.getAllSelected(RelationListDialog.java:262)
at org.openstreetmap.josm.gui.dialogs.RelationListDialog.updateList(RelationListDialog.java:193)
at org.openstreetmap.josm.gui.dialogs.RelationListDialog.primtivesRemoved(RelationListDialog.java:706)
at org.openstreetmap.josm.data.osm.DataSet.firePrimitivesRemoved(DataSet.java:806)
at org.openstreetmap.josm.data.osm.OsmPrimitive.setDeleted(OsmPrimitive.java:538)
at org.openstreetmap.josm.command.DeleteCommand.executeCommand(DeleteCommand.java:142)
at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:51)
at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:39)
at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:59)
at org.openstreetmap.josm.actions.MergeNodesAction.actionPerformed(MergeNodesAction.java:70)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.KeyboardManager.fireBinding(Unknown Source)
at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (2)

comment:1 by Nakor, 15 years ago

Priority: normalmajor

I may have a scenario. Once you have begun to add or remove relations, that behavior happens at pretty much any merge, combine, undo, redo operation.

comment:2 by Gubaer, 15 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

This should be fixed in r2487, you're working with 2485.

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.