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 207396 - Deadlock in j2ee.deployment.impl.bridge.ServerWizardProviderLookup
Summary: Deadlock in j2ee.deployment.impl.bridge.ServerWizardProviderLookup
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 207423 (view as bug list)
Depends on: 210279
Blocks:
  Show dependency tree
 
Reported: 2012-01-17 14:16 UTC by Kenneth Ganfield
Modified: 2012-04-06 10:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (43.69 KB, application/octet-stream)
2012-01-17 14:16 UTC, Kenneth Ganfield
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Ganfield 2012-01-17 14:16:03 UTC
Created attachment 114966 [details]
thread dump

When trying to add a server in the Services window, I tried to add Weblogic. The wizard displayed the activating feature status. After approx 20 minutes I cancelled the activation after nothing happened. The IDE is now completely frozen.
Comment 1 Kenneth Ganfield 2012-01-17 14:33:03 UTC
After force quit of IDE I attempted to add server again and this time it was successful.
Comment 2 Petr Cyhelsky 2012-01-17 14:47:06 UTC
Found one Java-level deadlock:
=============================
"FoD Processor":
  waiting to lock monitor 0x00cbf844 (object 0x1cf84410, a org.netbeans.modules.j2ee.deployment.impl.bridge.ServerWizardProviderLookup),
  which is held by "Lookup Dispatch Thread"
"Lookup Dispatch Thread":
  waiting to lock monitor 0x09c005d4 (object 0x1cf84490, a org.netbeans.modules.j2ee.deployment.impl.bridge.ServerInstanceProviderLookup),
  which is held by "FoD Processor"
Comment 3 Jaroslav Tulach 2012-01-26 08:35:11 UTC
Deadlock on <0x1cf84410> 
in org.netbeans.modules.j2ee.deployment.impl.bridge.ServerWizardProviderLookup)
Comment 4 Petr Hejl 2012-03-21 11:45:17 UTC
*** Bug 207423 has been marked as a duplicate of this bug. ***
Comment 5 Petr Hejl 2012-04-05 14:20:53 UTC
Fixed in web-main 0432bf5901d7.
Comment 6 Quality Engineering 2012-04-06 10:08:15 UTC
Integrated into 'main-golden', will be available in build *201204060400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0432bf5901d7
User: Petr Hejl <phejl@netbeans.org>
Log: #207396 Deadlock in j2ee.deployment.impl.bridge.ServerWizardProviderLookup - using single lock for both instances