﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5921	Cannot start JOSM	Rummidge	team	"What steps will reproduce the problem?
 1. start josm
 2. accept an error in a window (something like):

""Cannot read the label preferences source: ressource://data/elemstyles.xml""

 3. 

What is the expected result?

JOSM starting

What happens instead?

JOSM fails to start, a new dialog window appears, with (approximate, I am translating from Spanish)

""An unexpected exception occured
This is always a coding error. If you are running the latest JOSM version, please take the time to report a bug.""

with two buttons:

""Do Nothing"" and ""Report Error""

The first, when pressed, (amazingly), does nothing. And seems to hang forever (console not coming down).

When ""Report Error"" is pressed, a nex window is displayed with a text area containing the text below


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

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-02-09 02:31:21
Last Changed Author: framm
Revision: 3873
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-02-09 00:30:01 +0100 (Wed, 09 Feb 2011)
Last Changed Rev: 3873

Identification: JOSM/1.5 (3873 es)
Memory Usage: 87 MB / 1365 MB (33 MB allocated, but free)
Java version: 1.6.0_20, Sun Microsystems Inc., Java HotSpot(TM) Server VM
Operating system: Linux

Plugin: DirectUpload
Plugin: RoadSigns
Plugin: editgpx
Plugin: measurement
Plugin: openstreetbugs
Plugin: routes
Plugin: turnrestrictions

java.lang.NullPointerException
	at org.openstreetmap.josm.gui.mappaint.MapPaintStyles.fromSourceEntry(MapPaintStyles.java:138)
	at org.openstreetmap.josm.gui.mappaint.MapPaintStyles.readFromPreferences(MapPaintStyles.java:104)
	at org.openstreetmap.josm.gui.preferences.MapPaintPreference.initialize(MapPaintPreference.java:161)
	at org.openstreetmap.josm.Main.<init>(Main.java:226)
	at org.openstreetmap.josm.gui.MainApplication.<init>(MainApplication.java:58)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:225
}}}
"	defect	closed	normal		Core		fixed	template_report	
