java.lang.ClassCastException: org.eclipse.equinox.internal.simpleconfigurator.Activator cannot be cast to org.osgi.framework.BundleActivator

Stack Overflow | ShiwamP | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    org.osgi.framework.BundleException: Error starting module

    Stack Overflow | 6 months ago | ShiwamP
    java.lang.ClassCastException: org.eclipse.equinox.internal.simpleconfigurator.Activator cannot be cast to org.osgi.framework.BundleActivator

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.eclipse.equinox.internal.simpleconfigurator.Activator cannot be cast to org.osgi.framework.BundleActivator

      at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator()
    2. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:755)
      2. org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:706)
      3. org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936)
      4. org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319)
      5. org.eclipse.osgi.container.Module.doStart(Module.java:571)
      6. org.eclipse.osgi.container.Module.start(Module.java:439)
      7. org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
      8. org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)
      9. org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
      10. org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:242)
      11. org.eclipse.osgi.container.Module.doStart(Module.java:571)
      12. org.eclipse.osgi.container.Module.start(Module.java:439)
      13. org.eclipse.osgi.container.SystemModule.start(SystemModule.java:172)
      14. org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393)
      15. org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:412)
      16. org.eclipse.osgi.launch.Equinox.start(Equinox.java:115)
      17. org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:318)
      18. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:231)
      18 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      3 frames