Modify

Opened 13 years ago

Closed 13 years ago

#6511 closed defect (fixed)

IllegalArgumentException on application start

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open a command-line window on Windows XP SP3.
  2. Call java -jar josm-tested.jar

What is the expected result?
The application shall start normally and show the main window.

What happens instead?
The application aborts the an exception, please see below.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-04-26 01:31:34
Last Changed Author: bastiK
Revision: 4064
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-04-25 20:32:26 +0200 (Mon, 25 Apr 2011)
Last Changed Rev: 4064

Identification: JOSM/1.5 (4064 de)
Memory Usage: 35 MB / 247 MB (18 MB allocated, but free)
Java version: 1.6.0_25, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows XP


java.lang.IllegalArgumentException: Unmatched braces in the pattern.
	at java.text.MessageFormat.applyPattern(Unknown Source)
	at java.text.MessageFormat.<init>(Unknown Source)
	at java.text.MessageFormat.format(Unknown Source)
	at org.openstreetmap.josm.tools.I18n.tr(I18n.java:141)
	at org.openstreetmap.josm.data.imagery.ImageryLayerInfo.loadDefaults(ImageryLayerInfo.java:76)
	at org.openstreetmap.josm.gui.preferences.ImageryPreference.initialize(ImageryPreference.java:839)
	at org.openstreetmap.josm.Main.<init>(Main.java:238)
	at org.openstreetmap.josm.gui.MainApplication.<init>(MainApplication.java:59)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:231

Attachments (0)

Change History (3)

comment:1 by stoecker, 13 years ago

Owner: changed from team to anonymous
Status: newneedinfo

Please attach your configuration files (strip username/password or authentication data).

comment:2 by stoecker, 13 years ago

NOTE to developers: Should be catch exceptions in tr(), only print them to stdout and return original string?

comment:3 by stoecker, 13 years ago

Resolution: fixed
Status: needinfoclosed

Modify Ticket

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