﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
23881	DataIntegrityProblemException: identified sequence of equal nodes in a node list	Bishal Gyawali	Gubaer	"==== 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.

{{{
Revision:19160
Build-Date:2024-08-01 15:31:59

Identification: JOSM/1.5 (19160 en) Windows 11 64-Bit
OS Build number: Windows 10 Pro 24H2 (26120)
Memory Usage: 486 MB / 1980 MB (263 MB allocated, but free)
Java version: 21.0.4+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080x32bpp@60Hz (scaling 1.25×1.25)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.19160, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]
Dataset consistency test: No problems found

Plugins:
+ BuildingGeneralization (36)
+ FastDraw (36226)
+ buildings_tools (36226)
+ contourmerge (v0.2.1)

Last errors/warnings:
- 00086.297 W: java.io.IOException: Attribution is not loaded yet
- 00086.298 W: java.io.IOException: Attribution is not loaded yet
- 00086.298 W: java.io.IOException: Attribution is not loaded yet
- 00086.299 W: java.io.IOException: Attribution is not loaded yet
- 00086.299 W: java.io.IOException: Attribution is not loaded yet
- 00086.300 W: java.io.IOException: Attribution is not loaded yet
- 00086.301 W: java.io.IOException: Attribution is not loaded yet
- 00086.302 W: java.io.IOException: Attribution is not loaded yet
- 00086.303 W: java.io.IOException: Attribution is not loaded yet
- 02796.258 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: identified sequence of equal nodes in a node list, illegal sequence starts a position 0



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (37) of main
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: identified sequence of equal nodes in a node list, illegal sequence starts a position 0
	at org.openstreetmap.josm.plugins.contourmerge.WaySlice.ensureInvariantsForClosedWay(WaySlice.java:316)
	at org.openstreetmap.josm.plugins.contourmerge.WaySlice.replaceNodesInClosedWay(WaySlice.java:382)
	at org.openstreetmap.josm.plugins.contourmerge.WaySlice.replaceNodes(WaySlice.java:406)
	at org.openstreetmap.josm.plugins.contourmerge.ContourMergeModel.lambda$buildSourceChangeCommands$3(ContourMergeModel.java:441)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source)
	at org.openstreetmap.josm.plugins.contourmerge.ContourMergeModel.buildContourAlignCommand(ContourMergeModel.java:514)
	at org.openstreetmap.josm.plugins.contourmerge.ContourMergeModel.buildContourAlignCommand(ContourMergeModel.java:499)
	at org.openstreetmap.josm.plugins.contourmerge.ContourMergeMode.lambda$onDrop$9(ContourMergeMode.java:283)
	at java.base/java.util.Optional.ifPresent(Unknown Source)
	at org.openstreetmap.josm.plugins.contourmerge.ContourMergeMode.onDrop(ContourMergeMode.java:276)
	at org.openstreetmap.josm.plugins.contourmerge.ContourMergeMode.mouseReleased(ContourMergeMode.java:113)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
	at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.Component.processEvent(Unknown Source)
	at java.desktop/java.awt.Container.processEvent(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
}}}
"	defect	closed	normal		Plugin contourmerge		duplicate	template_report	
