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 184371

Summary: Deadlock when generating JUnit tests for Maven-based NBM project
Product: xml Reporter: Petr Jiricka <pjiricka>
Component: XAMAssignee: Svata Dedic <sdedic>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dsimonek
Priority: P3 Keywords: RANDOM, THREAD
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread dump

Description Petr Jiricka 2010-04-16 15:23:45 UTC
Created attachment 97546 [details]
Thread dump

I think I did the following:
1. Created a Maven-based NBM project
2. Created an Options panel through the wizard
3. Built the project
4. Generated JUnit tests for the options panel class
Comment 1 Petr Jiricka 2010-04-16 15:38:03 UTC
The next time it passed -> RANDOM.
Comment 2 Jesse Glick 2010-04-16 16:06:47 UTC
maven.model.Utilities.performPOMModelOperations acquires a lock on POMModelImpl while ProjectManager.mutex is held. XAM holds this lock while acquiring some semaphore: xam.AbstractModel.startTransaction. But it does not get this semaphore, and I am not sure what it is waiting for, so reassigning for evaluation.

Not a P2 if not known to reproducible or at least common, I think.
Comment 3 Sergey Lunegov 2010-04-19 08:21:03 UTC
Nikita, please take a look.
Comment 4 Svata Dedic 2013-04-19 09:55:12 UTC

*** This bug has been marked as a duplicate of bug 191796 ***