Skip to main content



      Home
Home » Eclipse Projects » Equinox » p2 warnings and errors
p2 warnings and errors [message #107929] Thu, 10 April 2008 19:34 Go to next message
Eclipse UserFriend
Hey,

want to provide some feedback to p2, I was tortured a few hours, but to a great part
this was caused by myself..

I just installed quite a bunch of plugins, by putting them into separate subfolders of
the "dropins" folder. Running eclipse for the first time after doing so, the Error log showed some
problems (see the entire log below). Just have a look and see if you can get something out of it.
I got most afraid of the the "ProvisioningEventBus service could not be obtained, CoreGarbageCollector
will not function properly." Message. I think the other messages are all about unresolved dependencies,
but I am not sure. The messages are very cryptic to people who don't know what a _IU_, or a _capability_
is.

Another strange thing, is that the errors don't reappear after restarting eclipse.

Thanks for takin a look.
Felix


!ENTRY org.eclipse.equinox.p2.director 2 0 2008-04-11 01:13:07.257
!MESSAGE Problems resolving provisioning plan.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-04-11 01:13:07.257
!MESSAGE No IU found to satisfy dependency of org.eclipse.gmf.examples.runtime.emf.clipboard 1.0.1.v20070601-1400 on req requi
redCapability: osgi.bundle/org.eclipse.emf.examples.library.editor/[2.2.0,3 .0.0)
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-04-11 01:13:07.257
!MESSAGE No IU found to satisfy dependency of org.eclipse.gmf.examples.feature.group 1.0.100.v20080322-0000-7_-_DE8McIJPL0Oa9S
mLN on req requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.emf.examples.library.e ditor/[2.2.0,3.0.0)

!ENTRY org.eclipse.equinox.p2.reconciler.dropins 4 0 2008-04-11 01:14:27.704
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: State change in progress for bundle "reference:file:plugins/org.eclipse.equinox.p2.reconci
ler.dropins_0.1.0.v20080329-1213.jar" by thread "Start Level Event Dispatcher".
at org.eclipse.osgi.framework.internal.core.AbstractBundle.begi nStateChange(AbstractBundle.java:1143)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.susp end(AbstractBundle.java:529)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBu ndle(Framework.java:1104)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.su spendBundle(PackageAdminImpl.java:280)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.pr ocessDelta(PackageAdminImpl.java:415)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.do ResolveBundles(PackageAdminImpl.java:223)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1. run(PackageAdminImpl.java:162)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$Bund leStatusException
... 8 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$Bund leStatusException
at org.eclipse.osgi.framework.internal.core.AbstractBundle.begi nStateChange(AbstractBundle.java:1143)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.susp end(AbstractBundle.java:529)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBu ndle(Framework.java:1104)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.su spendBundle(PackageAdminImpl.java:280)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.pr ocessDelta(PackageAdminImpl.java:415)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.do ResolveBundles(PackageAdminImpl.java:223)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1. run(PackageAdminImpl.java:162)
at java.lang.Thread.run(Thread.java:619)

!ENTRY org.eclipse.equinox.p2.garbagecollector 4 0 2008-04-11 01:14:35.819
!MESSAGE ProvisioningEventBus service could not be obtained, CoreGarbageCollector will not function properly.

!ENTRY org.eclipse.equinox.p2.director 2 0 2008-04-11 01:14:35.921
!MESSAGE Problems resolving provisioning plan.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-04-11 01:14:35.922
!MESSAGE No IU found to satisfy dependency of org.eclipse.gmf.examples.runtime.emf.clipboard 1.0.1.v20070601-1400 req required
Capability: osgi.bundle/org.eclipse.emf.examples.library.editor/[2.2.0,3 .0.0)
!STACK 0
java.lang.IllegalStateException: No IU found to satisfy dependency of org.eclipse.gmf.examples.runtime.emf.clipboard 1.0.1.v20
070601-1400 req requiredCapability: osgi.bundle/org.eclipse.emf.examples.library.editor/[2.2.0,3 .0.0)
at org.eclipse.equinox.internal.p2.director.Projector.expandReq uirement(Projector.java:309)
at org.eclipse.equinox.internal.p2.director.Projector.processIU (Projector.java:218)
at org.eclipse.equinox.internal.p2.director.Projector.encode(Pr ojector.java:81)
at org.eclipse.equinox.internal.p2.director.SimplePlanner.getPr ovisioningPlan(SimplePlanner.java:345)
at org.eclipse.equinox.internal.p2.reconciler.dropins.ProfileSy nchronizer.createProvisioningPlan(ProfileSynchronizer.java:3 46)
at org.eclipse.equinox.internal.p2.reconciler.dropins.ProfileSy nchronizer.synchronize(ProfileSynchronizer.java:89)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator .synchronize(Activator.java:175)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator .start(Activator.java:116)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:355)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1074)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:632)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:506)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:280)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:466)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:209)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:319)
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-04-11 01:14:35.922
!MESSAGE No IU found to satisfy dependency of org.eclipse.gmf.examples.feature.group 1.0.100.v20080322-0000-7_-_DE8McIJPL0Oa9SmLN req requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.emf.examples.library.e ditor/[2.2.0,3.0.0)
!STACK 0
java.lang.IllegalStateException: No IU found to satisfy dependency of org.eclipse.gmf.examples.feature.group 1.0.100.v20080322-0000-7_-_DE8McIJPL0Oa9SmLN req requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.emf.examples.library.e ditor/[2.2.0,3.0.0)
at org.eclipse.equinox.internal.p2.director.Projector.expandReq uirement(Projector.java:309)
at org.eclipse.equinox.internal.p2.director.Projector.processIU (Projector.java:218)
at org.eclipse.equinox.internal.p2.director.Projector.encode(Pr ojector.java:81)
at org.eclipse.equinox.internal.p2.director.SimplePlanner.getPr ovisioningPlan(SimplePlanner.java:345)
at org.eclipse.equinox.internal.p2.reconciler.dropins.ProfileSy nchronizer.createProvisioningPlan(ProfileSynchronizer.java:3 46)
at org.eclipse.equinox.internal.p2.reconciler.dropins.ProfileSy nchronizer.synchronize(ProfileSynchronizer.java:89)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator .synchronize(Activator.java:175)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator .start(Activator.java:116)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:355)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1074)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:632)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:506)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:280)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:466)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:209)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:319)
Re: p2 warnings and errors [message #107974 is a reply to message #107929] Fri, 11 April 2008 08:29 Go to previous messageGo to next message
Eclipse UserFriend
Here is another exception trace. Happens when the p2 UI opens up.

An internal error occurred during: "Fetching children of Known Repositories".
java.lang.ClassCastException: org.eclipse.equinox.internal.p2.extensionlocation.ExtensionL ocationMetadataRepositoryFactory cannot be cast to
org.eclipse.equinox.internal.provisional.spi.p2.metadata.rep ository.IMetadataRepositoryFactory
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.loadRepository(MetadataRepositoryManager.j ava:379)
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.loadRepository(MetadataRepositoryManager.j ava:358)
at org.eclipse.equinox.internal.provisional.p2.ui.query.Queryab leMetadataRepositoryManager.query(QueryableMetadataRepositor yManager.java:89)
at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElemen t.fetchChildren(RemoteQueriedElement.java:56)
at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElemen t.fetchDeferredChildren(RemoteQueriedElement.java:35)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(Def erredTreeContentManager.java:234)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


Felix
Re: p2 warnings and errors [message #107988 is a reply to message #107974] Fri, 11 April 2008 08:31 Go to previous message
Eclipse UserFriend
Felix Dorner wrote:
> Here is another exception trace. Happens when the p2 UI opens up.

The behavior is strange then: An Alert box pops up, that I cannot
simply close anymore. First I need to close the p2 UI, then I can
close the Alert box.


Felix
Previous Topic:Specifying welcome file list through Equinox Http Service
Next Topic:Dropins folder and installed features
Goto Forum:
  


Current Time: Wed Jul 23 19:26:34 EDT 2025

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

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

Back to the top