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 139227

Summary: Deadlock when closing freeform project
Product: projects Reporter: Marian Petras <mpetras>
Component: Ant FreeformAssignee: Milan Kubec <mkubec>
Status: RESOLVED WORKSFORME    
Severity: blocker Keywords: RANDOM, THREAD
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: full thread dump (from jstack)

Description Marian Petras 2008-07-08 10:34:37 UTC
I was working on a Java free-form project opened (sources of Ant 1.7.0 - Subversion repository). When I finished the
work, I wanted to close the project but I a deadlock occured.

Exact steps:
1) Opened Java free-form project (containing sources of Ant 1.7.0).
2) Worked with the project - modified sources, compiled, ran tests, etc.
3) In the Projects view, I right-clicked on the root node of the project and chose "Close" from the context menu.
Deadlock occurred.

Deadlock maybe is not the proper name - from the callstack, it seems that the AWT thread is waiting for a monitor
(BLOCKED) that is held by another thread but the other thread is not blocked but WAITING (but nobody wakes it up).

Anyway, I am attaching a full thread dump (produced by jstack). 

--
NetBeans 6.5 dev. build 080707
JDK 1.6.0_10 b25
Linux (Ubuntu 8.04) 32-bit
Intel PC, quad-core
Comment 1 Marian Petras 2008-07-08 10:35:25 UTC
Created attachment 64064 [details]
full thread dump (from jstack)
Comment 2 Milan Kubec 2009-07-14 10:23:00 UTC
Closing the issue, presuming that no more reports were filed during a year and that java parsing was completely rewritten.