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 214281

Summary: Deadlock on start IDE in automatic tests
Product: platform Reporter: Alexander Pepin <apepin>
Component: JDK ProblemsAssignee: Antonin Nebuzelsky <anebuzelsky>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mmirilovic
Priority: P2 Keywords: TEST
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Full stack dump on deadlock while IDE starting in test run

Description Alexander Pepin 2012-06-15 13:28:01 UTC
Deadlock happens on one machine (Ubuntu 12.04) once or twice in one testrun containing a lot of testsuites (IDE starts approximately 100 times).
Comment 1 Alexander Pepin 2012-06-15 13:28:38 UTC
Created attachment 120909 [details]
Full stack dump on deadlock while IDE starting in test run
Comment 2 Stanislav Aubrecht 2012-06-15 14:20:40 UTC
There are multiple threads running org.openide.loaders.FolderInstance blocking each other.
Comment 3 Jaroslav Tulach 2012-06-18 12:49:15 UTC
I don't think it is good evaluation. Imho, there is no AWT dispatch thread. I am not sure how Swing can run without EDT, I am assuming it is a JDK problem. But I leave it up to Standa, our Swing expert to confirm/deny.
Comment 4 Antonin Nebuzelsky 2012-06-19 10:50:19 UTC
Which Java version?

How are the tests started and which tests are those?
Comment 5 Marian Mirilovic 2012-06-19 11:37:43 UTC
I think it's duplicate of issue 211305 ... please confirm, tests are running in headless mode on JDK 7u4 and later ?

*** This bug has been marked as a duplicate of bug 211305 ***
Comment 6 Alexander Pepin 2012-06-19 14:45:30 UTC
Yes, we use java 7u4 on that machine. It is CND functional tests but IDE hangs while warming up before any of tests starts.