#5921 closed defect (fixed)
Cannot start JOSM
Reported by: | Rummidge | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- start josm
- accept an error in a window (something like):
"Cannot read the label preferences source: ressource://data/elemstyles.xml"
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
Attachments (1)
Change History (9)
follow-up: 4 comment:1 by , 14 years ago
comment:4 by , 14 years ago
Replying to bastiK:
Is it really "ressource://data/elemstyles.xml" with double s? (I'm not spell-checking your text, this is relevant. :)
Please add the full stack output from console window and your preferences (Help > Show status report).
Thanks for the reply. No, sorry for the misspelling: simple 's' -> 'resource'
I am also uploading (trying to) a sshot of the dialog window.
follow-up: 8 comment:6 by , 14 years ago
Replying to anonymous:
Same behavior on release 3880
SORRY! Las was my own comment.
Not true. JOSM is starting again in 3880. While the resource error dialog keeps happening, JOSM is finally starting.
It seems that the bug itself had nothing to do with the resource error.
Is it really "ressource://data/elemstyles.xml" with double s? (I'm not spell-checking your text, this is relevant. :)
Please add the full stack output from console window and your preferences (Help > Show status report).