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 165582 - ClassCastException: javax.swing.plaf.nimbus.TabbedPaneTabbedPaneTabAreaPainter cannot be cast to com.sun.java.swing.Painter
Summary: ClassCastException: javax.swing.plaf.nimbus.TabbedPaneTabbedPaneTabAreaPainte...
Status: RESOLVED DUPLICATE of bug 165580
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-20 10:34 UTC by martinhavle
Modified: 2009-05-20 11:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 151505


Attachments
stacktrace (3.57 KB, text/plain)
2009-05-20 10:35 UTC, martinhavle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description martinhavle 2009-05-20 10:34:59 UTC
Build: NetBeans IDE Dev (Build 200905200201)
VM: Java HotSpot(TM) Client VM, 16.0-b02, Java(TM) SE Runtime Environment, 1.7.0-ea-b57
OS: Windows XP, 5.1, x86

User Comments:
martinhavle: Occured when trying to run ide with param --laf Nimbus



Stacktrace: 
java.lang.ClassCastException: javax.swing.plaf.nimbus.TabbedPaneTabbedPaneTabAreaPainter cannot be cast to com.sun.java.swing.Painter
        at org.netbeans.swing.tabcontrol.plaf.NimbusEditorTabDisplayerUI.paintBackground(NimbusEditorTabDisplayerUI.java:115)
        at org.netbeans.swing.tabcontrol.plaf.BasicTabDisplayerUI.paint(BasicTabDisplayerUI.java:363)
        at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
        at javax.swing.JComponent.paintComponent(JComponent.java:778)
        at javax.swing.JComponent.paint(JComponent.java:1042)
        at javax.swing.JComponent.paintChildren(JComponent.java:879)
Comment 1 martinhavle 2009-05-20 10:35:03 UTC
Created attachment 82458 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2009-05-20 11:04:01 UTC

*** This issue has been marked as a duplicate of 165580 ***