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 17539 - Deadlock resulting from bad usage of Children.MUTEX in DatabaseModule.close()
Summary: Deadlock resulting from bad usage of Children.MUTEX in DatabaseModule.close()
Status: CLOSED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Radko Najman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-12 10:11 UTC by David Strupl
Modified: 2003-06-30 17:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Strupl 2001-11-12 10:11:38 UTC
Please move the code
TopManager.getDefault().getPlaces().nodes().environment()
out of writeAccess block.
Also you can try to check whether the invironmnet node isInitialized - if it is
not than you probably don't have to do the rest.
Comment 1 Radko Najman 2001-11-12 13:36:01 UTC
Fixed. DatabaseModule.close() method modified as described in the
previous comment.
Not possible to use isInitialized() method because this method is
protected in org.openide.nodes.Children
Comment 2 David Kaspar 2002-11-18 13:48:17 UTC
Verified
Comment 3 Quality Engineering 2003-06-30 17:17:45 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.