Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-204

org.osgi.framework.BundleException when running Eclipse plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.0-beta-5
    • None
    • None
    • Sun J2SDK 1.4.2, Eclipse 3.0M7

    Description

      While running the plugin under Eclipse 3.0M7, I get the following exception. This exception happens when I try to run the test-suite, create a new Groovy class, or open the editor on a groovy file.

      The error prevents the groovy editor from being shown.

      Stack trace (from GroovyPluginTestCase.testNatureAddAndRemove)
      org.osgi.framework.BundleException: The BundleActivator org.codehaus.groovy.eclipse.GroovyPlugin is invalid
      at org.eclipse.osgi.framework.internal.core.Bundle.loadBundleActivator(Bundle.java:176)
      at org.eclipse.osgi.framework.internal.core.BundleContext.start(BundleContext.java:987)
      at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:403)
      at org.eclipse.osgi.framework.internal.core.Bundle.start(Bundle.java:312)
      at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:58)
      at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:326)
      at org.eclipse.osgi.framework.internal.core.BundleLoader.requireClass(BundleLoader.java:291)
      at org.eclipse.osgi.framework.internal.core.BundleLoader.findRequiredClass(BundleLoader.java:915)
      at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)
      at org.eclipse.osgi.framework.adaptor.BundleClassLoader.loadClass(BundleClassLoader.java:115)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
      at java.lang.Class.getConstructor0(Unknown Source)
      at java.lang.Class.getConstructor(Unknown Source)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.createTest(RemoteTestRunner.java:500)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.getTest(RemoteTestRunner.java:342)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:387)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:294)
      at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:30)
      at org.eclipse.pde.internal.junit.runtime.UITestApplication$1.run(UITestApplication.java:91)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:102)
      at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2325)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2033)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1550)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1526)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:265)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
      at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
      at org.eclipse.pde.internal.junit.runtime.UITestApplication.run(UITestApplication.java:34)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:257)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:104)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
      at org.eclipse.core.launcher.Main.run(Main.java:742)
      at org.eclipse.core.launcher.Main.main(Main.java:581)
      java.lang.InstantiationException: org.codehaus.groovy.eclipse.GroovyPlugin
      at java.lang.Class.newInstance0(Unknown Source)
      at java.lang.Class.newInstance(Unknown Source)
      at org.eclipse.osgi.framework.internal.core.Bundle.loadBundleActivator(Bundle.java:170)
      at org.eclipse.osgi.framework.internal.core.BundleContext.start(BundleContext.java:987)
      at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:403)
      at org.eclipse.osgi.framework.internal.core.Bundle.start(Bundle.java:312)
      at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:58)
      at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:326)
      at org.eclipse.osgi.framework.internal.core.BundleLoader.requireClass(BundleLoader.java:291)
      at org.eclipse.osgi.framework.internal.core.BundleLoader.findRequiredClass(BundleLoader.java:915)
      at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)
      at org.eclipse.osgi.framework.adaptor.BundleClassLoader.loadClass(BundleClassLoader.java:115)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
      at java.lang.Class.getConstructor0(Unknown Source)
      at java.lang.Class.getConstructor(Unknown Source)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.createTest(RemoteTestRunner.java:500)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.getTest(RemoteTestRunner.java:342)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:387)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:294)
      at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:30)
      at org.eclipse.pde.internal.junit.runtime.UITestApplication$1.run(UITestApplication.java:91)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:102)
      at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2325)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2033)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1550)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1526)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:265)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
      at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
      at org.eclipse.pde.internal.junit.runtime.UITestApplication.run(UITestApplication.java:34)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:257)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:104)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
      at org.eclipse.core.launcher.Main.run(Main.java:742)
      at org.eclipse.core.launcher.Main.main(Main.java:581)

      Attachments

        Issue Links

          Activity

            People

              zohar Zohar Melamed
              jhannes Johannes Brodwall
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: