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.
NB trunk continous build 20040721-1416, JDK1.4.2_05. See the attached thread dump (look at the AWT Dispatch Thread). The potential problem is that the tooltip creation runs in the AWT Dispatch Thread, so it is possible that the whole IDE is blocked (as in the case shown in the FTD).
Created attachment 16371 [details] Full Thread Dump
The editor is requesting EditorCookie from the java data object to ask it for the document and line set to later attach tooltip annotations to it. IMO this should work in a MDR-transaction free way but apparently it does not. After looking to the sources the JavaDataObject.getCookie() acquires MDR transaction under certain conditions regardless what cookie is being retrieved which is IMHO too strong. I assume that this was changed due to certain deadlock fixing but IMO it should be revised and things like e.g. LineCookie.getLineSet() should not require MDR transaction. Reassigning to java for evaluation.
*** Issue 46412 has been marked as a duplicate of this issue. ***
Fixed. Checking in org/netbeans/modules/java/JavaDataObject.java; /cvs/java/src/org/netbeans/modules/java/JavaDataObject.java,v <-- JavaDataObject.java new revision: 1.187; previous revision: 1.186 done
I have not seen this problem since marked as fixed->marking as verified.