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 - Deadlock when closing freeform project
Summary: Deadlock when closing freeform project
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Freeform (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Milan Kubec
URL:
Keywords: RANDOM, THREAD
Depends on:
Blocks:
 
Reported: 2008-07-08 10:34 UTC by Marian Petras
Modified: 2009-07-14 10:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
full thread dump (from jstack) (18.75 KB, text/plain)
2008-07-08 10:35 UTC, Marian Petras
Details

Note You need to log in before you can comment on or make changes to this bug.
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.