Modify

Opened 2 years ago

Closed 21 months ago

#6511 closed defect (fixed)

IllegalArgumentException on application start

Reported by: anonymous Owned by: anonymous
Priority: normal 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 Changed 2 years ago by stoecker

  • Owner changed from team to anonymous
  • Status changed from new to needinfo

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

comment:2 Changed 2 years ago by stoecker

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

comment:3 Changed 21 months ago by stoecker

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

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.