org.osgi.framework.BundleException: The activator com.swtdesigner.DesignerPlugin for bundle com.swtdesigner is invalid

Coderanch | jayanandan thiagarajan | 1 decade 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

    swt-designer (design view does not work)

    Coderanch | 1 decade ago | jayanandan thiagarajan
    org.osgi.framework.BundleException: The activator com.swtdesigner.DesignerPlugin for bundle com.swtdesigner is invalid

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/commons/lang/SystemUtils

      at com.swtdesigner.DesignerPlugin.<clinit>()
    2. com.swtdesigner
      DesignerPlugin.<clinit>
      1. com.swtdesigner.DesignerPlugin.<clinit>(DesignerPlugin.java:86)
      1 frame
    3. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      5. java.lang.Class.newInstance0(Class.java:350)
      6. java.lang.Class.newInstance(Class.java:303)
      6 frames
    4. Eclipse OSGi
      AbstractBundle.start
      1. org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:136)
      2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:962)
      3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
      4. org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
      4 frames
    5. Eclipse OSGi
      EclipseLazyStarter.preFindLocalClass
      1. org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:86)
      1 frame
    6. Eclipse OSGi
      DefaultClassLoader.loadClass
      1. org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409)
      2. org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
      3. org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
      4. org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
      5. org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
      6. org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
      6 frames
    7. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      1 frame
    8. Eclipse OSGi
      AbstractBundle.loadClass
      1. org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278)
      2. org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
      3. org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245)
      3 frames
    9. Equinox
      ConfigurationElementHandle.createExecutableExtension
      1. org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147)
      2. org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
      3. org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
      4. org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
      4 frames
    10. Eclipse UI
      WorkbenchPlugin$1.run
      1. org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:242)
      1 frame
    11. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
      1 frame
    12. Eclipse UI
      PluginActionBuilder.readElement
      1. org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:238)
      2. org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:120)
      3. org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:278)
      4. org.eclipse.ui.internal.WWinPluginAction.refreshSelection(WWinPluginAction.java:275)
      5. org.eclipse.ui.internal.WWinPluginAction.<init>(WWinPluginAction.java:121)
      6. org.eclipse.ui.internal.WWinPluginPulldown.<init>(WWinPluginPulldown.java:188)
      7. org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:263)
      8. org.eclipse.ui.internal.ActionDescriptor.<init>(ActionDescriptor.java:170)
      9. org.eclipse.ui.internal.PluginActionSetBuilder.createActionDescriptor(PluginActionSetBuilder.java:129)
      10. org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:158)
      10 frames
    13. Workbench
      RegistryReader.readElementChildren
      1. org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:138)
      2. org.eclipse.ui.internal.registry.RegistryReader.readElementChildren(RegistryReader.java:127)
      2 frames
    14. Eclipse UI
      PluginActionBuilder.readElement
      1. org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:141)
      1 frame
    15. Workbench
      RegistryReader.readElements
      1. org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:138)
      1 frame
    16. Eclipse UI
      WorkbenchWindow$6.run
      1. org.eclipse.ui.internal.PluginActionSetBuilder.readActionExtensions(PluginActionSetBuilder.java:259)
      2. org.eclipse.ui.internal.PluginActionSetBuilder.processActionSets(PluginActionSetBuilder.java:221)
      3. org.eclipse.ui.internal.ActionPresentation.setActionSets(ActionPresentation.java:187)
      4. org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:2826)
      5. org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:2636)
      5 frames
    17. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
      1 frame
    18. Eclipse UI
      WorkbenchConfigurer.openFirstTimeWindow
      1. org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2597)
      2. org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:658)
      3. org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Workbench.java:795)
      4. org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:1437)
      5. org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1435)
      6. org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1399)
      7. org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1421)
      8. org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1397)
      9. org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:190)
      9 frames
    19. Workbench
      WorkbenchAdvisor.openWindows
      1. org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:708)
      1 frame
    20. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
      3. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
      3 frames
    21. Eclipse UI
      IDEApplication.run
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      2. org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
      2 frames
    22. Eclipse Core
      PlatformActivator$1.run
      1. org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
      1 frame
    23. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
      4 frames
    24. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    25. Equinox
      Main.main
      1. org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
      2. org.eclipse.core.launcher.Main.basicRun(Main.java:280)
      3. org.eclipse.core.launcher.Main.run(Main.java:977)
      4. org.eclipse.core.launcher.Main.main(Main.java:952)
      4 frames