org.osgi.framework.BundleException: Exception in org.eclipse.debug.internal.ui.DebugUIPlugin.start() of bundle org.eclipse.debug.ui.

SpringSource Issue Tracker | Michael Becker | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When using an Eclipse application that invokes *GradleProject.getGradleModel*, e.g. {noformat} public class TestApplication implements IApplication { @Override public Object start(final IApplicationContext context) throws Exception { ... project.getGradleModel(); ... } ... } {noformat} in a headless environment, e.g. from a shell via {noformat} ./eclipse -nosplash -data /home/mb/ws -application test.TestApplication {noformat} the application fails with the following exception: {noformat} !ENTRY org.eclipse.osgi 4 0 2014-01-29 15:52:38.381 !MESSAGE An error occurred while automatically activating bundle org.eclipse.debug.ui (316). !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.startActivator(BundleContextImpl.java:734) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300) at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:478) at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263) at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:109) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216) at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395) at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35) at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.springsource.ide.eclipse.gradle.core.util.ConsoleUtil.getInputColor(ConsoleUtil.java:76) at org.springsource.ide.eclipse.gradle.core.util.ConsoleUtil.getConsole(ConsoleUtil.java:107) at org.springsource.ide.eclipse.gradle.core.GradleModelProvider.buildModel(GradleModelProvider.java:367) at org.springsource.ide.eclipse.gradle.core.GradleModelProvider$GroupedModelProvider.ensureModels(GradleModelProvider.java:290) at org.springsource.ide.eclipse.gradle.core.GradleProject.getGradleModel(GradleProject.java:633) at org.springsource.ide.eclipse.gradle.core.GradleProject.getGradleModel(GradleProject.java:646) ... {noformat} due to some dependencies to (internal) Eclipse UI stuff. This happens in runlevel 3 (no X) as well as runlevel 5 (invoked from a shell in X session). Please have a look if these UI dependencies are really necessary for getting a Gradle model, as this bug prevents the Gradle tooling form being used in headless environments (especially when being invoked as part of a build process in a CI environment).

    SpringSource Issue Tracker | 3 years ago | Michael Becker
    org.osgi.framework.BundleException: Exception in org.eclipse.debug.internal.ui.DebugUIPlugin.start() of bundle org.eclipse.debug.ui.
  2. 0

    When using an Eclipse application that invokes *GradleProject.getGradleModel*, e.g. {noformat} public class TestApplication implements IApplication { @Override public Object start(final IApplicationContext context) throws Exception { ... project.getGradleModel(); ... } ... } {noformat} in a headless environment, e.g. from a shell via {noformat} ./eclipse -nosplash -data /home/mb/ws -application test.TestApplication {noformat} the application fails with the following exception: {noformat} !ENTRY org.eclipse.osgi 4 0 2014-01-29 15:52:38.381 !MESSAGE An error occurred while automatically activating bundle org.eclipse.debug.ui (316). !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.startActivator(BundleContextImpl.java:734) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300) at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:478) at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263) at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:109) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216) at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395) at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35) at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.springsource.ide.eclipse.gradle.core.util.ConsoleUtil.getInputColor(ConsoleUtil.java:76) at org.springsource.ide.eclipse.gradle.core.util.ConsoleUtil.getConsole(ConsoleUtil.java:107) at org.springsource.ide.eclipse.gradle.core.GradleModelProvider.buildModel(GradleModelProvider.java:367) at org.springsource.ide.eclipse.gradle.core.GradleModelProvider$GroupedModelProvider.ensureModels(GradleModelProvider.java:290) at org.springsource.ide.eclipse.gradle.core.GradleProject.getGradleModel(GradleProject.java:633) at org.springsource.ide.eclipse.gradle.core.GradleProject.getGradleModel(GradleProject.java:646) ... {noformat} due to some dependencies to (internal) Eclipse UI stuff. This happens in runlevel 3 (no X) as well as runlevel 5 (invoked from a shell in X session). Please have a look if these UI dependencies are really necessary for getting a Gradle model, as this bug prevents the Gradle tooling form being used in headless environments (especially when being invoked as part of a build process in a CI environment).

    SpringSource Issue Tracker | 3 years ago | Michael Becker
    org.osgi.framework.BundleException: Exception in org.eclipse.debug.internal.ui.DebugUIPlugin.start() of bundle org.eclipse.debug.ui.
  3. 0

    ARM DS-5 Web services unavailable

    Stack Overflow | 4 years ago | Evan Hosseini
    org.osgi.framework.BundleException: State change in progress for bundle "reference:file:dropins/plugins/com.arm.debugger.launcher2_5.15.0.20130620_160734.jar" by thread "Worker-7".
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Aptanta Studio 3 doesn't load

    Stack Overflow | 4 years ago
    org.osgi.framework.BundleException: State change in progress for bundle "reference:file:plugins/org.eclipse.debug.core_3.7.1.v20111129-2031.jar" by thread "main".
  6. 0

    Having some trouble with ADT

    Google Groups | 7 years ago | g1
    org.osgi.framework.BundleException: The state indicates the bundle is resolved

  1. poroszd 6 times, last 1 year ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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.startActivator()
  2. Eclipse OSGi
    AbstractBundle.start
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
    2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
    3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
    4. org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
    4 frames
  3. Eclipse OSGi
    EclipseLazyStarter.postFindLocalClass
    1. org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:478)
    2. org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
    3. org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:109)
    3 frames
  4. Eclipse OSGi
    DefaultClassLoader.findLocalClass
    1. org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)
    2. org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    2 frames
  5. Eclipse OSGi
    BundleLoader.findClass
    1. org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
    2. org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
    3. org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
    4. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
    5. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
    5 frames
  6. Eclipse OSGi
    DefaultClassLoader.loadClass
    1. org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    1 frame
  7. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    1 frame
  8. org.springsource.ide
    GradleProject.getGradleModel
    1. org.springsource.ide.eclipse.gradle.core.util.ConsoleUtil.getInputColor(ConsoleUtil.java:76)
    2. org.springsource.ide.eclipse.gradle.core.util.ConsoleUtil.getConsole(ConsoleUtil.java:107)
    3. org.springsource.ide.eclipse.gradle.core.GradleModelProvider.buildModel(GradleModelProvider.java:367)
    4. org.springsource.ide.eclipse.gradle.core.GradleModelProvider$GroupedModelProvider.ensureModels(GradleModelProvider.java:290)
    5. org.springsource.ide.eclipse.gradle.core.GradleProject.getGradleModel(GradleProject.java:633)
    6. org.springsource.ide.eclipse.gradle.core.GradleProject.getGradleModel(GradleProject.java:646)
    6 frames