﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
19849	DataIntegrityProblemException after trying to solve conflicts	watergeus	team	"==== What steps will reproduce the problem?
1. No idea. Problem pops up after trying to upload changes
2. tried to solve problem with accepting my modifications
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: 2020-09-06 16:54:59 +0200 (Sun, 06 Sep 2020)
Build-Date:2020-09-07 01:30:48
Revision:17013
Relative:URL: ^/trunk

Identification: JOSM/1.5 (17013 en) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 1803 (17134)
Memory Usage: 943 MB / 1820 MB (198 MB allocated, but free)
Java version: 1.8.0_261-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080 (scaling 1.0x1.0), \Display1 1920x1080 (scaling 1.0x1.0)
Maximum Screen Size: 1920x1080
Best cursor sizes: 16x16 -> 32x32, 32x32 -> 32x32
Program arguments: [%UserProfile%\AppData\Local\Temp\5480-tasks.geoJSON]

Dataset consistency test:
[DELETED REFERENCED] {Way id=644789034 version=1 MVT nodes=[{Node id=6063015136 version=2 V lat=-1.0814836,lon=35.7863722}, {Node id=6063028799 version=1 V lat=-1.07902,lon=35.7922623}, {Node id=6063028800 version=1 V lat=-1.0784159,lon=35.7923174}, {Node id=6063028801 version=1 V lat=-1.0780117,lon=35.7878849}, {Node id=6063028802 version=1 V lat=-1.0784976,lon=35.7867194}, {Node id=6063028804 version=1 V lat=-1.0789303,lon=35.7876391}, {Node id=6063009647 version=2 V lat=-1.0805075,lon=35.7882972}, {Node id=6063028798 version=1 MVD lat=-1.0813361,lon=35.7863106}]} refers to deleted primitive {Node id=6063028798 version=1 MVD lat=-1.0813361,lon=35.7863106}


Plugins:
+ BuildingGeneralization (23)
+ FastDraw (35499)
+ ImproveOsm (199)
+ SimplifyArea (35405)
+ apache-commons (35524)
+ apache-http (35092)
+ auto_tools (73)
+ buildings_tools (35500)
+ changeset-viewer (22)
+ continuosDownload (91)
+ contourmerge (v0.1.6)
+ ejml (35313)
+ geochat (35405)
+ geotools (35169)
+ gson (35313)
+ imagery_offset_db (35405)
+ jna (35092)
+ jogl (1.2.3)
+ jts (35122)
+ log4j (35092)
+ mapathoner (1.0.8)
+ mapwithai-dev (aa99c12)
+ markseen (14)
+ measurement (35405)
+ merge-overlap (35248)
+ reltoolbox (35529)
+ reverter (35499)
+ scripting (30798)
+ terracer (35499)
+ todo (30306)
+ touchscreenhelper (35248)
+ turnrestrictions (35515)
+ utilsplugin2 (35487)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/HotNepal&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways&zip=1

Map paint styles:
+ https://github.com/MissingMaps/josm_styles/archive/master.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/Fixme&zip=1
- https://github.com/MarkCupitt/HOT-Osm-Validation/blob/master/HOT-Validate.mapcss
- https://github.com/hotosm/HDM-JOSM-style/archive/master.zip
- %UserProfile%\Desktop\JOSM\HOT-Osm-Validation-master.zip
- https://github.com/osmlab/appledata/archive/josm_paint_inline_validation.zip
- %UserProfile%\Desktop\JOSM\Styles_Highway_Nodes.zip
+ %UserProfile%\Desktop\JOSM\HOT-Osm-Validation-master\HOT-Osm-Validation-master\HOT-Validate1.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Last errors/warnings:
- 00002.237 W: Failed to scan file 'site-github.com-_maripo_JOSM_easypresets_git.txt' for plugin information. Skipping.
- 00002.239 E: org.openstreetmap.josm.plugins.PluginListParseException: java.io.IOException: Illegal entry in plugin list.. Cause: java.io.IOException: Illegal entry in plugin list.
- 00003.087 W: Failed to scan file 'site-github.com-_maripo_JOSM_easypresets_git.txt' for plugin information. Skipping.
- 00003.088 E: org.openstreetmap.josm.plugins.PluginListParseException: java.io.IOException: Illegal entry in plugin list.. Cause: java.io.IOException: Illegal entry in plugin list.
- 00005.605 W: Failed to parse Mappaint styles from 'https://github.com/MarkCupitt/HOT-Osm-Validation/blob/master/HOT-Validate.mapcss'. Error was: Encountered "" ""<"" ""< """" at line 6, column 1.
- 00005.605 E: org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.ParseException: Encountered "" ""<"" ""< """" at line 6, column 1.
- 03556.181 E: Error header: Precondition failed: Node 6063009647 is still used by ways 644789034.
- 03556.311 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=412, Error Header=<Precondition failed: Node 6063009647 is still used by ways 644789034.>
- 03556.319 E: Object still in use - <html><strong>Failed</strong> to delete <strong>node 6063009647</strong>. It is still referred to by way 644789034.<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>
- 03564.572 E: Handled by bug report queue: org.openstreetmap.josm.tools.bugreport.ReportedException: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=644789034 version=1 MVT nodes=[{Node id=6063015136 version=2 V lat=-1.0814836,lon=35.7863722}, {Node id=6063028799 version=1 V lat=-1.07902,lon=35.7922623}, {Node id=6063028800 version=1 V lat=-1.0784159,lon=35.7923174}, {Node id=6063028801 version=1 V lat=-1.0780117,lon=35.7878849}, {Node id=6063028802 version=1 V lat=-1.0784976,lon=35.7867194}, {Node id=6063028804 version=1 V lat=-1.0789303,lon=35.7876391}, {Node id=6063009647 version=2 V lat=-1.0805075,lon=35.7882972}, {Node id=6063028798 version=1 MVD lat=-1.0813361,lon=35.7863106}]} (changed by the following commands: ). Cause: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=644789034 version=1 MVT nodes=[{Node id=6063015136 version=2 V lat=-1.0814836,lon=35.7863722}, {Node id=6063028799 version=1 V lat=-1.07902,lon=35.7922623}, {Node id=6063028800 version=1 V lat=-1.0784159,lon=35.7923174}, {Node id=6063028801 version=1 V lat=-1.0780117,lon=35.7878849}, {Node id=6063028802 version=1 V lat=-1.0784976,lon=35.7867194}, {Node id=6063028804 version=1 V lat=-1.0789303,lon=35.7876391}, {Node id=6063009647 version=2 V lat=-1.0805075,lon=35.7882972}, {Node id=6063028798 version=1 MVD lat=-1.0813361,lon=35.7863106}]} (changed by the following commands: )


=== REPORTED CRASH DATA ===
sequence_information:
 - sequence_name: Sequence: Resolve to my versions
 - sequence_command: Sequence: Conflict Resolution
 - sequence_index: 1
 - sequence_commands: [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]

BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (17) of main
ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=644789034 version=1 MVT nodes=[{Node id=6063015136 version=2 V lat=-1.0814836,lon=35.7863722}, {Node id=6063028799 version=1 V lat=-1.07902,lon=35.7922623}, {Node id=6063028800 version=1 V lat=-1.0784159,lon=35.7923174}, {Node id=6063028801 version=1 V lat=-1.0780117,lon=35.7878849}, {Node id=6063028802 version=1 V lat=-1.0784976,lon=35.7867194}, {Node id=6063028804 version=1 V lat=-1.0789303,lon=35.7876391}, {Node id=6063009647 version=2 V lat=-1.0805075,lon=35.7882972}, {Node id=6063028798 version=1 MVD lat=-1.0813361,lon=35.7863106}]} (changed by the following commands: ), methodWarningFrom=null]
	at org.openstreetmap.josm.command.SequenceCommand.createReportedException(SequenceCommand.java:146)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:114)
	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.gui.dialogs.ConflictDialog$ResolveToAction.actionPerformed(ConflictDialog.java:526)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
	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)
Caused by: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=644789034 version=1 MVT nodes=[{Node id=6063015136 version=2 V lat=-1.0814836,lon=35.7863722}, {Node id=6063028799 version=1 V lat=-1.07902,lon=35.7922623}, {Node id=6063028800 version=1 V lat=-1.0784159,lon=35.7923174}, {Node id=6063028801 version=1 V lat=-1.0780117,lon=35.7878849}, {Node id=6063028802 version=1 V lat=-1.0784976,lon=35.7867194}, {Node id=6063028804 version=1 V lat=-1.0789303,lon=35.7876391}, {Node id=6063009647 version=2 V lat=-1.0805075,lon=35.7882972}, {Node id=6063028798 version=1 MVD lat=-1.0813361,lon=35.7863106}]} (changed by the following commands: )
	at org.openstreetmap.josm.data.osm.Way.checkNodes(Way.java:537)
	at org.openstreetmap.josm.data.osm.Way.fireNodesChanged(Way.java:555)
	at org.openstreetmap.josm.data.osm.Way.setNodes(Way.java:66)
	at org.openstreetmap.josm.data.osm.DataSet.lambda$unlinkNodeFromWays$14(DataSet.java:799)
	at org.openstreetmap.josm.data.osm.DataSet.update(DataSet.java:989)
	at org.openstreetmap.josm.data.osm.DataSet.unlinkNodeFromWays(DataSet.java:791)
	at org.openstreetmap.josm.data.osm.DataSet.lambda$unlinkReferencesToPrimitive$17(DataSet.java:843)
	at org.openstreetmap.josm.data.osm.DataSet.update(DataSet.java:989)
	at org.openstreetmap.josm.data.osm.DataSet.unlinkReferencesToPrimitive(DataSet.java:840)
	at org.openstreetmap.josm.command.conflict.DeletedStateConflictResolveCommand.deleteMy(DeletedStateConflictResolveCommand.java:77)
	at org.openstreetmap.josm.command.conflict.DeletedStateConflictResolveCommand.executeCommand(DeletedStateConflictResolveCommand.java:60)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:112)
	... 43 more
}}}"	defect	closed	normal		Core	tested	duplicate	template_report conflict	
