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 214788 - AWT is blocked by modal dialog. Return null from CloneableEditor.getEditorPane.
Summary: AWT is blocked by modal dialog. Return null from CloneableEditor.getEditorPane.
Status: RESOLVED DUPLICATE of bug 228991
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 7.3
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
: 198582 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-26 13:19 UTC by Alexander Simon
Modified: 2013-08-28 12:54 UTC (History)
1 user (show)

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 Alexander Simon 2012-06-26 13:19:20 UTC
IDE:
>Log Session: Tuesday, June 26, 2012 12:29:21 PM MSK
>System Info: 
  Product Version         = NetBeans IDE Dev (Build 20120626-395727d571d8) (#395727d571d8)
  Operating System        = SunOS version 5.10 running on x86
  Java; VM; Vendor        = 1.7.0_05; Java HotSpot(TM) Client VM 23.1-b03; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_05-b05
  Java Home               = /usr/jdk/instances/jdk1.7.0_05/jre
  System Locale; Encoding = en (nb); ISO646-US
  Home Directory          = /home/alsimon
  Current Directory       = /var/tmp

Report in log:

WARNING [org.openide.text.CloneableEditor]: AWT is blocked by modal dialog. Return null from CloneableEditor.getEditorPane. Please report this to IZ.
WARNING [org.openide.text.CloneableEditor]: support:org.netbeans.modules.cnd.source.CppEditorSupport
java.lang.Exception
	at org.openide.text.CloneableEditor.getEditorPane(CloneableEditor.java:1306)
	at org.netbeans.core.multiview.MultiViewCloneableTopComponent.getEditorPane(MultiViewCloneableTopComponent.java:245)
	at org.openide.text.CloneableEditorSupport.getRecentPane(CloneableEditorSupport.java:1239)
	at org.openide.text.NbDocument.findRecentEditorPane(NbDocument.java:412)
	at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorModel.findCurrentJEditorPane(NavigatorModel.java:274)
	at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorModel.checkCursor(NavigatorModel.java:245)
	at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorModel.access$300(NavigatorModel.java:85)
	at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorModel$3.actionPerformed(NavigatorModel.java:136)
	at javax.swing.Timer.fireActionPerformed(Timer.java:312)
	at javax.swing.Timer$DoPostEvent.run(Timer.java:244)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:701)
	at java.awt.EventQueue.access$000(EventQueue.java:102)
	at java.awt.EventQueue$3.run(EventQueue.java:662)
	at java.awt.EventQueue$3.run(EventQueue.java:660)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:671)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:158)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:155)
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
	at java.awt.Dialog.show(Dialog.java:1072)
	at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1074)
	at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1109)
	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1096)
	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:126)
	at org.openide.util.Mutex.doEventAccess(Mutex.java:1363)
	at org.openide.util.Mutex.readAccess(Mutex.java:273)
	at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1081)
	at java.awt.Component.show(Component.java:1651)
	at java.awt.Component.setVisible(Component.java:1603)
	at java.awt.Window.setVisible(Window.java:1014)
	at java.awt.Dialog.setVisible(Dialog.java:1003)
	at org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.showDialog(DialogDisplayerImpl.java:260)
	at org.netbeans.core.windows.services.DialogDisplayerImpl.notify(DialogDisplayerImpl.java:276)
	at org.netbeans.core.windows.services.DialogDisplayerImpl.notify(DialogDisplayerImpl.java:167)
	at org.openide.text.CloneableEditor$DoInitialize$1Query.doQuestion(CloneableEditor.java:477)
	at org.openide.text.CloneableEditor$DoInitialize$1Query.run(CloneableEditor.java:461)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:701)
	at java.awt.EventQueue.access$000(EventQueue.java:102)
	at java.awt.EventQueue$3.run(EventQueue.java:662)
	at java.awt.EventQueue$3.run(EventQueue.java:660)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:671)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:158)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
Comment 1 Marian Mirilovic 2013-06-21 17:22:22 UTC
*** Bug 198582 has been marked as a duplicate of this bug. ***
Comment 2 Miloslav Metelka 2013-08-28 12:54:08 UTC
This should no longer happen after rewrite in fix of issue #228991.

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