org.eclipse.e4.core.di.InjectionException: org.eclipse.swt.SWTException: Invalid thread access

GitHub | PalumboN | 7 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

    GitHub comment 903#243062361

    GitHub | 7 months ago | PalumboN
    org.eclipse.e4.core.di.InjectionException: org.eclipse.swt.SWTException: Invalid thread access

    Root Cause Analysis

    1. org.eclipse.swt.SWTException

      Invalid thread access

      at org.eclipse.swt.SWT.error()
    2. RWT
      ToolItem.getParent
      1. org.eclipse.swt.SWT.error(SWT.java:4491)
      2. org.eclipse.swt.SWT.error(SWT.java:4406)
      3. org.eclipse.swt.SWT.error(SWT.java:4377)
      4. org.eclipse.swt.widgets.Widget.error(Widget.java:482)
      5. org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:420)
      6. org.eclipse.swt.widgets.ToolItem.getParent(ToolItem.java:415)
      6 frames
    3. JFace
      BindingManager.contextManagerChanged
      1. org.eclipse.jface.action.ActionContributionItem.update(ActionContributionItem.java:780)
      2. org.eclipse.jface.action.ActionContributionItem$1.propertyChange(ActionContributionItem.java:114)
      3. org.eclipse.jface.action.ExternalActionManager$CommandCallback.bindingManagerChanged(ExternalActionManager.java:287)
      4. org.eclipse.jface.bindings.BindingManager.fireBindingManagerChanged(BindingManager.java:901)
      5. org.eclipse.jface.bindings.BindingManager.setActiveBindings(BindingManager.java:2178)
      6. org.eclipse.jface.bindings.BindingManager.recomputeBindings(BindingManager.java:1743)
      7. org.eclipse.jface.bindings.BindingManager.contextManagerChanged(BindingManager.java:690)
      7 frames
    4. Commands
      ContextManager.setActiveContextIds
      1. org.eclipse.core.commands.contexts.ContextManager.fireContextManagerChanged(ContextManager.java:162)
      2. org.eclipse.core.commands.contexts.ContextManager.setActiveContextIds(ContextManager.java:293)
      2 frames
    5. org.eclipse.e4
      ContextContextService.getActiveContextIds
      1. org.eclipse.e4.ui.internal.services.ContextContextService.getActiveContextIds(ContextContextService.java:161)
      1 frame
    6. Eclipse UI
      WorkbenchWindow.setup
      1. org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:631)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    8. org.eclipse.e4
      ContextInjectionFactory.inject
      1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      2. org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898)
      3. org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)
      4. org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:86)
      5. org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:73)
      5 frames
    9. Eclipse UI
      Workbench.showPerspective
      1. org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1486)
      2. org.eclipse.ui.internal.Workbench.openWorkbenchWindow(Workbench.java:2635)
      3. org.eclipse.ui.internal.Workbench.openWorkbenchWindow(Workbench.java:2627)
      4. org.eclipse.ui.internal.Workbench.showPerspective(Workbench.java:3134)
      5. org.eclipse.ui.internal.Workbench.showPerspective(Workbench.java:3073)
      5 frames
    10. org.uqbar.project
      WollokLaunchDelegate.lambda$3
      1. org.uqbar.project.wollok.ui.launch.shortcut.WollokLaunchDelegate.lambda$3(WollokLaunchDelegate.java:221)
      1 frame
    11. Eclipse Xbase Runtime Library
      ObjectExtensions.operator_doubleArrow
      1. org.eclipse.xtext.xbase.lib.ObjectExtensions.operator_doubleArrow(ObjectExtensions.java:139)
      1 frame
    12. org.uqbar.project
      WollokLaunchDelegate$1.handleDebugEvents
      1. org.uqbar.project.wollok.ui.launch.shortcut.WollokLaunchDelegate.openDebugPerspective(WollokLaunchDelegate.java:226)
      2. org.uqbar.project.wollok.ui.launch.shortcut.WollokLaunchDelegate.handleEvents(WollokLaunchDelegate.java:210)
      3. org.uqbar.project.wollok.ui.launch.shortcut.WollokLaunchDelegate$1.handleDebugEvents(WollokLaunchDelegate.java:186)
      3 frames
    13. Debug Core
      DebugPlugin$EventNotifier.run
      1. org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1161)
      1 frame
    14. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    15. Debug Core
      DebugPlugin$EventDispatchJob.run
      1. org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1197)
      2. org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:441)
      2 frames
    16. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      1 frame