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 139595 - ClassCastException after Live Results invocation
Summary: ClassCastException after Live Results invocation
Status: RESOLVED DUPLICATE of bug 135812
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-10 14:27 UTC by Rashid Urusov
Modified: 2008-07-10 14:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rashid Urusov 2008-07-10 14:27:06 UTC
Product Version: NetBeans IDE Dev (Build 200807080101)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)
Userdir: /home/tester/.netbeans/6.5m1

Run Netbeans with option below:
netbeans --laf com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
Start CPU profiling with default settings
After Live Results invocation I've got :


java.lang.ClassCastException: org.netbeans.lib.profiler.ui.components.FilterComponent cannot be cast to
javax.swing.JComboBox
	at javax.swing.plaf.synth.SynthComboBoxUI.getComponentState(SynthComboBoxUI.java:196)
	at javax.swing.plaf.synth.SynthComboBoxUI.getContext(SynthComboBoxUI.java:183)
	at javax.swing.plaf.synth.SynthBorder.paintBorder(SynthBorder.java:39)
	at javax.swing.border.CompoundBorder.paintBorder(CompoundBorder.java:94)
	at javax.swing.JComponent.paintBorder(JComponent.java:922)
	at javax.swing.JComponent.paint(JComponent.java:1028)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at org.netbeans.swing.tabcontrol.TabbedContainer.paint(TabbedContainer.java:968)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at org.netbeans.core.windows.view.ui.MultiSplitPane.paint(MultiSplitPane.java:323)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at org.netbeans.core.windows.view.ui.MultiSplitPane.paint(MultiSplitPane.java:323)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1467)
	at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1398)
	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:293)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1213)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5070)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4880)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:799)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
[catch] at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 1 Jiri Sedlacek 2008-07-10 14:32:07 UTC

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