org.eclipse.e4.core.di.InjectionException: java.lang.ClassCastException: org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer$WWindowImpl cannot be cast to org.eclipse.swt.widgets.Widget

eclipse.org | 8 months 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

    Eclipse Community Forums: e(fx)clipse ยป Trying to create an e4 only application with JavaFX

    eclipse.org | 8 months ago
    org.eclipse.e4.core.di.InjectionException: java.lang.ClassCastException: org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer$WWindowImpl cannot be cast to org.eclipse.swt.widgets.Widget
  2. 0

    e(fx)clipse and Eclipse 4.2.1 on Windows 8

    Google Groups | 5 years ago | St Clair Clarke
    org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
  3. 0

    NullPointerException in ToolBarManagerRenderer.subscribeTopicUpdateToolbarEnablement (279)

    Eclipse Bugzilla | 2 years ago | error-reports-inbox
    org.eclipse.e4.core.di.InjectionException: HIDDEN
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1345#277720999

    GitHub | 4 months ago | chanseokoh
    org.eclipse.e4.core.di.InjectionException: java.lang.IllegalArgumentException: Argument not valid

    2 unregistered visitors

    Root Cause Analysis

    1. org.eclipse.e4.core.di.InjectionException

      java.lang.ClassCastException: org.eclipse.fx.ui.workbench.renderers.fx.DefWindowRenderer$WWindowImpl cannot be cast to org.eclipse.swt.widgets.Widget

      at org.eclipse.e4.core.internal.di.MethodRequestor.execute()
    2. org.eclipse.e4
      UIEventObjectSupplier$UIEventHandler$1.run
      1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:68)
      2. org.eclipse.e4.ui.internal.di.UIEventObjectSupplier$UIEventHandler$1.run(UIEventObjectSupplier.java:56)
      2 frames
    3. org.eclipse.fx
      UISynchronizeImpl.syncExec
      1. org.eclipse.fx.ui.workbench.fx.internal.UISynchronizeImpl.syncExec(UISynchronizeImpl.java:88)
      1 frame
    4. org.eclipse.e4
      UIEventObjectSupplier$UIEventHandler.handleEvent
      1. org.eclipse.e4.ui.internal.di.UIEventObjectSupplier$UIEventHandler.handleEvent(UIEventObjectSupplier.java:53)
      1 frame
    5. org.eclipse.equinox
      EventHandlerTracker.dispatchEvent
      1. org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
      2. org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
      3. org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
      3 frames
    6. Eclipse OSGi
      ListenerQueue.dispatchEventSynchronous
      1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      2. org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      2 frames
    7. org.eclipse.equinox
      EventComponent.sendEvent
      1. org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
      2. org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
      3. org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
      3 frames
    8. org.eclipse.e4
      EventBroker.send
      1. org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:85)
      1 frame
    9. Eclipse Workbench
      UIEventPublisher.notifyChanged
      1. org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)
      1 frame
    10. org.eclipse.emf.common
      BasicNotifierImpl.eNotify
      1. org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
      1 frame
    11. org.eclipse.e4
      UIElementImpl.setWidget
      1. org.eclipse.e4.ui.model.application.ui.impl.UIElementImpl.setWidget(UIElementImpl.java:261)
      1 frame
    12. org.eclipse.fx
      PartRenderingEngine.run
      1. org.eclipse.fx.ui.workbench.renderers.base.BaseRenderer.bindWidget(BaseRenderer.java:547)
      2. org.eclipse.fx.ui.workbench.renderers.base.BaseRenderer.bindWidget(BaseRenderer.java:1)
      3. org.eclipse.fx.ui.workbench.fx.PartRenderingEngine.createWidget(PartRenderingEngine.java:247)
      4. org.eclipse.fx.ui.workbench.fx.PartRenderingEngine.createGui(PartRenderingEngine.java:211)
      5. org.eclipse.fx.ui.workbench.fx.PartRenderingEngine.createGui(PartRenderingEngine.java:311)
      6. org.eclipse.fx.ui.workbench.fx.PartRenderingEngine.run(PartRenderingEngine.java:439)
      6 frames
    13. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      1 frame
    14. org.eclipse.fx
      E4Application$1.lambda$0
      1. org.eclipse.fx.ui.workbench.fx.E4Application$1.lambda$0(E4Application.java:181)
      1 frame