Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 139227 - Deadlock when closing freeform project
Deadlock when closing freeform project
Product: projects
Classification: Unclassified
Component: Ant Freeform
PC Linux
: P3 (vote)
: 6.x
Assigned To: Milan Kubec
Depends on:
  Show dependency treegraph
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

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

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.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo