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 129724 - java.lang.ClassCastException
Summary: java.lang.ClassCastException
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2008-03-11 02:51 UTC by luhuan0118
Modified: 2008-12-22 10:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
程序不能以图形方式打开 (2.51 KB, text/plain)
2008-03-11 02:54 UTC, luhuan0118
Details

Note You need to log in before you can comment on or make changes to this bug.
Description luhuan0118 2008-03-11 02:51:52 UTC
java.lang.ClassCastException: org.netbeans.core.windows.view.EditorView$EditorAreaComponent
	at javax.swing.plaf.metal.MetalBorders$ScrollPaneBorder.paintBorder(MetalBorders.java:899)
	at javax.swing.JComponent.paintBorder(JComponent.java:903)
	at javax.swing.JComponent.paint(JComponent.java:1006)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:559)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:559)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4970)
	at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916)
	at javax.swing.JComponent.paint(JComponent.java:995)
	at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
	at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
	at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
	at java.awt.Container.paint(Container.java:1709)
	at org.netbeans.core.windows.view.ui.MainWindow.paint(MainWindow.java:530)
	at javax.swing.JFrame.update(JFrame.java:392)
	at sun.awt.RepaintArea.updateComponent(RepaintArea.java:239)
	at sun.awt.RepaintArea.paint(RepaintArea.java:216)
	at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:254)
	at java.awt.Component.dispatchEventImpl(Component.java:4031)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 luhuan0118 2008-03-11 02:54:01 UTC
Created attachment 58114 [details]
程序不能以图形方式打开
Comment 2 Lukas Hasik 2008-03-11 10:03:13 UTC
what version of JDK, OS, NB are you using?
Comment 3 David Simonek 2008-03-11 11:01:29 UTC
From the stack trace, I can see that you are probably running Netbeans under Metal L&F. Is it true? Is the error
reproducible somehow? I can't reproduce it...
Comment 4 David Simonek 2008-03-14 10:41:57 UTC
No info from reporter, can't do anything now, closing. Please feel free to reopen with requested information, thank you.