Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Provisioning Exception - No repository found
Provisioning Exception - No repository found [message #650902] Thu, 27 January 2011 06:08 Go to next message
Rohan  is currently offline Rohan Friend
Messages: 12
Registered: October 2009
Junior Member
Hi I have been getting this particular exception called Provisioning Exception while trying to run a plugin in a headless mode. The detailed log is as shown -


osgi> !SESSION 2011-01-27 10:34:28.684 -----------------------------------------------
eclipse.buildId=I20080617-2000
java.version=1.5.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -application WorkbenchPlugin.headless New_configuration
Command-line arguments: -consoleLog -console -application WorkbenchPlugin.headless -data E:\runtime New_configuration

!ENTRY org.eclipse.equinox.p2.core 0 0 2011-01-27 10:34:30.153
!MESSAGE Provisioning exception
!STACK 1
org.eclipse.equinox.internal.provisional.p2.core.ProvisionEx ception: No repository found at file:/D:/MyPlugins
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.loadRepository(MetadataRepositoryManager.j ava:471)
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.loadRepository(MetadataRepositoryManager.j ava:435)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator .loadMetadataRepository(Activator.java:82)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRe positoryListener.getMetadataRepository(DropinsRepositoryList ener.java:171)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRe positoryListener.added(DropinsRepositoryListener.java:62)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher .DirectoryWatcher.processFile(DirectoryWatcher.java:200)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher .DirectoryWatcher.scanDirectories(DirectoryWatcher.java:161)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher .DirectoryWatcher.poll(DirectoryWatcher.java:108)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator .watchDropins(Activator.java:468)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator .start(Activator.java:157)
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:616)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:299)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:489)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:321)
!SUBENTRY 1 org.eclipse.equinox.p2.metadata.repository 0 1000 2011-01-27 10:34:30.153
!MESSAGE No repository found at file:/D:/MyPlugins

!ENTRY org.eclipse.equinox.p2.core 4 0 2011-01-27 10:34:30.184
!MESSAGE Provisioning exception
!STACK 1
org.eclipse.equinox.internal.provisional.p2.core.ProvisionEx ception: No repository found at file:/D:/MyPlugins.
at org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.fail(ArtifactRepositoryManager.java:253)
at org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.j ava:427)
at org.eclipse.equinox.internal.p2.artifact.repository.Artifact RepositoryManager.loadRepository(ArtifactRepositoryManager.j ava:402)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator .loadArtifactRepository(Activator.java:117)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRe positoryListener.getArtifactRepository(DropinsRepositoryList ener.java:189)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRe positoryListener.added(DropinsRepositoryListener.java:63)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher .DirectoryWatcher.processFile(DirectoryWatcher.java:200)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher .DirectoryWatcher.scanDirectories(DirectoryWatcher.java:161)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher .DirectoryWatcher.poll(DirectoryWatcher.java:108)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator .watchDropins(Activator.java:468)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator .start(Activator.java:157)
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:616)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:299)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:489)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:321)
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 1000 2011-01-27 10:34:30.184
!MESSAGE No repository found at file:/D:/MyPlugins.

!ENTRY org.eclipse.osgi 2 0 2011-01-27 10:34:32.231
!MESSAGE The activator com.misys.ub.tools.ubinside.updater.Activator for bundle WorkbenchPlugin is invalid
!STACK 0
org.osgi.framework.BundleException: The activator com.misys.ub.tools.ubinside.updater.Activator for bundle WorkbenchPlugin is invalid
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:146)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:980)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:234)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:188)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.ClassNotFoundException: com.misys.ub.tools.ubinside.updater.Activator
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:481)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:313)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:139)
... 23 more
Root exception:
java.lang.ClassNotFoundException: com.misys.ub.tools.ubinside.updater.Activator
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:481)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:313)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:139)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:980)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:234)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:188)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

!ENTRY org.eclipse.osgi 4 0 2011-01-27 10:34:32.231
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in WorkbenchPlugin was unable to load class com.misys.ub.tools.ubinside.headless.HeadlessMode.
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .throwException(RegistryStrategyOSGI.java:180)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:162)
at org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:188)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.ClassNotFoundException: com.misys.ub.tools.ubinside.headless.HeadlessMode
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:481)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:313)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
... 16 more

!ENTRY org.eclipse.osgi 2 0 2011-01-27 10:34:32.356
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-01-27 10:34:32.356
!MESSAGE Bundle reference:file:plugins\org.eclipse.jdt.apt.pluggable.core_1. 0.100.v20080407-1345.jar [282] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2011-01-27 10:34:32.356
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2011-01-27 10:34:32.356
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2011-01-27 10:34:32.356
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2011-01-27 10:34:32.356
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-01-27 10:34:32.356
!MESSAGE Bundle reference:file:plugins\org.eclipse.jdt.compiler.apt_1.0.100. v20080513-1235.jar [284] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2011-01-27 10:34:32.356
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-01-27 10:34:32.356
!MESSAGE Bundle reference:file:plugins\org.eclipse.jdt.compiler.tool_1.0.100 .v_874.jar [285] was not resolved.

Can anyone please provide me any pointers on this? Any help will really appreciated.

Re: Provisioning Exception - No repository found [message #650974 is a reply to message #650902] Thu, 27 January 2011 11:07 Go to previous message
Rohan  is currently offline Rohan Friend
Messages: 12
Registered: October 2009
Junior Member
Okay. A pretty silly mistake from my side.
1)The plugin project had not actually deployed as a plugin but just copied into the plugins folder as a project!!

2)The path for the repository was being provided in a .link file in links folder of eclipse. It was not needed. ( I was trying to deploy the plugin in a different way rather than the normal way)

Previous Topic:File opened in two edtiors.
Next Topic:[SOLVED] How to synchronize a copy project in the background using JavaElementDeltas?
Goto Forum:
  


Current Time: Thu Apr 18 01:45:31 GMT 2024

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

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

Back to the top