Modify

Opened 8 years ago

Closed 4 years ago

Last modified 4 years ago

#11240 closed defect (fixed)

IOOBE at ChangesetListModel.getElementAt during upload

Reported by: anonymous Owned by: team
Priority: normal Milestone: 18.10
Component: Core Version:
Keywords: template_report upload edt changeset Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

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

Very new user of JOSM; just uploading changes "as usual", don't know why it was unhappy

Revision: 8109
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2015-03-02 00:13:51 +0100 (Mon, 02 Mar 2015)
Build-Date: 2015-03-02 02:30:58
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 8109

Identification: JOSM/1.5 (8109 en) Windows 7 64-Bit
Memory Usage: 238 MB / 989 MB (119 MB allocated, but free)
Java version: 1.8.0_40, Oracle Corporation, Java HotSpot(TM) Client VM
Dataset consistency test: No problems found


Last errors/warnings:
- W: Unable to remove primitives from TestError [tester=org.openstreetmap.josm.data.validation.tests.UnconnectedWays$UnconnectedHighways@d791c68c, code=1301, message=Way end node near other highway]
- W: Unable to remove primitives from TestError [tester=org.openstreetmap.josm.data.validation.tests.UnconnectedWays$UnconnectedHighways@d791c68c, code=1301, message=Way end node near other highway]
- W: Unable to remove primitives from TestError [tester=org.openstreetmap.josm.data.validation.tests.UnconnectedWays$UnconnectedHighways@d791c68c, code=1301, message=Way end node near other highway]
- E: java.lang.IndexOutOfBoundsException: Index: 262, Size: 363
- E: java.lang.IndexOutOfBoundsException: Index: 279, Size: 362

java.lang.IndexOutOfBoundsException: Index: 279, Size: 362
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at org.openstreetmap.josm.gui.dialogs.changeset.ChangesetListModel.getElementAt(ChangesetListModel.java:134)
	at org.openstreetmap.josm.gui.dialogs.changeset.ChangesetListModel.getElementAt(ChangesetListModel.java:23)
	at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)
	at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source)
	at javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(Unknown Source)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
	at javax.swing.DefaultListSelectionModel.insertIndexInterval(Unknown Source)
	at javax.swing.plaf.basic.BasicListUI$Handler.intervalAdded(Unknown Source)
	at javax.swing.AbstractListModel.fireIntervalAdded(Unknown Source)
	at org.openstreetmap.josm.gui.dialogs.changeset.ChangesetListModel.updateModel(ChangesetListModel.java:83)
	at org.openstreetmap.josm.gui.dialogs.changeset.ChangesetListModel.setChangesets(ChangesetListModel.java:69)
	at org.openstreetmap.josm.gui.dialogs.changeset.ChangesetListModel.initFromDataSet(ChangesetListModel.java:129)
	at org.openstreetmap.josm.gui.dialogs.changeset.ChangesetsInActiveDataLayerListModel.dataChanged(ChangesetsInActiveDataLayerListModel.java:33)
	at org.openstreetmap.josm.data.osm.event.DataChangedEvent.fire(DataChangedEvent.java:26)
	at org.openstreetmap.josm.data.osm.DataSet.fireEventToListeners(DataSet.java:1183)
	at org.openstreetmap.josm.data.osm.DataSet.endUpdate(DataSet.java:1167)
	at org.openstreetmap.josm.io.DiffResultProcessor.postProcess(DiffResultProcessor.java:142)
	at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:547)
	at org.openstreetmap.josm.io.OsmServerWriter.uploadChangesAsDiffUpload(OsmServerWriter.java:132)
	at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:208)
	at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:248)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (5)

comment:1 Changed 8 years ago by Don-vip

Keywords: upload edt added

comment:2 Changed 6 years ago by michael2402

Seems to be a synchronization problem in ChangesetListModel.

#6524 is similar.

comment:3 Changed 6 years ago by Don-vip

Keywords: changeset added
Summary: Error uploading changesIOOBE at ChangesetListModel.getElementAt during upload

comment:4 Changed 4 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 14344/josm:

fix #6524, fix #11240 - add synchronization in ChangesetListModel

comment:5 Changed 4 years ago by Don-vip

Milestone: 18.10

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.