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
  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 | 3 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

    Having some trouble with ADT

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

    Can not add the builder to a project

    GitHub | 3 years ago | gaydenko
    org.osgi.framework.BundleException: The activator com.palantir.typescript.TypeScriptPlugin for bundle com.palantir.typescript is invalid

  1. poroszd 6 times, last 10 months 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