Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#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?

  1. start josm
  2. 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)

resource.png (15.2 KB ) - added by pgomez@… 14 years ago.
Resource error screenshot

Download all attachments as: .zip

Change History (9)

comment:1 by bastiK, 14 years ago

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).

comment:2 by bastiK, 14 years ago

Ticket #5923 has been marked as a duplicate of this ticket.

comment:3 by bastiK, 14 years ago

Ticket #5924 has been marked as a duplicate of this ticket.

in reply to:  1 comment:4 by anonymous, 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.

by pgomez@…, 14 years ago

Attachment: resource.png added

Resource error screenshot

comment:5 by anonymous, 14 years ago

Same behavior on release 3880

in reply to:  5 ; comment:6 by Rummidge, 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.

comment:7 by bastiK, 14 years ago

Resolution: fixed
Status: newclosed

In [3883/josm]:

fixed #5921 - legacy stuff

in reply to:  6 comment:8 by bastiK, 14 years ago

Replying to Rummidge:

It seems that the bug itself had nothing to do with the resource error.

True, i fixed it yesterday. [3883] addresses the resource error.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.