.BundleException: State change in progress for bundle [message #325610] |
Fri, 22 February 2008 19:48 |
Eclipse User |
|
|
|
I have a feature that I've built before under 3.2 and was able to install it
in a 3.2 Eclipse and have it work. Now I'm working with 3.3.1.
I build the feature using 3.3 and create a .zip file. I create a directory
and unzip the .zip into that directory. I create a new Eclipse installation
in another directory(I untar the SDK tar file for 3.3.1.). Then I run that
new Eclipse and use Help>Software Update>Find And Install to install the
feature from the directory where I unzipped it. Eclipse finds the feature, it
can view the documentation, the license, find the pictures and so on. It then
says it needs to restart the SDK and I tell it to do that. It restarts and
then I try to open the perspective from the feature. That is when the Error
Log starts getting entries. The very first one is shown below. The rest seem
to be a cascade from this one. What does it mean and how do I get rid of it?
What kind of "update" is going on?
The start() of my AbstractUIPlugin class starts some threads that want to go
off and do things. One of the run() methods is apparently getting some sort
of circular bundle activation problem that hasn't cropped up before. The
message indicates that a class from the plugin is waiting for the same plugin
to finish doing some sort of "update". Do I have to put in a BundleListener
and wait for my bundle to finish starting (in the Eclipse sense)before I can
start it for real (in its own mind)?
Gary
While loading class "com.ibm.rational.apex.comm.CommSocket", thread
"Thread[CommListener.thread,6,main]" timed out waiting (5000ms) for thread
"Thread[main,6,main]" to finish starting bundle
"update@plugins/com.ibm.rational.apex_1.0.0.jar [155]". To avoid deadlock,
thread "Thread[CommListener.thread,6,main]" is proceeding but
"com.ibm.rational.apex.comm.CommSocket" may not be fully initialized.
org.osgi.framework.BundleException: State change in progress for bundle
"update@plugins/com.ibm.rational.apex_1.0.0.jar" by thread "main".
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.begi nStateChange(AbstractBundle.java:1141)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:258)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:408)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
at com.ibm.rational.apex.comm.CommListener$1.Run(CommListener.j ava:147)
at com.ibm.rational.apex.utility.BetterThread.run(BetterThread. java:54)
Caused by:
org.eclipse.osgi.framework.internal.core.AbstractBundle$Bund leStatusException
.... 14 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$Bund leStatusException
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.begi nStateChange(AbstractBundle.java:1141)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:258)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:408)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
at com.ibm.rational.apex.comm.CommListener$1.Run(CommListener.j ava:147)
at com.ibm.rational.apex.utility.BetterThread.run(BetterThread. java:54)
|
|
|
Powered by
FUDForum. Page generated in 0.23309 seconds