Modify

Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#8022 closed defect (othersoftware)

Exception during JOSM startup (happens randomly)

Reported by: ppawel@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Start JOSM.

What is the expected result?

JOSM starts.

What happens instead?

JOSM reports exception and hangs on the startup screen.

Please provide any additional information below. Attach a screenshot if
possible.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-07-23 01:31:06
Last Changed Author: Don-vip
Revision: 5356
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-07-22 22:36:44 +0200 (Sun, 22 Jul 2012)
Last Changed Rev: 5356

Identification: JOSM/1.5 (5356 en)
Memory Usage: 104 MB / 865 MB (46 MB allocated, but free)
Java version: 1.7.0_07, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Operating system: Linux

Plugin: DirectDownload
Plugin: DirectUpload
Plugin: FastDraw
Plugin: continuosDownload
Plugin: globalsat
Plugin: lakewalker
Plugin: openstreetbugs
Plugin: utilsplugin2
Plugin: waydownloader

java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.ClassCastException: javax.swing.plaf.nimbus.DerivedColor$UIResource cannot be cast to java.lang.Number
	at org.openstreetmap.josm.Main.<init>(Main.java:336)
	at org.openstreetmap.josm.gui.MainApplication.<init>(MainApplication.java:69)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:343)
Caused by: java.util.concurrent.ExecutionException: java.lang.ClassCastException: javax.swing.plaf.nimbus.DerivedColor$UIResource cannot be cast to java.lang.Number
	at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
	at java.util.concurrent.FutureTask.get(Unknown Source)
	at org.openstreetmap.josm.Main.<init>(Main.java:333)
	... 2 more
Caused by: java.lang.ClassCastException: javax.swing.plaf.nimbus.DerivedColor$UIResource cannot be cast to java.lang.Number
	at javax.swing.AbstractButton.setUIProperty(Unknown Source)
	at javax.swing.LookAndFeel.installProperty(Unknown Source)
	at javax.swing.plaf.synth.SynthMenuItemUI.updateStyle(Unknown Source)
	at javax.swing.plaf.synth.SynthMenuItemUI.installDefaults(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.installUI(Unknown Source)
	at javax.swing.JComponent.setUI(Unknown Source)
	at javax.swing.AbstractButton.setUI(Unknown Source)
	at javax.swing.JMenuItem.setUI(Unknown Source)
	at javax.swing.JMenuItem.updateUI(Unknown Source)
	at javax.swing.JMenuItem.init(Unknown Source)
	at javax.swing.JMenuItem.<init>(Unknown Source)
	at javax.swing.JMenuItem.<init>(Unknown Source)
	at javax.swing.JMenu$1.<init>(Unknown Source)
	at javax.swing.JMenu.createActionComponent(Unknown Source)
	at javax.swing.JMenu.add(Unknown Source)
	at org.openstreetmap.josm.gui.ImageryMenu.refreshImageryMenu(ImageryMenu.java:96)
	at org.openstreetmap.josm.gui.preferences.imagery.ImageryPreference.initialize(ImageryPreference.java:1039)
	at org.openstreetmap.josm.Main$4.call(Main.java:325)
	at org.openstreetmap.josm.Main$4.call(Main.java:318)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (4)

comment:1 by Don-vip, 12 years ago

Does it still happen with new tested version (r5482) ?

comment:2 by Don-vip, 12 years ago

Looks like this Java bug to me: 6785663

Last edited 10 years ago by Don-vip (previous) (diff)

comment:3 by ppawel@…, 12 years ago

So far so good with version 5485 but it is/was non deterministic just as the Sun bug says. I will let you know if it happens again.

comment:4 by Don-vip, 12 years ago

Resolution: othersoftware
Status: newclosed

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.