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 40902

Summary: Dead lock after Close All Documents
Product: platform Reporter: Jiri Skrivanek <jskrivanek>
Component: -- Other --Assignee: issues@platform <issues>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread dump

Description Jiri Skrivanek 2004-03-10 15:38:36 UTC
I discovered it in automated tests but it is also
manually reproducible on the latest continuous
build 20040310-0154.

- create a Java Main Class from template
- when it is open in editor right-click the tab
and select "Close All Documents" item (do it as
quickly as possible - it seems it is a race condition)
- it freezes (see attached thread dump)

I thought it is somehow connected to a dead lock
in editor (issue 40766) but from the thread dump
it seems like an openide problem.

Tested in build 20040310-0154, JDK1.4.2_03, WindowsXP.
Comment 1 Jiri Skrivanek 2004-03-10 15:39:03 UTC
Created attachment 13925 [details]
Thread dump
Comment 2 Marian Mirilovic 2004-03-10 16:07:01 UTC

*** This issue has been marked as a duplicate of 40879 ***
Comment 3 Jiri Skrivanek 2004-03-11 07:12:38 UTC
Verified.