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.
NbJavaJMIFastOpen$1.run(NbJavaJMIFastOpen.java:83) does it's job outside AWT Event Queue. Is it possible to call it inside AWT? P2, because java toolbar disappeared after this AssertionError.
Created attachment 18668 [details] AssertionError
*** Issue 51088 has been marked as a duplicate of this issue. ***
I will look at it.
Fixed in [maintrunk]. EditorSupport.getOpenedPanes() is called from AWT as requested. Checking in src/org/netbeans/modules/editor/java/JMIUtils.java; /cvs/editor/src/org/netbeans/modules/editor/java/JMIUtils.java,v <-- JMIUtils.java new revision: 1.63; previous revision: 1.62 done Mila, could you please review the fix. Visual diff: http://editor.netbeans.org/source/browse/editor/src/org/netbeans/modules/editor/java/JMIUtils.java.diff?r1=1.62&r2=1.63
The fix should be OK although I've seen that there are certain operations e.g. int caretPos = pane.getCaretPosition(); Container parent = pane.getParent(); Container parent = pane.getParent(); that should be run in AWT thread as those are operations on Swing/AWT components.
The fix works fine in maintrunk build #200411031900; jdk1.5.0_01b05. Ready for integration to release40.
Integrated into [release40]. Checking in JMIUtils.java; /cvs/editor/src/org/netbeans/modules/editor/java/JMIUtils.java,v <-- JMIUtils.java new revision: 1.61.2.2; previous revision: 1.61.2.1 done
Verified in release40 branch build #200411041919; jdk1.5.0_01-b05.
v
*** Issue 51613 has been marked as a duplicate of this issue. ***