Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370090

Summary: BundleException comes in org.eclipse.equinox.p2.reconciler.dropins plugin
Product: [Eclipse Project] Equinox Reporter: Anand Kumar Gupta <anand.gupta>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: pwebster, tjwatson
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Anand Kumar Gupta CLA 2012-01-30 02:02:14 EST
Build Identifier: M20110909-1335

When I launch the customized Indigo version (with mylyn, windowbuilder, subclipse etc. included), I'm getting following exception in Error Log:
(Also please let me know what impact it will have if I ignore this)

org.osgi.framework.BundleException: State change in progress for bundle "reference:file:plugins/org.eclipse.equinox.p2.reconciler.dropins_1.1.100.v20110510.jar" by thread "Start Level Event Dispatcher".
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:563)
	at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1161)
	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.suspendBundle(PackageAdminImpl.java:327)
	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.processDelta(PackageAdminImpl.java:468)
	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:253)
	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:173)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
	... 8 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:563)
	at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1161)
	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.suspendBundle(PackageAdminImpl.java:327)
	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.processDelta(PackageAdminImpl.java:468)
	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:253)
	at org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:173)
	at java.lang.Thread.run(Thread.java:662)



Reproducible: Always

Steps to Reproduce:
1. Launch Indigo
2. Check error log
Comment 1 Thomas Watson CLA 2012-01-30 08:48:13 EST
Do you have bundles included in the dropins/ folder of your eclipse installations?  The error indicates that the background thread which is performing a refresh packages operation is attempting to stop the bundle org.eclipse.equinox.p2.reconciler.dropins.  I think this can happen from the dropins/ support in p2 if the dropins/ folder contains something that ultimately causes the org.eclipse.equinox.p2.reconciler.dropins bundle to be pulled into the refresh operation.

The error is logged because the refresh operation was not able to successfully grab the lock on the org.eclipse.equinox.p2.reconciler.dropins bundle to stop it because it likely was in the process of being started during the launch of eclipse.  While that can cause issues for that session of eclipse, it should be safe to ignore it if the message is no longer logged each time you restart.
Comment 2 Anand Kumar Gupta CLA 2012-01-31 01:23:52 EST
(In reply to comment #1)
> Do you have bundles included in the dropins/ folder of your eclipse
> installations?  The error indicates that the background thread which is
> performing a refresh packages operation is attempting to stop the bundle
> org.eclipse.equinox.p2.reconciler.dropins.  I think this can happen from the
> dropins/ support in p2 if the dropins/ folder contains something that
> ultimately causes the org.eclipse.equinox.p2.reconciler.dropins bundle to be
> pulled into the refresh operation.
> 
> The error is logged because the refresh operation was not able to successfully
> grab the lock on the org.eclipse.equinox.p2.reconciler.dropins bundle to stop
> it because it likely was in the process of being started during the launch of
> eclipse.  While that can cause issues for that session of eclipse, it should be
> safe to ignore it if the message is no longer logged each time you restart.

We have only links included in dropins folder. Also this error is not coming when I clear the log and start again. If it is fine to ignore then please resolve this bug.
Comment 3 Eclipse Genie CLA 2018-11-09 05:23:41 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Lars Vogel CLA 2019-09-04 01:50:47 EDT
This bug was marked as stalebug a while ago. Marking as worksforme.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard tag.