twschiller / cupid

Information Mash-up and Visualization Plug-in for Eclipse
Eclipse Public License 1.0
1 stars 0 forks source link

Possible deadlock initializing Conditional Formating plug-in on first run of Cupid for workspace #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Fresh install on Kepler 

While loading class 
"edu.washington.cs.cupid.conditional.Formatter$InvalidationVisitor", thread 
"Thread[Worker-0,5,main]" timed out waiting (5003ms) for thread 
"Thread[Worker-3,5,main]" to finish starting bundle 
"edu.washington.cs.cupid.conditional_1.3.0.v20130728-2215 [415]". To avoid 
deadlock, thread "Thread[Worker-0,5,main]" is proceeding but 
"edu.washington.cs.cupid.conditional.Formatter$InvalidationVisitor" may not be 
fully initialized.

org.osgi.framework.BundleException: State change in progress for bundle 
"reference:file:plugins/edu.washington.cs.cupid.conditional_1.3.0.v20130728-2215
.jar" by thread "Worker-3".
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1088)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:298)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:478)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:109)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:464)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at edu.washington.cs.cupid.conditional.Formatter.onResourceChange(Formatter.java:504)
    at edu.washington.cs.cupid.CapabilityExecutor.resourceChanged(CapabilityExecutor.java:353)
    at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
    at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:396)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1531)
    at org.eclipse.core.internal.resources.Folder.create(Folder.java:113)
    at org.eclipse.core.internal.resources.Folder.create(Folder.java:125)
    at edu.washington.cs.cupid.scripting.java.JavaProjectManager.populateCupidProject(JavaProjectManager.java:88)
    at edu.washington.cs.cupid.scripting.java.CupidScriptingPlugin$CreateCupidProjectJob.run(CupidScriptingPlugin.java:148)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: 
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
    ... 26 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1088)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:298)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:478)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:109)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:464)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at edu.washington.cs.cupid.conditional.Formatter.onResourceChange(Formatter.java:504)
    at edu.washington.cs.cupid.CapabilityExecutor.resourceChanged(CapabilityExecutor.java:353)
    at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
    at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:396)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1531)
    at org.eclipse.core.internal.resources.Folder.create(Folder.java:113)
    at org.eclipse.core.internal.resources.Folder.create(Folder.java:125)
    at edu.washington.cs.cupid.scripting.java.JavaProjectManager.populateCupidProject(JavaProjectManager.java:88)
    at edu.washington.cs.cupid.scripting.java.CupidScriptingPlugin$CreateCupidProjectJob.run(CupidScriptingPlugin.java:148)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

Original issue reported on code.google.com by Todd.Sch...@gmail.com on 30 Jul 2013 at 4:38

GoogleCodeExporter commented 9 years ago

Original comment by Todd.Sch...@gmail.com on 30 Jul 2013 at 8:31