Modify

Opened 3 years ago

Closed 3 years ago

#5067 closed defect (fixed)

Latest JOSM crashed while uploading

Reported by: anonymous Owned by: anonymous
Priority: blocker Component: Core
Version: latest Keywords: template_report
Cc:

Description

What steps will reproduce the problem?

  1. Do some changes
  2. Upload the changes
  3. See the crash.

I uploaded a few changesets without a problem, so it does not crash every time.

What is the expected result?
Uploading the changes without problems.

What happens instead?
Crash

I started JOSM from commandline because I wanted to see what's going on, because the API is so damn slow at the moment. I'll attach the last lines. The numbers in the first line are from a download and are not relevant.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-05-18 01:31:23
Last Changed Author: bastiK
Revision: 3261
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-05-17 18:13:34 +0200 (Mon, 17 May 2010)
Last Changed Rev: 3261

Memory Usage: 311 MB / 824 MB (244 MB allocated, but free)
Java version: 1.6.0_18, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux

Dataset consistency test:
No problems found


Plugins: DirectUpload,measurement,openstreetbugs,public_transport,remotecontrol,turnrestrictions,validator,wmsplugin
Plugin openstreetbugs (Version: 20696)
Plugin wmsplugin (Version: 21235)
Plugin public_transport (Version: 21185)
Plugin remotecontrol (Version: 19946)
Plugin DirectUpload (Version: 20881)
Plugin validator (Version: 21177)
Plugin turnrestrictions (Version: 21186)
Plugin measurement (Version: 21307)

org.openstreetmap.josm.io.OsmTransferException: java.util.ConcurrentModificationException
	at org.openstreetmap.josm.io.OsmServerWriter.uploadChangesIndividually(OsmServerWriter.java:107)
	at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:202)
	at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:236)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:83)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:129)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:636)
Caused by: java.util.ConcurrentModificationException
	at org.openstreetmap.josm.data.osm.Storage$Iter.align(Storage.java:465)
	at org.openstreetmap.josm.data.osm.Storage$Iter.hasNext(Storage.java:445)
	at org.openstreetmap.josm.data.osm.Storage$Iter.next(Storage.java:450)
	at java.util.AbstractCollection.toArray(AbstractCollection.java:141)
	at java.util.ArrayList.addAll(ArrayList.java:497)
	at org.openstreetmap.josm.gui.dialogs.changeset.ChangesetListModel.updateModel(ChangesetListModel.java:91)
	at org.openstreetmap.josm.gui.dialogs.changeset.ChangesetListModel.addChangeset(ChangesetListModel.java:69)
	at org.openstreetmap.josm.gui.dialogs.changeset.ChangesetsInActiveDataLayerListModel.otherDatasetChange(ChangesetsInActiveDataLayerListModel.java:54)
	at org.openstreetmap.josm.data.osm.event.ChangesetIdChangedEvent.fire(ChangesetIdChangedEvent.java:24)
	at org.openstreetmap.josm.data.osm.DataSet.fireEvent(DataSet.java:818)
	at org.openstreetmap.josm.data.osm.DataSet.fireChangesetIdChanged(DataSet.java:855)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.setChangesetId(OsmPrimitive.java:771)
	at org.openstreetmap.josm.io.OsmApi.modifyPrimitive(OsmApi.java:276)
	at org.openstreetmap.josm.io.OsmServerWriter.makeApiRequest(OsmServerWriter.java:222)
	at org.openstreetmap.josm.io.OsmServerWriter.uploadChangesIndividually(OsmServerWriter.java:100)
	... 7 more

Attachments (2)

josmcrash (4.7 KB) - added by anonymous 3 years ago.
Bildschirmfoto-3.png (253.2 KB) - added by anonymous 3 years ago.

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by anonymous

Changed 3 years ago by anonymous

comment:1 Changed 3 years ago by anonymous

same for me, already several times

System: Ubuntu Linux 10.04 64-bit
Sun Java 6
JOSM 3329

also error as described in http://josm.openstreetmap.de/ticket/5171 occured

comment:2 Changed 3 years ago by stoecker

  • Owner changed from team to anonymous
  • Status changed from new to needinfo

Still an issue today?

comment:3 Changed 3 years ago by bastiK

  • Resolution set to fixed
  • Status changed from needinfo to closed

(In [3503]) fixed #5067 - crash while uploading

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.