﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5028	JOSM will not start due to java exception on windows 7	Dane Springmeyer	team	"What steps will reproduce the problem?
This will be difficult to reproduce, but here is what I think happened:

 1. Load custom presents (in the case we are working in Haiti training mappers using the Humanitarian Data model presets
 2. Load them a second time (accidentally in our case)
 3. Nothing odd happened while JOSM was running (that I recall), but upon startup later in day JOSM would not start.

What is the expected result?

JOSM starting.

What happens instead?

JOSM does not start, only displaying splash screen then throwing exception.

In addition, trying to shut down windows fails and says JOSM is still running. JOSM is not registered in the windows task manager, so it cannot be forced to stop. Therefore the only way to try to stop JOSM (for a normal windows user) is to force shut down the machine.

Please provide any additional information below. Attach a screenshot if
possible.

Currently trying to uninstall JOSM (can't currently because JOSM is again still running in background). So after filing this ticket I will force the machine to shut down, re-start then try to uninstall JOSM, to hopefully clear out the custom presets that are causing this failure. I cannot locate the preferences file to delete it, but I would assume this would also fix the problem.


{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-04-26 01:31:31
Last Changed Author: jttt
Revision: 3208
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-04-25 15:31:07 +0200 (Sun, 25 Apr 2010)
Last Changed Rev: 3208

Memory Usage: 43 MB / 455 MB (23 MB allocated, but free)
Java version: 1.6.0_14, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Windows 7


Plugins: openstreetbugs,remotecontrol,validator,wmsplugin

java.util.NoSuchElementException
	at java.util.LinkedList.getLast(Unknown Source)
	at org.openstreetmap.josm.gui.tagging.TaggingPreset.readAll(TaggingPreset.java:631)
	at org.openstreetmap.josm.gui.tagging.TaggingPreset.readFromPreferences(TaggingPreset.java:663)
	at org.openstreetmap.josm.gui.preferences.TaggingPresetPreference.initialize(TaggingPresetPreference.java:84)
	at org.openstreetmap.josm.Main.<init>(Main.java:214)
	at org.openstreetmap.josm.gui.MainApplication.<init>(MainApplication.java:49)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:195)
}}}"	defect	closed	normal		Core		fixed	template_report	dane@…
