Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#5921 closed defect (fixed)

Cannot start JOSM

Reported by: Rummidge Owned by: team
Priority: normal 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@… 2 years ago.
Resource error screenshot

Download all attachments as: .zip

Change History (9)

comment:1 follow-up: Changed 2 years ago by 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).

comment:2 Changed 2 years ago by bastiK

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

comment:3 Changed 2 years ago by bastiK

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

comment:4 in reply to: ↑ 1 Changed 2 years ago by anonymous

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.

Changed 2 years ago by pgomez@…

Resource error screenshot

comment:5 follow-up: Changed 2 years ago by anonymous

Same behavior on release 3880

comment:6 in reply to: ↑ 5 ; follow-up: Changed 2 years ago by Rummidge

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 Changed 2 years ago by bastiK

  • Resolution set to fixed
  • Status changed from new to closed

In [3883/josm]:

fixed #5921 - legacy stuff

comment:8 in reply to: ↑ 6 Changed 2 years ago by bastiK

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.