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 65226 - [50cat] InterruptedException: Waiting 10s for AWT and nothing!
Summary: [50cat] InterruptedException: Waiting 10s for AWT and nothing!
Status: RESOLVED DUPLICATE of bug 65097
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-27 20:55 UTC by cpreisler
Modified: 2008-12-22 20:31 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 cpreisler 2005-09-27 20:55:35 UTC
[ BUILD # : 200509251800 ]
[ JDK VERSION : 1.5.0_04 ]

To produce this error:

1. Edit a file. Do not manually save the file.
2. Go to the tab of the file just edited and click the x to close the file.

The IDE pauses and then the InterruptedException appears.  After you close the Exception dialog, a Question dialog will appear and asking you if you want to save changes.  Click "Save" or "Disgard" or "Cancel", it does not matter. The file can not be closed without closing the IDE.

[org.openide.text.CloneableEditorSupport] *********** Exception occurred ************ at 1:42 PM on Sep 27, 2005
java.lang.InterruptedException: Waiting 10s for AWT and nothing! Exiting to prevent deadlock
	at org.openide.text.CloneableEditorSupport$1SafeAWTAccess.waitForResult(CloneableEditorSupport.java:1028)
[catch] at org.openide.text.CloneableEditorSupport.canClose(CloneableEditorSupport.java:1041)
	at org.openide.text.DataEditorSupport.canClose(DataEditorSupport.java:274)
	at org.openide.text.CloneableEditor.closeLast(CloneableEditor.java:328)
	at org.openide.windows.CloneableTopComponent$Ref.unregister(CloneableTopComponent.java:330)
	at org.openide.windows.CloneableTopComponent$Ref.access$300(CloneableTopComponent.java:222)
	at org.openide.windows.CloneableTopComponent.canClose(CloneableTopComponent.java:174)
	at org.openide.text.CloneableEditor.canClose(CloneableEditor.java:136)
	at org.netbeans.core.windows.Central.removeModeTopComponent(Central.java:725)
	at org.netbeans.core.windows.Central.userClosedTopComponent(Central.java:1535)
	at org.netbeans.core.windows.view.DefaultView.userClosedTopComponent(DefaultView.java:724)
	at org.netbeans.core.windows.view.ui.TabbedHandler.actionPerformed(TabbedHandler.java:292)
	at org.netbeans.swing.tabcontrol.TabbedContainer.postActionEvent(TabbedContainer.java:664)
	at org.netbeans.swing.tabcontrol.TabbedContainerUI.shouldPerformAction(TabbedContainerUI.java:134)
	at org.netbeans.swing.tabcontrol.plaf.DefaultTabbedContainerUI.access$2600(DefaultTabbedContainerUI.java:80)
	at org.netbeans.swing.tabcontrol.plaf.DefaultTabbedContainerUI$DisplayerActionListener.actionPerformed(DefaultTabbedContainerUI.java:1229)
	at org.netbeans.swing.tabcontrol.TabDisplayer.postActionEvent(TabDisplayer.java:513)
	at org.netbeans.swing.tabcontrol.TabDisplayerUI.shouldPerformAction(TabDisplayerUI.java:144)
	at org.netbeans.swing.tabcontrol.plaf.BasicTabDisplayerUI.access$1500(BasicTabDisplayerUI.java:74)
	at org.netbeans.swing.tabcontrol.plaf.BasicTabDisplayerUI$BasicDisplayerMouseListener.performCommand(BasicTabDisplayerUI.java:689)
	at org.netbeans.swing.tabcontrol.plaf.BasicTabDisplayerUI$BasicDisplayerMouseListener.potentialCommand(BasicTabDisplayerUI.java:674)
	at org.netbeans.swing.tabcontrol.plaf.BasicTabDisplayerUI$BasicDisplayerMouseListener.mouseReleased(BasicTabDisplayerUI.java:722)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5253)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	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 Martin Roskanin 2005-09-29 09:21:08 UTC
alreadu fixed

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