﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
15428	NoSuchElementException: Knife tool does not split ways at existing nodes	skquinn	Rub21	"==== What steps will reproduce the problem?
1. Select AUto Tools/Knife Tool
2. Try to split a way at an existing node
3. Watch error dialog pop up

==== What is the expected result?

That the way is split without an error

==== What happens instead?

The error message

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-10-03 21:43:00 +0200 (Tue, 03 Oct 2017)
Build-Date:2017-10-03 19:50:21
Revision:12921
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12921 en) Linux Ubuntu 16.04.3 LTS
Memory Usage: 308 MB / 1979 MB (137 MB allocated, but free)
Java version: 1.8.0_144-b01, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: :0.0 1360x768, :0.1 1366x768
Maximum Screen Size: 1366x768
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true, -Djosm.home=<josm.pref>]
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (33692)
+ CommandLine (33368)
+ Create_grid_of_ways (32699)
+ FastDraw (33583)
+ HouseNumberTaggingTool (33160)
+ OpeningHoursEditor (33185)
+ SeaMapEditor (33054)
+ ShapeTools (1220)
+ TombPlugin (51)
+ alignways (33182)
+ apache-commons (33668)
+ apache-http (32699)
+ auto_tools (1494971731)
+ buildings_tools (33004)
+ continuosDownload (64)
+ contourmerge (1032)
+ download_along (32946)
+ graphview (33004)
+ indoor_sweepline (33007)
+ indoorhelper (33632)
+ junctionchecking (33397)
+ log4j (32699)
+ measurement (33088)
+ merge-overlap (33436)
+ michigan_left (33004)
+ osmarender (33004)
+ pbf (33568)
+ poly (33570)
+ reltoolbox (33694)
+ reverter (33572)
+ rex (31)
+ routing (33004)
+ splinex (33555)
+ tageditor (33579)
+ tagging-preset-tester (33004)
+ terracer (33608)
+ turnlanes-tagging (254)
+ turnrestrictions (33537)
+ undelete (33480)
+ utilsplugin2 (33702)
+ waydownloader (33574)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Towers&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Disc_Golf_Course&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Golf_Course&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Bus_lanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Animal_facilities&zip=1

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/DestinationSignRelation&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/NoFeature&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/LayerChecker&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1
- https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Noname&zip=1
- <josm.pref>/styles/indoor.mapcss
- https://raw.githubusercontent.com/OpenSeaMap/josm/master/BNIWR_MapCSS.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Power&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/AdvertisingStyle&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Bench&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Historic_Stones&zip=1

Validator rules:
- <josm.pref>/validator/indoorhelper.validator.mapcss

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Handled by bug report queue: java.util.NoSuchElementException
- W: Unable to detect current tested version of JOSM:: java.lang.NumberFormatException: For input string: ""<html>12921
- E: Handled by bug report queue: java.util.NoSuchElementException
- W: Unable to detect current tested version of JOSM:: java.lang.NumberFormatException: For input string: ""<html>12921
- E: Handled by bug report queue: java.util.NoSuchElementException
- W: Unable to detect current tested version of JOSM:: java.lang.NumberFormatException: For input string: ""<html>12921
- E: Handled by bug report queue: java.util.NoSuchElementException
- W: Unable to detect current tested version of JOSM:: java.lang.NumberFormatException: For input string: ""<html>12921

OSM API: http://api.opengeofiction.net/api


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (17) of main
java.util.NoSuchElementException
	at java.util.LinkedList$ListItr.next(LinkedList.java:890)
	at org.openstreetmap.josm.command.SequenceCommand.<init>(SequenceCommand.java:57)
	at org.openstreetmap.josm.command.SequenceCommand.<init>(SequenceCommand.java:66)
	at org.openstreetmap.josm.plugins.auto_tools.actions.SplittingTool.mouseReleased(SplittingTool.java:172)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
	at java.awt.Component.processMouseEvent(Component.java:6533)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6298)
	at java.awt.Container.processEvent(Container.java:2236)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
	at java.awt.Container.dispatchEventImpl(Container.java:2280)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
}}}
"	defect	closed	normal		Plugin auto_tools		othersoftware	template_report github mapbox	
