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 68650 - Deadlock when invoking completion in build.xml
Summary: Deadlock when invoking completion in build.xml
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: RANDOM, THREAD
: 68591 68714 68901 68958 69147 69233 69487 69502 69506 69518 69802 69979 70009 70128 70429 70486 70541 70780 71225 71597 (view as bug list)
Depends on:
Blocks: 67482
  Show dependency tree
 
Reported: 2005-11-14 13:34 UTC by Roman Strobl
Modified: 2006-01-19 15:12 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Deadlock (12.44 KB, text/plain)
2005-11-14 13:34 UTC, Roman Strobl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Strobl 2005-11-14 13:34:02 UTC
[NetBeans beta2 build 200511131001; FC4; JDK 1.6.0-b59]

Issue Summary:
--------------
Deadlock occurred when invoking code completion in build.xml. Feel free to
reassign. Attaching thread dump.
Comment 1 Roman Strobl 2005-11-14 13:34:34 UTC
Created attachment 26917 [details]
Deadlock
Comment 2 Milan Kubec 2005-11-15 10:33:57 UTC
*** Issue 68714 has been marked as a duplicate of this issue. ***
Comment 3 Milan Kubec 2005-11-15 10:35:21 UTC
No so random for me, I managed to reproduce it by mixing code completion
invocations and undo requests.
Comment 4 Jesse Glick 2005-11-15 18:27:56 UTC
*** Issue 68591 has been marked as a duplicate of this issue. ***
Comment 5 Jesse Glick 2005-11-16 19:29:59 UTC
Fix for issue #67482 forced blocked access to event thread to parse an open
document, which messed up the previous locking model.
Comment 6 pbw 2005-11-16 19:42:48 UTC
This may be an inssue related to coe completion, but that's not what I'm seeing
(from #68591).  I happens pretty easily.  For instance, starting to edit a
comment by removing the trailing --> will generally (but not always) do it.

What interests me is that Beta 2 has been released with what is a show-stopper
for free-form projects.
Comment 7 Jesse Glick 2005-11-16 20:14:38 UTC
Yes, it has nothing to do with completion as such, just Ant build script editing.
Comment 8 Jesse Glick 2005-11-16 21:36:08 UTC
Patch also simplifies code. Not really sure why I was ever using EditorKit to
suck in contents of a Document... hopefully wasn't important.

committed   * Up-To-Date  1.45       
ant/src/org/apache/tools/ant/module/nodes/AntTargetNode.java
committed   * Up-To-Date  1.33       
ant/src/org/apache/tools/ant/module/xml/AntProjectSupport.java
Comment 9 Jan Chalupa 2005-11-17 21:21:29 UTC
*** Issue 68901 has been marked as a duplicate of this issue. ***
Comment 10 Milan Kubec 2005-11-21 07:38:49 UTC
*** Issue 68958 has been marked as a duplicate of this issue. ***
Comment 11 Roman Strobl 2005-11-21 12:57:48 UTC
I haven't seen the deadlock in recent daily builds, marking as verified.
Comment 12 Jan Lahoda 2005-11-23 08:03:45 UTC
*** Issue 69147 has been marked as a duplicate of this issue. ***
Comment 13 Jesse Glick 2005-11-28 18:46:43 UTC
*** Issue 69487 has been marked as a duplicate of this issue. ***
Comment 14 Roman Strobl 2005-11-29 07:14:00 UTC
*** Issue 69506 has been marked as a duplicate of this issue. ***
Comment 15 Roman Strobl 2005-11-29 08:07:04 UTC
*** Issue 69233 has been marked as a duplicate of this issue. ***
Comment 16 Jan Chalupa 2005-11-29 08:15:07 UTC
*** Issue 69502 has been marked as a duplicate of this issue. ***
Comment 17 Marian Mirilovic 2005-11-29 12:07:54 UTC
*** Issue 69518 has been marked as a duplicate of this issue. ***
Comment 18 Jan Chalupa 2005-12-03 18:49:45 UTC
*** Issue 69802 has been marked as a duplicate of this issue. ***
Comment 19 Jesse Glick 2005-12-07 04:01:06 UTC
*** Issue 69979 has been marked as a duplicate of this issue. ***
Comment 20 Milan Kubec 2005-12-07 11:06:19 UTC
*** Issue 70009 has been marked as a duplicate of this issue. ***
Comment 21 Jan Lahoda 2005-12-12 16:32:20 UTC
*** Issue 70128 has been marked as a duplicate of this issue. ***
Comment 22 Jesse Glick 2005-12-16 21:45:12 UTC
*** Issue 70429 has been marked as a duplicate of this issue. ***
Comment 23 Milan Kubec 2005-12-19 09:21:14 UTC
*** Issue 70486 has been marked as a duplicate of this issue. ***
Comment 24 Milan Kubec 2005-12-19 09:54:44 UTC
*** Issue 70541 has been marked as a duplicate of this issue. ***
Comment 25 Jesse Glick 2005-12-27 13:40:40 UTC
*** Issue 70780 has been marked as a duplicate of this issue. ***
Comment 26 Jesse Glick 2006-01-10 16:43:12 UTC
*** Issue 71225 has been marked as a duplicate of this issue. ***
Comment 27 Jesse Glick 2006-01-19 15:12:42 UTC
*** Issue 71597 has been marked as a duplicate of this issue. ***