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

Bug 426456

Summary: Luna: Exception after removal from dropins/, even with -clean
Product: [Eclipse Project] Equinox Reporter: John Boyland <boyland>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov, ana.m.g.estrella, markus.kell.r, mober.at+eclipse, pwebster
Version: 3.10.0 Luna   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description John Boyland CLA 2014-01-23 09:08:18 EST
After removing a plugin from dropins/, the next start of Eclipse, even with -clean gets an exception fault:

java.lang.RuntimeException: Unable to aquire PluginConverter service during generation for: /Users/boyland/Downloads/eclipse-luna/dropins/blah_blah.jar
	at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.convertPluginManifest(Utils.java:154)
	at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.basicLoadManifest(Utils.java:82)
	at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getOSGiManifest(Utils.java:217)
	at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.installBundle(EquinoxBundlesState.java:555)

...

Workaround: press cancel and invoke eclipse -clean again.

I was expecting -clean to rescan the dropins folder.
I found this problem when trying to drop a new version of a plugin in dropins/
,
but it looked for the old one until TWO invocations of eclipse -clean.

Build id: 20131219-0014
Comment 1 Markus Keller CLA 2015-02-12 10:15:11 EST
Full stacktrace from I20150210-0800 on Windows. I manually deleted the org.eclipse.egit.core_3.6.2.201501042013.jar from a links folder and then started with -clean.

java.lang.RuntimeException: Unable to aquire PluginConverter service during generation for: C:\e\extensions-p2\egit\eclipse\plugins\org.eclipse.egit.core_3.6.2.201501042013.jar
        at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.convertPluginManifest(Utils.java:154)
        at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.basicLoadManifest(Utils.java:82)
        at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getOSGiManifest(Utils.java:217)
        at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.installBundle(EquinoxBundlesState.java:555)
        at org.eclipse.equinox.internal.simpleconfigurator.manipulator.SimpleConfiguratorManipulatorImpl.updateBundles(SimpleConfiguratorManipulatorImpl.java:56
0)
        at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.load(EquinoxManipulatorImpl.java:339)
        at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:55)
        at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
        at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.uninstallBundle(UninstallBundleAction.java:74)
        at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.execute(UninstallBundleAction.java:32)
        at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:38)
        at org.eclipse.equinox.internal.p2.engine.Phase.mainPerform(Phase.java:183)
        at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:95)
        at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:47)
        at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:75)
        at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
        at org.eclipse.equinox.internal.p2.reconciler.dropins.ProfileSynchronizer.executePlan(ProfileSynchronizer.java:805)
        at org.eclipse.equinox.internal.p2.reconciler.dropins.ProfileSynchronizer.performAddRemove(ProfileSynchronizer.java:202)
        at org.eclipse.equinox.internal.p2.reconciler.dropins.ProfileSynchronizer.synchronize(ProfileSynchronizer.java:141)
        at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.synchronize(Activator.java:468)
        at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Activator.java:176)
        at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)
        at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)
        at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)
        at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:941)
        at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:318)
        at org.eclipse.osgi.container.Module.doStart(Module.java:571)
        at org.eclipse.osgi.container.Module.start(Module.java:439)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Comment 2 Martin Oberhuber CLA 2015-04-30 06:17:36 EDT
Same problem here, after removing a plugin from dropins/ and restarting I'm getting the PluginConverter exception printed on the console.

Interesting: When I remove 6 plugins, I'm only getting 2 PluginConverter exceptions. Perhaps a race condition ? 

My Eclipse is Luna SR2 on x86_64-gtk (CentOS 6.6 / Oracle Java 7u45).
Has anyone checked if this is still an issue with Mars ?
Comment 3 Margs E. CLA 2016-03-21 06:22:20 EDT
Hi!

Do we have any news about the resolution for this bug?

Thanks!
Comment 4 Eclipse Genie CLA 2019-01-18 06:49:52 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 5 Alexander Kurtakov CLA 2019-01-18 06:57:06 EST
Is this still reproducible with 2018-12 ?
Comment 6 Alexander Kurtakov CLA 2019-01-18 07:00:01 EST
As the PluginConverter is removed I don't see how thic can happen with latest release. If it still happens on latest release please open with details how exaclty to reproduce it and the exact error message now.