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.
Looks like a deadlock somewhere between editor and javacore.
Created attachment 16803 [details] Thread dump
Happened in my own build from 040811
So, why didn't you assign it to editor or java/javacore? :) The issue seems to be in java nodes - the node is touching MDR in the AWT thread under JComponent$AWTTreeLock. Honzo, please look at it.
Correction - the problem is that editor changes state of swing objects in a non-AWT thread, which is illegal. Reassigning to editor.
editor is doing some AWT related stuff outside AWT thread (completion) and java.ui.nodes is doing some JMI stuff inside AWT thread. Both sides should be fixed IMO. NbCompletionJavaDoc.setJavaDocVisible() should be called inside of AWT, right?
I guess if the editor fixes the code that is performing swing calls in a non-AWT thread, we can consider this issue fixed. CCing jpokorsky - Honzo please look at why the transaction is locked in the AWT thread and try to eliminate it.
fixed in [maintrunk] Reassigning back to java module for further evaluation /cvs/editor/src/org/netbeans/modules/editor/java/NbCompletionJavaDoc.java,v <-- NbCompletionJavaDoc.java new revision: 1.42; previous revision: 1.41
The deadlock is fixed (Martin, is this bug present also in q-build branch? if so, it should be fixed also there). Moving the code transaction from the AWT thread is not critical for this particular case since it only happens when the property sheet is redrawn which is unlikely to happen during a long-running transaction (other than scanning, which is capable of breaking up its long transaction into many small transactions if it finds out the AWT thread is waiting for the transaction lock). So I am closing this issue as fixed.
I will fix it also in q-build
It needs to be integrated in QBE200408101800 today
I mistakenly changed the component back to java, sorry. Pavel: Yes, I am going to integrate it soon. I am just checking out the qbuild branch...
integrated into [QBE200408101800] /cvs/editor/src/org/netbeans/modules/editor/java/NbCompletionJavaDoc.java,v <-- NbCompletionJavaDoc.java new revision: 1.41.4.1; previous revision: 1.41
Verified.