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.
I encountered a deadlock when resolving a database connection. The stack trace implies the j2ee.ui common module is involved so I am filing the issue here.
Created attachment 55227 [details] stack trace showing deadlock
Is this 6.0 final release or pre-release ? I had fixed a deadlock in this area, just before the 6.0 release
It looks like a pre-6.0 release is used. In the 6.0 final release codebase, line 262 is not inside the getSize method However, the attached stack trace shows that execution reaches line 262 in method getSize() . This seems to indicate that the build used is not the 6.0 release. - locked <0x1389a870> (a org.netbeans.modules.j2ee.common.ui.MissingDatabaseConnectionWarning$DatasourceListModel) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) "AWT-EventQueue-1": at org.netbeans.modules.j2ee.common.ui.MissingDatabaseConnectionWarning$DatasourceListModel.getSize(MissingDatabaseConnectionWarning.java:262) - waiting to lock <0x1389a870> (a org.netbeans.modules.j2ee.common.ui.MissingDatabaseConnectionWarning$DatasourceListModel)
Please try with 6.0 release. If you're still seeing this exception then you can reopen this bug.
There was an earlier bug in 6.0 RC1 that I had fixed, similar stack trace as attached (same getSize() on line 262)
This is based on the 6.0 final bits, reopening.
Created attachment 55254 [details] snapshot of about window, showing configuration
Correction, another issue 121694 was filed during RC1 as a P2. This has since been fixed. The attached stack trace is from the final release. In the trunk, for MissingDatabaseConnectionWarning, the getSize method is on a different line number. I'll check with QE if this could be a patch candidate Closing as duplicate of 121694 *** This issue has been marked as a duplicate of 121694 ***
I am not sure this is a actually a duplicate of the mentioned bug as this has already been fixed and the problem still occurs.
> the problem still occurs. Did you try the trunk build ? (in desc9, if not clear, the fix is in the trunk)
to re-clarify the fix did not make it in 6.0 , try a trunk build, fix went in on Dec 11, so please use a trunk build, built after Dec 12 ( from the duplicate bug http://www.netbeans.org/issues/show_bug.cgi?id=121694#desc23 )