Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Exceptions accessing preferences during shutdown


I'm seeing these exceptions in my runtime workbench log.  It looks like you can't create executable extensions during a bundle shutdown? If so, is this a reasonable limitation for the runtime to impose?


org.osgi.framework.BundleException: Bundle state change in progress
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at org.osgi.framework.BundleException.<init>(BundleException.java:68)
at org.eclipse.osgi.framework.internal.core.Bundle.beginStateChange(Bundle.java:1228)
at org.eclipse.osgi.framework.internal.core.Bundle.start(Bundle.java:333)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:133)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:125)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:114)
at org.eclipse.core.internal.preferences.PreferencesService.createNode(PreferencesService.java:75)
at org.eclipse.core.internal.preferences.RootPreferences.node(RootPreferences.java:105)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:533)
at org.eclipse.core.resources.ResourcesPlugin.shutdown(ResourcesPlugin.java:299)
at org.eclipse.core.internal.compatibility.PluginActivator.stop(PluginActivator.java:66)
at org.eclipse.osgi.framework.internal.core.BundleContext$2.run(BundleContext.java:1028)
at java.security.AccessController.doPrivileged(AccessController.java:189)
at org.eclipse.osgi.framework.internal.core.BundleContext.stop(BundleContext.java:1024)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:482)
at org.eclipse.osgi.framework.internal.core.Bundle.stop(Bundle.java:480)
at org.eclipse.core.internal.plugins.PluginStopper.run(PluginStopper.java:99)
at org.eclipse.core.internal.runtime.PlatformActivator.stopLegacyBundles(PlatformActivator.java:290)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:272)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:173)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at org.eclipse.core.launcher.Main.basicRun(Main.java:305)
at org.eclipse.core.launcher.Main.run(Main.java:745)
at org.eclipse.core.launcher.Main.main(Main.java:713)

Back to the top