﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20594	NumberFormatException at TagConflictResolutionUtil$AutomaticCombine.resolve	anonymous	Don-vip	"==== What steps will reproduce the problem?
1. Select 3 ways
2. Selected combine
3. 

==== What is the expected result?

An unexpected exception message.

==== What happens instead?

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Revision:17428
Is-Local-Build:true
Build-Date:2020-12-30 15:56:02

Identification: JOSM/1.5 (17428 SVN en) Mac OS X 10.13.6
OS Build number: Mac OS X 10.13.6 (17G14033)
Memory Usage: 1720 MB / 8192 MB (854 MB allocated, but free)
Java version: 15.0.1+9, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 418564416 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
VM arguments: [--module-path=/Applications/JOSM.app/Contents/app/mods]
Dataset consistency test: No problems found

Plugins:
+ apache-commons (35524)
+ photo_geotagging (35715)
+ reverter (35688)

Last errors/warnings:
- 02208.354 W: java.net.NoRouteToHostException: No route to host
- 02208.354 W: java.net.NoRouteToHostException: No route to host
- 02208.354 W: java.net.NoRouteToHostException: No route to host
- 02208.354 W: java.net.NoRouteToHostException: No route to host
- 02208.354 W: java.net.NoRouteToHostException: No route to host
- 02208.354 W: java.net.NoRouteToHostException: No route to host
- 02208.354 W: java.net.NoRouteToHostException: No route to host
- 02208.354 W: java.net.NoRouteToHostException: No route to host
- 02208.354 W: java.net.NoRouteToHostException: No route to host
- 10911.864 E: Handled by bug report queue: java.lang.NumberFormatException: For input string: ""149461897; 149462036""



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (23) of main
java.lang.NumberFormatException: For input string: ""149461897; 149462036""
	at java.base/java.lang.NumberFormatException.forInputString(Unknown Source)
	at java.base/java.lang.Long.parseLong(Unknown Source)
	at java.base/java.lang.Long.valueOf(Unknown Source)
	at java.base/java.util.Comparator.lambda$comparing$77a9974f$1(Unknown Source)
	at java.base/java.util.TreeMap.put(Unknown Source)
	at java.base/java.util.TreeMap.put(Unknown Source)
	at java.base/java.util.TreeSet.add(Unknown Source)
	at java.base/java.util.AbstractCollection.addAll(Unknown Source)
	at java.base/java.util.TreeSet.addAll(Unknown Source)
	at org.openstreetmap.josm.gui.conflict.tags.TagConflictResolutionUtil$AutomaticCombine.resolve(TagConflictResolutionUtil.java:302)
	at org.openstreetmap.josm.gui.conflict.tags.TagConflictResolutionUtil.applyAutomaticTagConflictResolution(TagConflictResolutionUtil.java:215)
	at org.openstreetmap.josm.gui.conflict.tags.TagConflictResolutionUtil.applyAutomaticTagConflictResolution(TagConflictResolutionUtil.java:151)
	at org.openstreetmap.josm.gui.conflict.tags.CombinePrimitiveResolverDialog.launchIfNecessary(CombinePrimitiveResolverDialog.java:492)
	at org.openstreetmap.josm.actions.CombineWayAction.combineWaysWorker(CombineWayAction.java:191)
	at org.openstreetmap.josm.actions.CombineWayAction.actionPerformed(CombineWayAction.java:298)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source)
	at java.desktop/com.apple.laf.ScreenMenuItem.actionPerformed(Unknown Source)
	at java.desktop/java.awt.MenuItem.processActionEvent(Unknown Source)
	at java.desktop/java.awt.MenuItem.processEvent(Unknown Source)
	at java.desktop/java.awt.MenuComponent.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.MenuComponent.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	21.03	Core		fixed	template_report combine way conflict	
