Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#12038 closed defect (fixed)

Using purge command one one specific administrative boundary causes an error

Reported by: regit2me@… Owned by: team
Priority: normal Milestone: 15.11
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

To reproduce error click on way 222191929 an administrative boundary.
<shift><ctrl><p> to purge A message box unexpected exception appears.

Doing this with either of the other 2 administrative boundaries on the screen way 222193397 & way 222191931 do not cause this error.

What is the expected result?

After then pressing <return> the way is hidden.

What happens instead?

The program produces the error message, requesting that it be reported.

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

Revision: 8969
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2015-10-29 22:15:23 +0100 (Thu, 29 Oct 2015)
Build-Date: 2015-10-30 02:32:24
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 8969

Identification: JOSM/1.5 (8969 en_GB) Linux Mint 17.2 Rafaela
Memory Usage: 414 MB / 1748 MB (180 MB allocated, but free)
Java version: 1.8.0_66, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.security.policy=file:/usr/lib/jvm/java-8-oracle/jre/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=/home/michael/Desktop/Link to josm.jnlp, -Djnlpx.remove=true, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=57715, -Djnlpx.jvm=<java.home>/bin/java, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==]

Dataset consistency test:
[NO DATASET] {Relation id=2944657 version=1 VT [way 222193397, way 222191931, way 222117156, way 222108892, way 222108886, way 222193404, way 222282429]} is referenced by {Relation id=114662 version=92 VT [way 208614215, way 221531238, way 221532343, way 221532342, way 221532344, way 107477760, way 168774431, way 208614205, way 221535902, way 221537977, way 216656392, way 216658231, way 221666038, way 221667655, way 216660394, way 216664114, way 216664935, way 221754107, way 208622492, way 217367574, way 217490242, way 217369150, way 217490241, way 222117157, way 222823996, way 223104306, way 217446573, way 223317151, way 222564384, way 223025471, way 223023448, way 222560378, way 222278402, way 222191929, way 222191931, way 217483066, way 222823997, way 224914039, way 224906515, way 222821771, way 224904399, way 222724423, way 217483099, way 224903046, way 222692060, way 217483103, way 226429450, way 218286500, way 217483059, way 222145287, way 218493159, way 221531239, way 218494122, node 17722528, relation 2879656, relation 2929114, relation 2929162, relation 2929184, relation 2931219, relation 2931233, relation 2932405, relation 2932600, relation 2934411, relation 2936236, relation 2936881, relation 2937931, relation 2939507, relation 2939596, relation 2940000, relation 2941822, relation 2941831, relation 2944657, relation 2945066, relation 2951347, relation 2951399, relation 2951666, relation 2953116, relation 2953187, relation 2953251, relation 2954011, relation 2954357, relation 2954403, relation 2955279, relation 2955326, relation 2955363, relation 2955404]} but not found in dataset



Last errors/warnings:
- E: java.util.ConcurrentModificationException
- E: java.util.ConcurrentModificationException
- E: java.util.ConcurrentModificationException

java.util.ConcurrentModificationException
	at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
	at java.util.ArrayList$Itr.next(ArrayList.java:851)
	at org.openstreetmap.josm.actions.PurgeAction.actionPerformed(PurgeAction.java:183)
	at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)
	at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
	at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:307)
	at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:263)
	at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2974)
	at javax.swing.JComponent.processKeyBindings(JComponent.java:2966)
	at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
	at java.awt.Component.processEvent(Component.java:6312)
	at java.awt.Container.processEvent(Container.java:2236)
	at java.awt.Component.dispatchEventImpl(Component.java:4891)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Component.dispatchEvent(Component.java:4713)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)
	at java.awt.Component.dispatchEventImpl(Component.java:4762)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Window.dispatchEventImpl(Window.java:2750)
	at java.awt.Component.dispatchEvent(Component.java:4713)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by Don-vip

Milestone: 15.11

comment:2 Changed 5 years ago by simon04

Resolution: fixed
Status: newclosed

In 8981/josm:

fix #12038 - ConcurrentModificationException using purge command

Regression from r8905.

comment:3 Changed 5 years ago by Don-vip

Damned, I completely missed it. I'll add a non regression unit test for this one.

comment:4 Changed 5 years ago by Don-vip

In 8984/josm:

see #12038 - add non regression test

comment:5 Changed 5 years ago by bastiK

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

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.