This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 232786 - ClassCastException: javax.swing.plaf.ColorUIResource cannot be cast to java.awt.Font
Summary: ClassCastException: javax.swing.plaf.ColorUIResource cannot be cast to java.a...
Status: RESOLVED DUPLICATE of bug 230528
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-16 10:09 UTC by MackSix
Modified: 2013-08-21 09:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 181840


Attachments
stacktrace (2.75 KB, text/plain)
2013-07-16 10:09 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-07-16 10:09:50 UTC
Build: NetBeans IDE Dev (Build 201307152300)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16
OS: Windows 7

User Comments:
MackSix: 1. Changed some things in Options along with changing L&F to Dark Nimbus.
2. Restarted NetBeans.
3. Got this exception.
A couple of Java files opened up in the Editor on Start of NetBeans.

GUEST: startup netbeans

GUEST: Opened IDE




Stacktrace: 
java.lang.ClassCastException: javax.swing.plaf.ColorUIResource cannot be cast to java.awt.Font
   at javax.swing.plaf.nimbus.NimbusStyle.getFontForState(NimbusStyle.java:573)
   at javax.swing.plaf.synth.SynthStyle.installDefaults(SynthStyle.java:933)
   at javax.swing.plaf.nimbus.NimbusStyle.installDefaults(NimbusStyle.java:231)
   at javax.swing.plaf.synth.SynthStyle.installDefaults(SynthStyle.java:916)
   at javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:265)
   at javax.swing.plaf.synth.SynthMenuItemUI.updateStyle(SynthMenuItemUI.java:96)
Comment 1 MackSix 2013-07-16 10:09:51 UTC
Created attachment 137200 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2013-08-21 09:31:54 UTC

*** This bug has been marked as a duplicate of bug 230528 ***