Modify

Opened 16 years ago

Closed 16 years ago

#2252 closed defect (fixed)

josm-latest fails to start without .preferences file

Reported by: flo@… Owned by: flo@…
Priority: major Milestone:
Component: Core Version:
Keywords: openjdk josm preferences Cc:

Description

Hi,
when starting josm on a fresh new system without a preferences file josm aborts with java.lang.ClassNotFoundException without any hint.

Running with sun-java gives an error about failing to load a projection and is able to continue whereas openjdk aborts hard without continuing.

When saving a configuration with sun-java, switching back to openjdk works without a problem.

Flo

Attachments (0)

Change History (3)

comment:1 by stoecker, 16 years ago

Owner: changed from team to flo@…
Status: newneedinfo

Please add the error message.

comment:2 by anonymous, 16 years ago

kurt@lxp4:~/Desktop$ java -jar josm-tested.jar
java.lang.ClassNotFoundException:

at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.openstreetmap.josm.Main.preConstructorInit(Main.java:255)
at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:166)

Thats it - running with sun-java6-jre (debian) a requester pops up saying something about not beeing
able to load a projection EPSG:xxxx and after clicking okay - continues. Entering preferences and clicking okay
and leaving JOSM fixes above 2 error messages and afterwards josm starts with openjdk flawlessly.

Flo

comment:3 by stoecker, 16 years ago

Resolution: fixed
Status: needinfoclosed

Fixed in r1473.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain flo@….
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.