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 57110 - [auto comment] a deadlock after add @param tag
Summary: [auto comment] a deadlock after add @param tag
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@editor
URL:
Keywords: THREAD
: 57147 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-29 11:27 UTC by ehucka
Modified: 2007-11-05 13:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
full threaddump (17.49 KB, text/plain)
2005-03-29 11:29 UTC, ehucka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2005-03-29 11:27:48 UTC
I autocommented a java class. I tried to add @param tags into it but when i
tried to switch back into source file IDE froze.
The java class was not compilable (missing libraries).
Comment 1 ehucka 2005-03-29 11:29:22 UTC
Created attachment 21187 [details]
full threaddump
Comment 2 Jan Pokorsky 2005-03-29 12:44:21 UTC
The javadoc module is not the root of this deadlock IMHO. Looking at the thread
dump I would guess the AWT-EventQueue-1 thread where
org.netbeans.editor.Registry.activate fires events under the lock is the
culprit. So reassigning to the editor module.
Comment 3 Miloslav Metelka 2005-03-29 13:54:07 UTC
The o.n.editor.Registry should not fire the listeners under the monitor. I'll
fix that.
Comment 4 Miloslav Metelka 2005-03-29 15:26:17 UTC
Should be fixed now.
Main trunk:
Checking in libsrc/org/netbeans/editor/Registry.java;
/cvs/editor/libsrc/org/netbeans/editor/Registry.java,v  <--  Registry.java
new revision: 1.15; previous revision: 1.14
Comment 5 Jan Pokorsky 2005-03-29 22:42:18 UTC
*** Issue 57147 has been marked as a duplicate of this issue. ***
Comment 6 ehucka 2005-07-12 10:14:54 UTC
verified