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 16412 - Deadlock. Pobably caused because of AllOptionsFolder.<init>
Summary: Deadlock. Pobably caused because of AllOptionsFolder.<init>
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 10:38 UTC by rmatous
Modified: 2007-11-05 13:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (12.38 KB, text/plain)
2001-10-10 10:46 UTC, rmatous
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rmatous 2001-10-10 10:38:43 UTC
Code that is invoked (newvalue and methodvalue) by reading attributes must be 
aware of the fact that there is danger of dedlock. Mentioned piece of code is 
invoked from getAttribute. Waiting for task that demands to call also 
getAttributes is highly dangerous.
Comment 1 rmatous 2001-10-10 10:46:51 UTC
Created attachment 2933 [details]
Thread dump
Comment 2 Martin Roskanin 2001-10-10 13:06:06 UTC
fixed in [maintrunk]

AllOptionsFolder subclassed FolderInstance. After some design changes 
of XML options it is already not needed. I apologize I forgot to 
refactore this class properly.

/cvs/editor/src/org/netbeans/modules/editor/options/AllOptionsFolder.j
ava,v  <--  AllOptionsFolder.java
new revision: 1.5; previous revision: 1.4
Comment 3 Quality Engineering 2003-06-30 18:02:44 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 4 Quality Engineering 2003-06-30 18:12:53 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.