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.
Just encountered a deadlock while settings the Java sources of an EJB freeform project. Unable to reproduce again.
Created attachment 26359 [details] Thread dump
Quite easy. The ProjectManager mutex is hold by APH.putConfigurationFragment() in EDT and tries to acquire the EJBModules lock. On the other hand the RP thread holds the EJBModules lock and tries to acquire the PM mutex. EJBModules.findEjbJar() should not call external code (PM.findProject(), which aqcuires the PM mutex) from a synchronized block.
Hopefully fixed. No way to test, since I've seen the issue only once. Checking in EJBModules.java; /cvs/j2ee/ejbfreeform/src/org/netbeans/modules/j2ee/ejbfreeform/EJBModules.java,v <-- EJBModules.java new revision: 1.5; previous revision: 1.4 done
Andrei, can I ask you to look at issue #67595 if it is duplicate of this or not, please? If it's a dup, i think i'll be able to verify this.
Definitely not a duplicate. However, I posted a suggestion how to fix issue 67595 to that issue.
thanks