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 69518 - Deadlock/livelock while editing project file
Summary: Deadlock/livelock while editing project file
Status: VERIFIED DUPLICATE of bug 68650
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2005-11-29 11:25 UTC by Marian Petras
Modified: 2005-11-29 12:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
full thread dump (9.55 KB, text/plain)
2005-11-29 11:28 UTC, Marian Petras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2005-11-29 11:25:23 UTC
A deadlock/livelock occured while I was editing a project's 'build.xml' file.

The threads involved are:
    "AntProjectSupport"  (build.xml)
     - holds a lock obtained in AntProjectSupport.getDocument(...)
     - calls EventQueue.invokeAndWait(...) which waits on AWTInvocationLock
    "AWT-EventQueue-1"
     - calls AntProjectSupport.getProjectElement(...) and waits for the lock
       held by the "AntProjectSupport" thread

It seems that "AntProjectSupport" waits infinitely because notify()/notifyAll()
is never called on AWTInvocationLock.
Comment 1 Marian Petras 2005-11-29 11:28:25 UTC
Created attachment 27377 [details]
full thread dump
Comment 2 Marian Petras 2005-11-29 11:44:40 UTC
I got this deadlock again after less than 30 minutes of work.
Comment 3 Marian Mirilovic 2005-11-29 12:08:38 UTC
Marian, what is the build number ?

I bet it's older than from 16.11. if so, it's dup of issue 68650, at least
thread-dump is the same, please verify.

*** This issue has been marked as a duplicate of 68650 ***
Comment 4 Marian Petras 2005-11-29 12:14:41 UTC
It is from 15.11. :-)

Verified.