Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#20005 closed defect (fixed)

DataIntegrityProblemException: Deleted member referenced undoing conflict resolutions

Reported by: skyper Owned by: team
Priority: major Milestone: 20.11
Component: Core Version: latest
Keywords: template_report conflict resolution undo deleted object Cc:

Description (last modified by skyper)

Just happened to me, reproducing #11251. Not sure if this belongs to an open ticket like #19792.

What steps will reproduce the problem?

  1. Open ticket:11251:conflict.osm
  2. Search for way id:326787327
  3. Update selection
  4. Resolve all conflicts to "their"
  5. Undo

What is the expected result?

No exception

What happens instead?

DataIntegrityProblemException

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-10-29 00:51:28 +0100 (Thu, 29 Oct 2020)
Revision:17279
Build-Date:2020-10-29 02:30:54
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (17279 en) Linux Debian GNU/Linux 10 (buster)
Memory Usage: 109 MB / 256 MB (32 MB allocated, but free)
Java version: 11.0.9+11-post-Debian-1deb10u1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Desktop environment: GNOME
Java package: openjdk-11-jre:amd64-11.0.9+11-1~deb10u1
Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-1~bpo10+1
Environment variable LANG: en_US.utf8
libcommons-compress-java: libcommons-compress-java:all-1.18-2+deb10u1
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:all-20181227-1
liboauth-signpost-java: liboauth-signpost-java:all-1.2.1.2-2
VM arguments: [-Djosm.home=<josm.pref>]

Dataset consistency test:
[DELETED REFERENCED] {Relation id=4546823 version=7 VT [way 46189247, way 46189788, way 46189777, way 46189794, way 46189800, way 46189774, way 46189755, way 46189858, way 46189829, way 46189837, way 46189855, way 46189045, way 46190572, way 43143589, way 43144186, way 43144064, way 43143798, way 43143919, way 43143940, way 43143755, way 43144100, way 43143723, way 43143730, way 43144235, way 43143617, way 43143613, way 43143900, way 43143946, way 43144091, way 43143783, way 43143902, way 43144019, way 43187615, way 43187403, way 43187196, way 321348875, way 321348867, way 321348869, way 321348871, way 43186888, way 26493159, way 43187724, way 321348870, way 203971493, way 321348872, way 321348873, way 321348876, way 321348874, way 321348868, way 203971489, way 203971492, way 321348878, way 43189040, way 321348877, way 321348827, way 321348879, way 321216313, way 43189260, way 46190732, way 46190726, way 200717921, way 46190724, way 46190725, way 46190730, way 46190727, way 46190731, way 46190558, way 46190566, way 46190564, way 46190589, way 46190615, way 46190612, way 46190586, way 46190603, way 46190595, way 46190593, way 46189069, way 46189032, way 46189042, way 46189039, way 46189864, way 46189834, way 46189838, way 46189861, way 46189747, way 46189826, way 46189783, way 46189782, way 46189807, way 46189779, way 46189240, way 178700006, way 178700007, way 178700009, way 178700008, way 43959319, way 326121110, way 326121109, way 46189386, way 326787327]} refers to deleted primitive {Way id=326787327 version=2 MVDT> nodes=[{Node id=588892831 version=3 V lat=-14.2706732,lon=-44.4271116}, {Node id=2761371058 version=1 V lat=-14.2787141,lon=-44.4814846}, {Node id=2761371071 version=1 V lat=-14.2796221,lon=-44.4798815}, {Node id=2761371043 version=1 V lat=-14.2782904,lon=-44.4780077}, {Node id=2761371041 version=1 V lat=-14.2780685,lon=-44.4753011}, {Node id=2761371042 version=1 V lat=-14.2782904,lon=-44.4721573}, {Node id=2761371029 version=1 V lat=-14.2765552,lon=-44.4681599}, {Node id=2761371038 version=1 V lat=-14.2774027,lon=-44.4655366}, {Node id=2761371021 version=1 V lat=-14.2759499,lon=-44.463059}, {Node id=2761371027 version=1 V lat=-14.2763736,lon=-44.4602484}, {Node id=2761370990 version=1 V lat=-14.2740936,lon=-44.4596446}, {Node id=2761370964 version=1 V lat=-14.2721365,lon=-44.4577916}, {Node id=2761370970 version=1 V lat=-14.2724795,lon=-44.4550434}, {Node id=2761370957 version=1 V lat=-14.2718338,lon=-44.4516914}, {Node id=2761370981 version=1 V lat=-14.2734278,lon=-44.4520245}, {Node id=2761371018 version=1 V lat=-14.275849,lon=-44.4512958}, {Node id=2761371022 version=1 V lat=-14.2763535,lon=-44.4496927}, {Node id=2761370995 version=1 V lat=-14.2744366,lon=-44.4458619}, {Node id=2761370960 version=1 V lat=-14.2718943,lon=-44.4467363}, {Node id=2761370940 version=1 V lat=-14.2702196,lon=-44.4466947}, {Node id=2761370930 version=1 V lat=-14.2693722,lon=-44.4449042}, {Node id=2761370945 version=1 V lat=-14.2710267,lon=-44.444113}, {Node id=2761370967 version=1 V lat=-14.2723382,lon=-44.4429263}, {Node id=2761371000 version=1 V lat=-14.2745174,lon=-44.4411774}, {Node id=2761371010 version=1 V lat=-14.2753043,lon=-44.4395951}, {Node id=2761371001 version=1 V lat=-14.2745375,lon=-44.4370759}, {Node id=2761370971 version=1 V lat=-14.2726812,lon=-44.436951}, {Node id=2761370938 version=1 V lat=-14.2701187,lon=-44.4325788}, {Node id=2761370953 version=1 V lat=-14.2714101,lon=-44.4300596}, {Node id=2761370978 version=1 V lat=-14.2732058,lon=-44.4302054}, {Node id=2761370986 version=1 V lat=-14.2739928,lon=-44.4311839}, {Node id=2761370998 version=1 V lat=-14.2744972,lon=-44.4307883}, {Node id=2761371004 version=1 V lat=-14.2746586,lon=-44.4299139}, {Node id=2761370984 version=1 V lat=-14.2739726,lon=-44.4284357}, {Node id=2761370974 version=1 V lat=-14.2727418,lon=-44.4281859}, {Node id=2761370955 version=1 V lat=-14.2716724,lon=-44.4290187}, {Node id=2761370948 version=1 V lat=-14.2710469,lon=-44.4288729}, {Node id=2761370944 version=1 V lat=-14.2708653,lon=-44.4267077}, {Node id=2761370973 version=1 V lat=-14.2727216,lon=-44.426666}, {Node id=2761370993 version=1 V lat=-14.2742551,lon=-44.4266036}, {Node id=2761371013 version=1 V lat=-14.2753446,lon=-44.4270199}, {Node id=2761371035 version=1 V lat=-14.2773018,lon=-44.4273114}, {Node id=2761371057 version=1 V lat=-14.2785527,lon=-44.4287272}, {Node id=2761371066 version=1 V lat=-14.2792589,lon=-44.4287272}, {Node id=2761371061 version=1 V lat=-14.2789159,lon=-44.4275196}, {Node id=2761371063 version=1 V lat=-14.2790571,lon=-44.4265203}, {Node id=2761371054 version=1 V lat=-14.2784922,lon=-44.4250629}, {Node id=2761371032 version=1 V lat=-14.2765754,lon=-44.4251878}, {Node id=2761371005 version=1 V lat=-14.2747797,lon=-44.4237096}, {Node id=2761371008 version=1 V lat=-14.2749814,lon=-44.4230017}, {Node id=2761371052 version=1 V lat=-14.2783711,lon=-44.4233765}, {Node id=3334762722 version=1 V lat=-14.278923,lon=-44.4230431}, {Node id=2761371070 version=1 V lat=-14.2792993,lon=-44.4225645}, {Node id=3334762720 version=1 V lat=-14.2793389,lon=-44.4213909}, {Node id=3334762721 version=1 V lat=-14.27963,lon=-44.4207793}, {Node id=2761371074 version=1 V lat=-14.2797431,lon=-44.4195456}, {Node id=3334762717 version=1 V lat=-14.279682,lon=-44.418301}, {Node id=3334762718 version=1 V lat=-14.2794636,lon=-44.4175392}, {Node id=3334762719 version=1 V lat=-14.2792765,lon=-44.4171852}, {Node id=2761371065 version=1 V lat=-14.2790773,lon=-44.4166309}, {Node id=3334762714 version=1 V lat=-14.279474,lon=-44.4154256}, {Node id=3334762715 version=1 V lat=-14.2796891,lon=-44.4142812}, {Node id=2761371078 version=2 V lat=-14.2796924,lon=-44.4137949}, {Node id=3334762716 version=1 V lat=-14.2796508,lon=-44.4132477}, {Node id=2761371076 version=1 V lat=-14.2797633,lon=-44.4124669}, {Node id=3334762712 version=1 V lat=-14.2801499,lon=-44.4118744}, {Node id=2761371080 version=2 V lat=-14.2808401,lon=-44.4112479}]}


Last errors/warnings:
- 00079.909 W: Conflicts detected - <html>There were 37 conflicts detected.</html>
- 00091.311 E: Handled by bug report queue: org.openstreetmap.josm.tools.bugreport.ReportedException: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=4546823 version=7 VT [way 46189247, way 46189788, way 46189777, way 46189794, way 46189800, way 46189774, way 46189755, way 46189858, way 46189829, way 46189837, way 46189855, way 46189045, way 46190572, way 43143589, way 43144186, way 43144064, way 43143798, way 43143919, way 43143940, way 43143755, way 43144100, way 43143723, way 43143730, way 43144235, way 43143617, way 43143613, way 43143900, way 43143946, way 43144091, way 43143783, way 43143902, way 43144019, way 43187615, way 43187403, way 43187196, way 321348875, way 321348867, way 321348869, way 321348871, way 43186888, way 26493159, way 43187724, way 321348870, way 203971493, way 321348872, way 321348873, way 321348876, way 321348874, way 321348868, way 203971489, way 203971492, way 321348878, way 43189040, way 321348877, way 321348827, way 321348879, way 321216313, way 43189260, way 46190732, way 46190726, way 200717921, way 46190724, way 46190725, way 46190730, way 46190727, way 46190731, way 46190558, way 46190566, way 46190564, way 46190589, way 46190615, way 46190612, way 46190586, way 46190603, way 46190595, way 46190593, way 46189069, way 46189032, way 46189042, way 46189039, way 46189864, way 46189834, way 46189838, way 46189861, way 46189747, way 46189826, way 46189783, way 46189782, way 46189807, way 46189779, way 46189240, way 178700006, way 178700007, way 178700009, way 178700008, way 43959319, way 326121110, way 326121109, way 46189386, way 326787327]} (changed by the following commands: ). Cause: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=4546823 version=7 VT [way 46189247, way 46189788, way 46189777, way 46189794, way 46189800, way 46189774, way 46189755, way 46189858, way 46189829, way 46189837, way 46189855, way 46189045, way 46190572, way 43143589, way 43144186, way 43144064, way 43143798, way 43143919, way 43143940, way 43143755, way 43144100, way 43143723, way 43143730, way 43144235, way 43143617, way 43143613, way 43143900, way 43143946, way 43144091, way 43143783, way 43143902, way 43144019, way 43187615, way 43187403, way 43187196, way 321348875, way 321348867, way 321348869, way 321348871, way 43186888, way 26493159, way 43187724, way 321348870, way 203971493, way 321348872, way 321348873, way 321348876, way 321348874, way 321348868, way 203971489, way 203971492, way 321348878, way 43189040, way 321348877, way 321348827, way 321348879, way 321216313, way 43189260, way 46190732, way 46190726, way 200717921, way 46190724, way 46190725, way 46190730, way 46190727, way 46190731, way 46190558, way 46190566, way 46190564, way 46190589, way 46190615, way 46190612, way 46190586, way 46190603, way 46190595, way 46190593, way 46189069, way 46189032, way 46189042, way 46189039, way 46189864, way 46189834, way 46189838, way 46189861, way 46189747, way 46189826, way 46189783, way 46189782, way 46189807, way 46189779, way 46189240, way 178700006, way 178700007, way 178700009, way 178700008, way 43959319, way 326121110, way 326121109, way 46189386, way 326787327]} (changed by the following commands: )


=== REPORTED CRASH DATA ===
sequence_information:
 - sequence_name: Sequence: Resolve to their versions
 - sequence_command: Sequence: Conflict Resolution
 - sequence_index: 0
 - sequence_commands: [org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand;org.openstreetmap.josm.command.SequenceCommand]
 - sequence_commands_descriptions: [Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution;Sequence: Conflict Resolution]

BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (18) of main
ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=4546823 version=7 VT [way 46189247, way 46189788, way 46189777, way 46189794, way 46189800, way 46189774, way 46189755, way 46189858, way 46189829, way 46189837, way 46189855, way 46189045, way 46190572, way 43143589, way 43144186, way 43144064, way 43143798, way 43143919, way 43143940, way 43143755, way 43144100, way 43143723, way 43143730, way 43144235, way 43143617, way 43143613, way 43143900, way 43143946, way 43144091, way 43143783, way 43143902, way 43144019, way 43187615, way 43187403, way 43187196, way 321348875, way 321348867, way 321348869, way 321348871, way 43186888, way 26493159, way 43187724, way 321348870, way 203971493, way 321348872, way 321348873, way 321348876, way 321348874, way 321348868, way 203971489, way 203971492, way 321348878, way 43189040, way 321348877, way 321348827, way 321348879, way 321216313, way 43189260, way 46190732, way 46190726, way 200717921, way 46190724, way 46190725, way 46190730, way 46190727, way 46190731, way 46190558, way 46190566, way 46190564, way 46190589, way 46190615, way 46190612, way 46190586, way 46190603, way 46190595, way 46190593, way 46189069, way 46189032, way 46189042, way 46189039, way 46189864, way 46189834, way 46189838, way 46189861, way 46189747, way 46189826, way 46189783, way 46189782, way 46189807, way 46189779, way 46189240, way 178700006, way 178700007, way 178700009, way 178700008, way 43959319, way 326121110, way 326121109, way 46189386, way 326787327]} (changed by the following commands: ), methodWarningFrom=null]
	at org.openstreetmap.josm.command.SequenceCommand.createReportedException(SequenceCommand.java:146)
	at org.openstreetmap.josm.command.SequenceCommand.undoCommands(SequenceCommand.java:140)
	at org.openstreetmap.josm.command.SequenceCommand.undoCommand(SequenceCommand.java:167)
	at org.openstreetmap.josm.command.SequenceCommand.undoCommands(SequenceCommand.java:138)
	at org.openstreetmap.josm.command.SequenceCommand.undoCommand(SequenceCommand.java:167)
	at org.openstreetmap.josm.data.UndoRedoHandler.lambda$undo$0(UndoRedoHandler.java:380)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(GuiHelper.java:224)
	at org.openstreetmap.josm.data.UndoRedoHandler.undo(UndoRedoHandler.java:372)
	at org.openstreetmap.josm.data.UndoRedoHandler.undo(UndoRedoHandler.java:362)
	at org.openstreetmap.josm.actions.UndoAction.actionPerformed(UndoAction.java:39)
	at java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810)
	at java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900)
	at java.desktop/javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:311)
	at java.desktop/javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:266)
	at java.desktop/javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2993)
	at java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2985)
	at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862)
	at java.desktop/java.awt.Component.processEvent(Component.java:6412)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
	at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4892)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=4546823 version=7 VT [way 46189247, way 46189788, way 46189777, way 46189794, way 46189800, way 46189774, way 46189755, way 46189858, way 46189829, way 46189837, way 46189855, way 46189045, way 46190572, way 43143589, way 43144186, way 43144064, way 43143798, way 43143919, way 43143940, way 43143755, way 43144100, way 43143723, way 43143730, way 43144235, way 43143617, way 43143613, way 43143900, way 43143946, way 43144091, way 43143783, way 43143902, way 43144019, way 43187615, way 43187403, way 43187196, way 321348875, way 321348867, way 321348869, way 321348871, way 43186888, way 26493159, way 43187724, way 321348870, way 203971493, way 321348872, way 321348873, way 321348876, way 321348874, way 321348868, way 203971489, way 203971492, way 321348878, way 43189040, way 321348877, way 321348827, way 321348879, way 321216313, way 43189260, way 46190732, way 46190726, way 200717921, way 46190724, way 46190725, way 46190730, way 46190727, way 46190731, way 46190558, way 46190566, way 46190564, way 46190589, way 46190615, way 46190612, way 46190586, way 46190603, way 46190595, way 46190593, way 46189069, way 46189032, way 46189042, way 46189039, way 46189864, way 46189834, way 46189838, way 46189861, way 46189747, way 46189826, way 46189783, way 46189782, way 46189807, way 46189779, way 46189240, way 178700006, way 178700007, way 178700009, way 178700008, way 43959319, way 326121110, way 326121109, way 46189386, way 326787327]} (changed by the following commands: )
	at org.openstreetmap.josm.data.osm.Relation.checkMembers(Relation.java:492)
	at org.openstreetmap.josm.data.osm.Relation.fireMembersChanged(Relation.java:504)
	at org.openstreetmap.josm.data.osm.Relation.setMembers(Relation.java:61)
	at org.openstreetmap.josm.data.osm.Relation.load(Relation.java:280)
	at org.openstreetmap.josm.command.Command.undoCommand(Command.java:172)
	at org.openstreetmap.josm.command.conflict.ConflictResolveCommand.undoCommand(ConflictResolveCommand.java:62)
	at org.openstreetmap.josm.command.SequenceCommand.undoCommands(SequenceCommand.java:138)
	... 46 more

=== RUNNING THREADS ===
Thread: ForkJoinPool.commonPool-worker-7 (30) of main
java.base@11.0.9/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
java.base@11.0.9/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

Thread: ForkJoinPool.commonPool-worker-3 (28) of main
java.base@11.0.9/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
java.base@11.0.9/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

Thread: styled-map-renderer-0 (56) of main
java.base@11.0.9/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
java.base@11.0.9/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

Thread: Finalizer (3) of system
java.base@11.0.9/java.lang.Object.wait(Native Method)
java.base@11.0.9/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
java.base@11.0.9/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
java.base@11.0.9/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:170)

Thread: ForkJoinPool.commonPool-worker-5 (29) of main
java.base@11.0.9/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:275)
java.base@11.0.9/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1619)
java.base@11.0.9/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

Thread: AWT-Shutdown (19) of system
java.base@11.0.9/java.lang.Object.wait(Native Method)
java.base@11.0.9/java.lang.Object.wait(Object.java:328)
java.desktop@11.0.9/sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:291)
java.base@11.0.9/java.lang.Thread.run(Thread.java:834)

Thread: styled-map-renderer-3 (59) of main
java.base@11.0.9/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
java.base@11.0.9/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

Thread: TimerQueue (20) of system
java.base@11.0.9/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
java.base@11.0.9/java.util.concurrent.DelayQueue.take(DelayQueue.java:217)
java.desktop@11.0.9/javax.swing.TimerQueue.run(TimerQueue.java:171)
java.base@11.0.9/java.lang.Thread.run(Thread.java:834)

Thread: Map Status Collector (55) of main
java.base@11.0.9/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
java.base@11.0.9/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
app//org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:438)
java.base@11.0.9/java.lang.Thread.run(Thread.java:834)

Thread: Timer-0 (43) of main
java.base@11.0.9/java.lang.Object.wait(Native Method)
java.base@11.0.9/java.util.TimerThread.mainLoop(Timer.java:553)
java.base@11.0.9/java.util.TimerThread.run(Timer.java:506)

Thread: JCS-ElementEventQueue-Thread-1 (37) of main
java.base@11.0.9/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
java.base@11.0.9/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
java.base@11.0.9/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
java.base@11.0.9/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
java.base@11.0.9/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
java.base@11.0.9/java.lang.Thread.run(Thread.java:834)

Thread: changeset-updater-0 (39) of main
java.base@11.0.9/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
java.base@11.0.9/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
java.base@11.0.9/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
java.base@11.0.9/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
java.base@11.0.9/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
java.base@11.0.9/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
java.base@11.0.9/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
java.base@11.0.9/java.lang.Thread.run(Thread.java:834)

Thread: styled-map-renderer-1 (57) of main
java.base@11.0.9/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:275)
java.base@11.0.9/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1619)
java.base@11.0.9/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

Thread: DestroyJavaVM (40) of main

Thread: File Watcher (22) of main
java.base@11.0.9/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
java.base@11.0.9/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:483)
java.base@11.0.9/java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:671)
java.base@11.0.9/sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:118)
app//org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:120)
app//org.openstreetmap.josm.io.FileWatcher$$Lambda$300/0x000000084037f040.run(Unknown Source)
java.base@11.0.9/java.lang.Thread.run(Thread.java:834)

Thread: Timer-1 (53) of main
java.base@11.0.9/java.lang.Object.wait(Native Method)
java.base@11.0.9/java.lang.Object.wait(Object.java:328)
java.base@11.0.9/java.util.TimerThread.mainLoop(Timer.java:527)
java.base@11.0.9/java.util.TimerThread.run(Timer.java:506)

Thread: styled-map-renderer-2 (58) of main
java.base@11.0.9/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
java.base@11.0.9/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

Thread: AWT-XAWT (17) of system
java.desktop@11.0.9/sun.awt.X11.XToolkit.waitForEvents(Native Method)
java.desktop@11.0.9/sun.awt.X11.XToolkit.run(XToolkit.java:684)
java.desktop@11.0.9/sun.awt.X11.XToolkit.run(XToolkit.java:648)
java.base@11.0.9/java.lang.Thread.run(Thread.java:834)

Thread: Common-Cleaner (10) of InnocuousThreadGroup
java.base@11.0.9/java.lang.Object.wait(Native Method)
java.base@11.0.9/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
java.base@11.0.9/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:148)
java.base@11.0.9/java.lang.Thread.run(Thread.java:834)
java.base@11.0.9/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:134)

Thread: Reference Handler (2) of system
java.base@11.0.9/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
java.base@11.0.9/java.lang.ref.Reference.processPendingReferences(Reference.java:241)
java.base@11.0.9/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:213)

Thread: FileSystemWatchService (21) of main
java.base@11.0.9/sun.nio.fs.LinuxWatchService.poll(Native Method)
java.base@11.0.9/sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:316)
java.base@11.0.9/java.lang.Thread.run(Thread.java:834)

Thread: main-worker-0 (52) of main
java.base@11.0.9/jdk.internal.misc.Unsafe.park(Native Method)
java.base@11.0.9/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
java.base@11.0.9/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
java.base@11.0.9/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
java.base@11.0.9/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
java.base@11.0.9/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
java.base@11.0.9/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
java.base@11.0.9/java.lang.Thread.run(Thread.java:834)

Thread: Java2D Disposer (14) of system
java.base@11.0.9/java.lang.Object.wait(Native Method)
java.base@11.0.9/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
java.base@11.0.9/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
java.desktop@11.0.9/sun.java2d.Disposer.run(Disposer.java:144)
java.base@11.0.9/java.lang.Thread.run(Thread.java:834)

Thread: AWT-EventQueue-0 (18) of main
Stacktrace see above.

Thread: Weak reference cleaner (24) of main
java.base@11.0.9/java.lang.Object.wait(Native Method)
java.base@11.0.9/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
java.base@11.0.9/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
app//org.openstreetmap.josm.tools.ListenableWeakReference.clean(ListenableWeakReference.java:60)
app//org.openstreetmap.josm.tools.ListenableWeakReference$$Lambda$356/0x00000008403fc840.run(Unknown Source)
java.base@11.0.9/java.lang.Thread.run(Thread.java:834)

Thread: Signal Dispatcher (4) of system

Attachments (3)

josm_20005_order.txt (13.5 KB ) - added by skyper 4 years ago.
order of objects
josm_20005_conflict_order.txt (6.7 KB ) - added by GerdP 4 years ago.
order in conflict dialog
josm_20005_conflict_order_skyper.txt (6.6 KB ) - added by skyper 4 years ago.
my conflict order

Download all attachments as: .zip

Change History (21)

comment:1 by skyper, 4 years ago

Description: modified (diff)

comment:2 by GerdP, 4 years ago

I cannot reproduce this.

comment:3 by skyper, 4 years ago

I tried again with empty preferences and still get the exception.

comment:4 by skyper, 4 years ago

Just for the record, I use the josm-latest ubuntu package and its containing .jar file which should be the same as josm-latest.jar.

comment:5 by GerdP, 4 years ago

I still cannot reproduce. I assume that this depends on the order in which the elements appear in the conflict list. Can you try if the patch for #19792 (19792.2.patch) solves it?

by skyper, 4 years ago

Attachment: josm_20005_order.txt added

order of objects

comment:6 by skyper, 4 years ago

Sorry, I will not be able to apply the patch, atm.

I attached the order which I get when selecting all conflicts and then use "Advanced Info". Maybe, that can help. The way is the first conflict.

by GerdP, 4 years ago

order in conflict dialog

comment:7 by GerdP, 4 years ago

I get the same list, but the list doesn't show the same order as the list in the conflict diaog. I found one possible reason for different processing in DatasetMerger. It iterates over the elements in an (unordered) HashSet objectsToDelete. This iteration produces the conflicts.
I marked all elements in the conflict list and press Ctrl+C to produce another list, see josm_20005_conflict_order.txt

by skyper, 4 years ago

my conflict order

comment:8 by skyper, 4 years ago

My conflict order is indeed different. Strange.

comment:9 by GerdP, 4 years ago

Yes, order is more or less random. Still, I see no reason for the different results yet. I also don't think yet that my patch will solve this.

comment:10 by GerdP, 4 years ago

Just to make sure: Please double check that you don't do any steps beside those listed, else update the list please.

comment:11 by skyper, 4 years ago

I just rechecked for the tenth time now. I obviously forgot that you need to enable expert mode for the conflict panel context menu item but no other step before or in-between than that. Starting without preferences using the josm-latest.jar from this website.

Also, I check if there is any differences between the .jar file from the ubuntu package and the one on the website, but they are the same as diff tells me.

Last edited 4 years ago by skyper (previous) (diff)

comment:12 by GerdP, 4 years ago

OK, so I'll try to reproduce it with your java version

comment:13 by skyper, 4 years ago

Description: modified (diff)

update of system info. This is from plain start without preferences

comment:14 by GerdP, 4 years ago

Bingo! With openjdk version "11.0.9" 2020-10-20 and
java -ea -jar josm-latest.jar
on the command line I can reproduce. Now I have to find out how to use that in my Eclipse Installation.

comment:15 by GerdP, 4 years ago

In 17282/josm:

see #20005: DataIntegrityProblemException: Deleted member referenced undoing conflict resolutions
partly revert r17226: Don't use Utils.toUnmodifiableMap()

It seems this can lead to a change in the order of objects returned when iterating over the clonemap.

comment:16 by skyper, 4 years ago

This is fixed for me.

comment:17 by GerdP, 4 years ago

Milestone: 20.10
Resolution: fixed
Status: newclosed

comment:18 by Don-vip, 4 years ago

Milestone: 20.1020.11

Milestone renamed

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.