﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
22276	DataIntegrityProblemException: Deleted node referenced in ContourMergeMode.onDrop	anonymous	anonymous	"==== What steps will reproduce the problem?
1. 
2. 
3. 

==== What is the expected result?

==== What happens instead?

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-03-17 18:58:40 +0100 (Wed, 17 Mar 2021)
Build-Date:2021-03-17 17:59:56
Revision:17580
Relative:URL: ^/trunk

Identification: JOSM/1.5 (17580 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19044)
Memory Usage: 433 MB / 1820 MB (161 MB allocated, but free)
Java version: 1.8.0_341-b10, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32

Dataset consistency test:
[DELETED REFERENCED] {Way id=-110386 version=0 MV nodes=[{Node id=-104144 version=0 MVD lat=27.63571734966215,lon=85.51483154162764}, {Node id=-104145 version=0 MV lat=27.635574777082475,lon=85.51483154162764}, {Node id=-104146 version=0 MV lat=27.63550349072299,lon=85.51484629377723}, {Node id=-104147 version=0 MV lat=27.63547259995278,lon=85.51505550608039}, {Node id=-104148 version=0 MV lat=27.63546665941904,lon=85.51537468895316}, {Node id=9933800865 version=1 V lat=27.6353871,lon=85.5155678}, {Node id=9933800866 version=1 V lat=27.6357518,lon=85.5150877}, {Node id=9933800867 version=1 V lat=27.6357364,lon=85.5149026}, {Node id=9933800868 version=1 V lat=27.6357589,lon=85.5147859}]} refers to deleted primitive {Node id=-104144 version=0 MVD lat=27.63571734966215,lon=85.51483154162764}


Plugins:
+ FastDraw (35640)
+ buildings_tools (35740)
+ contourmerge (v0.1.4)
+ imagery_offset_db (35640)
+ terracer (35640)
+ turnrestrictions (35640)
+ utilsplugin2 (35842)

Last errors/warnings:
- 05197.546 E: Object still in use - <html><strong>Failed</strong> to delete <strong>node 9814435792</strong>. It is still referred to by way 1069229021.<br>Please load the way, remove the reference to the node, and upload again.<br><br>Click <strong>Prepare conflict resolution</strong> to load them now.<br>If necessary JOSM will create conflicts which you can resolve in the Conflict Resolution Dialog.</html>
- 05231.999 W: Unknown remote control parameter title, skipping it
- 05788.906 W: Unknown remote control parameter title, skipping it
- 06291.174 W: Unknown remote control parameter title, skipping it
- 06965.065 W: Unknown remote control parameter title, skipping it
- 07951.002 W: Unknown remote control parameter title, skipping it
- 08933.873 W: Unknown remote control parameter title, skipping it
- 09051.972 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-110377 version=0 MV nodes=[{Node id=-104124 version=0 MVD lat=27.635742299250445,lon=85.51483489505948}, {Node id=-104125 version=0 MV lat=27.635560519220245,lon=85.51484025947751}, {Node id=-104126 version=0 MV lat=27.635511212820134,lon=85.51485031776132}, {Node id=-104127 version=0 MV lat=27.635491015011244,lon=85.51486574046315}, {Node id=-104128 version=0 MV lat=27.635482104212027,lon=85.51497034661473}, {Node id=-104129 version=0 MV lat=27.63547794583881,lon=85.51525801353158}, {Node id=-104130 version=0 MV lat=27.635486262585093,lon=85.51536798410119}, {Node id=-104131 version=0 MV lat=27.635496361490432,lon=85.51537468962373}, {Node id=-104132 version=0 MV lat=27.635507648501175,lon=85.51538005404176}, {Node id=9933800863 version=1 V lat=27.6354429,lon=85.5154163}, {Node id=9933800864 version=1 V lat=27.6353461,lon=85.5155591}, {Node id=9933800865 version=1 V lat=27.6353871,lon=85.5155678}, {Node id=9933800866 version=1 V lat=27.6357518,lon=85.5150877}, {Node id=9933800866 version=1 V lat=27.6357518,lon=85.5150877}, {Node id=9933800867 version=1 V lat=27.6357364,lon=85.5149026}, {Node id=9933800868 version=1 V lat=27.6357589,lon=85.5147859}]} (changed by the following commands: [Sequence: Draw the way by mouse], [Sequence: Merging Contour])
- 09071.335 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-110377 version=0 MV nodes=[{Node id=-104124 version=0 MVD lat=27.635742299250445,lon=85.51483489505948}, {Node id=-104125 version=0 MV lat=27.635560519220245,lon=85.51484025947751}, {Node id=-104126 version=0 MV lat=27.635511212820134,lon=85.51485031776132}, {Node id=-104127 version=0 MV lat=27.635491015011244,lon=85.51486574046315}, {Node id=-104128 version=0 MV lat=27.635482104212027,lon=85.51497034661473}, {Node id=-104129 version=0 MV lat=27.63547794583881,lon=85.51525801353158}, {Node id=9933800866 version=1 V lat=27.6357518,lon=85.5150877}, {Node id=9933800865 version=1 V lat=27.6353871,lon=85.5155678}, {Node id=9933800864 version=1 V lat=27.6353461,lon=85.5155591}, {Node id=9933800863 version=1 V lat=27.6354429,lon=85.5154163}, {Node id=9933800864 version=1 V lat=27.6353461,lon=85.5155591}, {Node id=9933800865 version=1 V lat=27.6353871,lon=85.5155678}, {Node id=9933800866 version=1 V lat=27.6357518,lon=85.5150877}, {Node id=9933800866 version=1 V lat=27.6357518,lon=85.5150877}, {Node id=9933800867 version=1 V lat=27.6357364,lon=85.5149026}, {Node id=9933800868 version=1 V lat=27.6357589,lon=85.5147859}]} (changed by the following commands: [Sequence: Draw the way by mouse], [Sequence: Merging Contour])
- 09137.487 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-110386 version=0 MV nodes=[{Node id=-104144 version=0 MVD lat=27.63571734966215,lon=85.51483154162764}, {Node id=-104145 version=0 MV lat=27.635574777082475,lon=85.51483154162764}, {Node id=-104146 version=0 MV lat=27.63550349072299,lon=85.51484629377723}, {Node id=-104147 version=0 MV lat=27.63547259995278,lon=85.51505550608039}, {Node id=-104148 version=0 MV lat=27.63546665941904,lon=85.51537468895316}, {Node id=9933800865 version=1 V lat=27.6353871,lon=85.5155678}, {Node id=9933800866 version=1 V lat=27.6357518,lon=85.5150877}, {Node id=9933800867 version=1 V lat=27.6357364,lon=85.5149026}, {Node id=9933800868 version=1 V lat=27.6357589,lon=85.5147859}]} (changed by the following commands: [Sequence: Draw the way by mouse], [Sequence: Merging Contour])



=== REPORTED CRASH DATA ===
sequence_information:
 - sequence_name: Sequence: Merging Contour
 - sequence_command: Change way ‎0‎ (9 nodes)‌
 - sequence_index: 0
 - sequence_commands: [org.openstreetmap.josm.command.ChangeCommand;org.openstreetmap.josm.command.DeleteCommand;org.openstreetmap.josm.command.DeleteCommand;org.openstreetmap.josm.command.DeleteCommand]
 - sequence_commands_descriptions: [Change way ‎0‎ (9 nodes)‌;Delete node node;Delete node node;Delete node node]

BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (19) of main
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-110386 version=0 MV nodes=[{Node id=-104144 version=0 MVD lat=27.63571734966215,lon=85.51483154162764}, {Node id=-104145 version=0 MV lat=27.635574777082475,lon=85.51483154162764}, {Node id=-104146 version=0 MV lat=27.63550349072299,lon=85.51484629377723}, {Node id=-104147 version=0 MV lat=27.63547259995278,lon=85.51505550608039}, {Node id=-104148 version=0 MV lat=27.63546665941904,lon=85.51537468895316}, {Node id=9933800865 version=1 V lat=27.6353871,lon=85.5155678}, {Node id=9933800866 version=1 V lat=27.6357518,lon=85.5150877}, {Node id=9933800867 version=1 V lat=27.6357364,lon=85.5149026}, {Node id=9933800868 version=1 V lat=27.6357589,lon=85.5147859}]} (changed by the following commands: [Sequence: Draw the way by mouse], [Sequence: Merging Contour])
	at org.openstreetmap.josm.data.osm.Way.checkNodes(Way.java:553)
	at org.openstreetmap.josm.data.osm.Way.fireNodesChanged(Way.java:571)
	at org.openstreetmap.josm.data.osm.Way.setNodes(Way.java:67)
	at org.openstreetmap.josm.data.osm.Way.cloneFrom(Way.java:306)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.cloneFrom(OsmPrimitive.java:864)
	at org.openstreetmap.josm.command.ChangeCommand.executeCommand(ChangeCommand.java:67)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:112)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:300)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:354)
	at org.openstreetmap.josm.plugins.contourmerge.ContourMergeMode.lambda$onDrop$9(ContourMergeMode.java:293)
	at java.util.Optional.ifPresent(Unknown Source)
	at org.openstreetmap.josm.plugins.contourmerge.ContourMergeMode.onDrop(ContourMergeMode.java:284)
	at org.openstreetmap.josm.plugins.contourmerge.ContourMergeMode.mouseReleased(ContourMergeMode.java:121)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(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.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(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)
}}}
"	defect	closed	normal		Plugin contourmerge		needinfo	template_report	
