Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Exception starting certain eclipse bundles
Exception starting certain eclipse bundles [message #532532] Mon, 10 May 2010 11:55 Go to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
During the eclipse v3.6M6 startup I am seeing exceptions that read:
"java.lang.IllegalStateException: Workbench has not been created yet." (see
below for the entire stack trace).
Since these are "standard" bundles installed as part of eclipse (v3.6M6), I
have no idea, why that bundle fails (from the error msg. I can only assume
some initialization order problem).

Is this something known or should I file a bug? Or is there something one
can do to fix these?

Michael

------------------------------------------
!SESSION 2010-05-10
12:32:06.694 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US_CH
Command-line arguments: -dev
file:C:/Users/mmo/Documents/eclipse/workspace_JDojo/.metadat a/.plugins/org.eclipse.pde.core/jdojo.mmo.test/dev.propertie s -
os win32 -ws win32 -arch x86 -consoleLog

!ENTRY org.eclipse.equinox.p2.metadata.repository 4 0 2010-05-10
12:32:15.854
!MESSAGE ProvisioningEventBus could not be obtained. Metadata caches may not
be cleaned up properly.

!ENTRY org.eclipse.debug.ui 4 0 2010-05-10 12:32:15.884
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.debug.internal.ui.DebugUIPlugin.start() of bundle
org.eclipse.debug.ui.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1028)
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)
Caused by: java.lang.IllegalStateException: Workbench has not been created
yet.
at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
at
org.eclipse.debug.internal.ui.contextlaunching.LaunchingReso urceManager.startup(LaunchingResourceManager.java:528)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.getLaunchingReso urceManager(DebugUIPlugin.java:297)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.start(DebugUIPlu gin.java:494)
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)
... 10 more
Root exception:
java.lang.IllegalStateException: Workbench has not been created yet.
at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
at
org.eclipse.debug.internal.ui.contextlaunching.LaunchingReso urceManager.startup(LaunchingResourceManager.java:528)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.getLaunchingReso urceManager(DebugUIPlugin.java:297)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.start(DebugUIPlu gin.java:494)
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)
------------------------------------------
Re: Exception starting certain eclipse bundles [message #532546 is a reply to message #532532] Mon, 10 May 2010 12:46 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Michael Moser wrote:
> During the eclipse v3.6M6 startup I am seeing exceptions that read:
> "java.lang.IllegalStateException: Workbench has not been created yet."
> (see below for the entire stack trace).
> Since these are "standard" bundles installed as part of eclipse
> (v3.6M6), I have no idea, why that bundle fails (from the error msg. I
> can only assume some initialization order problem).
>
> Is this something known or should I file a bug? Or is there something
> one can do to fix these?

Something in your system is access classes from the debug plugin before
the workbench has started. Are there other messages about classes from
debug not being available?

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:unmet dependencies on installing PDT [SOLVED]
Next Topic:problem add jar to build path
Goto Forum:
  


Current Time: Fri Apr 19 00:30:38 GMT 2024

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

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

Back to the top