Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse RT (runtime) » how to resolve a deadlock issue.
how to resolve a deadlock issue. [message #687946] Thu, 23 June 2011 14:56
Florence  is currently offline Florence Friend
Messages: 16
Registered: July 2009
Junior Member
I ran into the following deadlock issue but not sure how to resolve it. I hope to get some advice here. Thanks.

When the application started, the application was hanging due to the following deadlock issue.Basically, the code is trying to load some Eclipse plugins.

I have this setting "Bundle-ActivationPolicy: lazy" in the MANIFEST.MF file.

================================================================================ Here are the logs:

While loading class "xxxxxxxxxxxxxxExtension", thread "Thread[Worker-1,5,main]" timed out waiting (5004ms) for thread "Thread[main,6,main]" to finish starting bundle "update@../../shared/eclipse/plugins/xxxxxxxxxxxxxxxxxxxxx.jar [316]". To avoid deadlock, thread "Thread[Worker-1,5,main]" is proceeding but "xxxxxxxxxxxxxxxExtension" may not be fully initialized. org.osgi.framework.BundleException: State change in progress for bundle "update@../../shared/eclipse/plugins/xxxxxxxxxxxx.jar" by thread "main". at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange( at org.eclipse.osgi.framework.internal.core.AbstractBundle.start( at org.eclipse.osgi.framework.util.SecureAction.start( at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass( at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass( at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass( at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass( at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal( at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass( at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass( at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at at xxxxxxxxxxxxxxxxxxActivator$ at Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException ... 16 more
Previous Topic:Classloading: Unable to load class of a dependent plugin from a java project
Next Topic:Installation plugins issue
Goto Forum:

Current Time: Wed Oct 21 11:18:11 GMT 2020

Powered by FUDForum. Page generated in 0.01945 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top