Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.registry.osgi.Activator.s
org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.registry.osgi.Activator.s [message #65363] Tue, 25 April 2006 17:48 Go to next message
David Michonneau is currently offline David MichonneauFriend
Messages: 1145
Registered: July 2009
Senior Member
I get this exception when the platform starts (I use 3.2.0 20060327 build).
Any idea what could be wrong?

Thanks,

David

ENTRY org.eclipse.equinox.registry 4 0 2006-04-25 19:31:50.671
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.core.internal.registry.osgi.Activator.start() of bundle
org.eclipse.equinox.registry.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1013)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:969)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:317)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:329)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1037)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:573)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:495)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:275)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:455)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:189)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:291)
Caused by: java.lang.NullPointerException
at
org.eclipse.core.internal.runtime.ResourceTranslator.getReso urceBundle(ResourceTranslator.java:63)
at
org.eclipse.core.internal.registry.osgi.EclipseBundleListene r.addBundle(EclipseBundleListener.java:132)
at
org.eclipse.core.internal.registry.osgi.EclipseBundleListene r.processBundles(EclipseBundleListener.java:79)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .onStart(RegistryStrategyOSGI.java:193)
at
org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:595)
at
org.eclipse.core.runtime.RegistryFactory.createRegistry(Regi stryFactory.java:49)
at
org.eclipse.core.internal.registry.osgi.Activator.startRegis try(Activator.java:126)
at
org.eclipse.core.internal.registry.osgi.Activator.start(Acti vator.java:53)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:988)
... 10 more
Root exception:
java.lang.NullPointerException
at
org.eclipse.core.internal.runtime.ResourceTranslator.getReso urceBundle(ResourceTranslator.java:63)
at
org.eclipse.core.internal.registry.osgi.EclipseBundleListene r.addBundle(EclipseBundleListener.java:132)
at
org.eclipse.core.internal.registry.osgi.EclipseBundleListene r.processBundles(EclipseBundleListener.java:79)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .onStart(RegistryStrategyOSGI.java:193)
at
org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:595)
at
org.eclipse.core.runtime.RegistryFactory.createRegistry(Regi stryFactory.java:49)
at
org.eclipse.core.internal.registry.osgi.Activator.startRegis try(Activator.java:126)
at
org.eclipse.core.internal.registry.osgi.Activator.start(Acti vator.java:53)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:988)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:969)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:317)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:329)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1037)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:573)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:495)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:275)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:455)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:189)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:291)
Re: org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.registry.osgi.Activat [message #65385 is a reply to message #65363] Tue, 25 April 2006 19:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: skaegi.sympatico.ca

Hi David,

... a bit of a guess but I suspect your org.eclipse.equinox.commons bundle
was not started. That bundle needs to be started before the registry
bundle is.

-Simon
Re: org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.registry.osgi.Activat [message #65407 is a reply to message #65385] Tue, 25 April 2006 20:09 Go to previous messageGo to next message
David Michonneau is currently offline David MichonneauFriend
Messages: 1145
Registered: July 2009
Senior Member
Hi Simon,

I think it was started, my config file starts with:

osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.core.jobs@2:start,org.eclipse.core.runtime.compatibility.registry,org.eclipse.equinox.registry@2:start,org.eclipse.equinox.preferences@2:start,org.eclipse.core.contenttype,org.eclipse.core.runtime@2:start,org.eclipse.update.configurator@3:start

Thanks,

David

"Simon Kaegi" <skaegi@sympatico.ca> wrote in message
news:558958dbf1236f16ec4ffeff33446f46$1@www.eclipse.org...
> Hi David,
>
> .. a bit of a guess but I suspect your org.eclipse.equinox.commons bundle
> was not started. That bundle needs to be started before the registry
> bundle is.
>
> -Simon
>
Re: org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.registry.osgi.Activat [message #65428 is a reply to message #65407] Tue, 25 April 2006 20:15 Go to previous message
Eclipse UserFriend
Originally posted by: skaegi.sympatico.ca

try this...
osgi.bundles=org.eclipse.equinox.common@2:start,
org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@start
{from the regular SDK config.ini}

or if you're controlling each bundle make sure that only
"org.eclipse.equinox.common" uses start level 2 and everything else uses
either a higher value or the default level(eg. the.bundle.to.start@4:start
or the.bundle.to.start:start)
Previous Topic:OSGi bundles in web app
Next Topic:Timeframe for Integrating AspectJ Load-Time Weaving into OSGi?
Goto Forum:
  


Current Time: Fri Dec 27 10:59:40 GMT 2024

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

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

Back to the top