org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException

GitHub | ptaillandier | 10 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

    Freeze when using many java2D displays

    GitHub | 10 months ago | ptaillandier
    org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.eclipse.e4.ui.workbench.addons.minmax.TrimStack.handleTransientDataEvents()
    2. org.eclipse.e4
      TrimStack.handleTransientDataEvents
      1. org.eclipse.e4.ui.workbench.addons.minmax.TrimStack.handleTransientDataEvents(TrimStack.java:227)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:497)
      3 frames
    4. org.eclipse.e4
      UIEventObjectSupplier$UIEventHandler$1.run
      1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      2. org.eclipse.e4.ui.internal.di.UIEventObjectSupplier$UIEventHandler$1.run(UIEventObjectSupplier.java:56)
      2 frames
    5. RWT
      Synchronizer.syncExec
      1. org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186)
      1 frame
    6. Eclipse UI
      UISynchronizer.syncExec
      1. org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
      1 frame
    7. RWT
      Display.syncExec
      1. org.eclipse.swt.widgets.Display.syncExec(Display.java:4781)
      1 frame
    8. Eclipse Workbench SWT
      E4Application$1.syncExec
      1. org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211)
      1 frame
    9. org.eclipse.e4
      UIEventObjectSupplier$UIEventHandler.handleEvent
      1. org.eclipse.e4.ui.internal.di.UIEventObjectSupplier$UIEventHandler.handleEvent(UIEventObjectSupplier.java:53)
      1 frame
    10. 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
    11. 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
    12. 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
    13. org.eclipse.e4
      EventBroker.send
      1. org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:85)
      1 frame
    14. Eclipse Workbench
      UIEventPublisher.notifyChanged
      1. org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)
      1 frame
    15. org.eclipse.emf.common
      BasicNotifierImpl.eNotify
      1. org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
      1 frame
    16. org.eclipse.emf.ecore
      EcoreEList.dispatchNotification
      1. org.eclipse.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:249)
      1 frame
    17. org.eclipse.emf.common
      BasicEMap$DelegatingMap.put
      1. org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:294)
      2. org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:303)
      3. org.eclipse.emf.common.util.BasicEMap.put(BasicEMap.java:585)
      4. org.eclipse.emf.common.util.BasicEMap$DelegatingMap.put(BasicEMap.java:793)
      4 frames
    18. org.eclipse.ui
      CompatibilityPart.create
      1. org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:348)
      1 frame
    19. 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:497)
      4 frames
    20. org.eclipse.e4
      ContextInjectionFactory.make
      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.processAnnotated(InjectorImpl.java:879)
      4. org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)
      5. org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:345)
      6. org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:264)
      7. org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
      7 frames
    21. Eclipse Workbench
      ReflectionContributionFactory.create
      1. org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)
      2. org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)
      3. org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)
      3 frames
    22. org.eclipse.e4
      ContributedPartRenderer.createWidget
      1. org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
      1 frame
    23. Eclipse Workbench SWT
      PartRenderingEngine$1.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.run(PartRenderingEngine.java:525)
      3 frames
    24. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    25. Eclipse Workbench SWT
      PartRenderingEngine.createGui
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:509)
      1 frame
    26. org.eclipse.e4
      ElementReferenceRenderer.createWidget
      1. org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget(ElementReferenceRenderer.java:69)
      1 frame
    27. Eclipse Workbench SWT
      PartRenderingEngine$2.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717)
      5. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711)
      5 frames
    28. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    29. Eclipse Workbench SWT
      PartRenderingEngine.createGui
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695)
      1 frame
    30. org.eclipse.e4
      UIEventHandler$1.run
      1. org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1306)
      2. org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:72)
      3. org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
      3 frames
    31. RWT
      Synchronizer.syncExec
      1. org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186)
      1 frame
    32. Eclipse UI
      UISynchronizer.syncExec
      1. org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
      1 frame
    33. RWT
      Display.syncExec
      1. org.eclipse.swt.widgets.Display.syncExec(Display.java:4781)
      1 frame
    34. Eclipse Workbench SWT
      E4Application$1.syncExec
      1. org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211)
      1 frame
    35. org.eclipse.e4
      UIEventHandler.handleEvent
      1. org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
      1 frame
    36. 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
    37. 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
    38. 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
    39. org.eclipse.e4
      EventBroker.send
      1. org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:85)
      1 frame
    40. Eclipse Workbench
      UIEventPublisher.notifyChanged
      1. org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)
      1 frame
    41. org.eclipse.emf.common
      BasicNotifierImpl.eNotify
      1. org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
      1 frame
    42. org.eclipse.e4
      ElementContainerImpl.setSelectedElement
      1. org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
      1 frame
    43. Eclipse Workbench
      PartServiceImpl.showPart
      1. org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:572)
      2. org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:536)
      3. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:724)
      4. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:701)
      5. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:639)
      6. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:634)
      7. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1157)
      7 frames
    44. Eclipse UI
      WorkbenchPage$12.run
      1. org.eclipse.ui.internal.WorkbenchPage.showPart(WorkbenchPage.java:1276)
      2. org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1267)
      3. org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:4238)
      3 frames
    45. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    46. Eclipse UI
      WorkbenchPage.showView
      1. org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4234)
      1 frame
    47. ummisco.gama.ui
      SwtGui$1.run
      1. ummisco.gama.ui.utils.SwtGui$1.run(SwtGui.java:158)
      1 frame
    48. RWT
      Synchronizer.syncExec
      1. org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186)
      1 frame
    49. Eclipse UI
      UISynchronizer.syncExec
      1. org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
      1 frame
    50. RWT
      Display.syncExec
      1. org.eclipse.swt.widgets.Display.syncExec(Display.java:4781)
      1 frame
    51. ummisco.gama.ui
      SwtGui.showView
      1. ummisco.gama.ui.utils.WorkbenchHelper.run(WorkbenchHelper.java:35)
      2. ummisco.gama.ui.utils.SwtGui.internalShowView(SwtGui.java:150)
      3. ummisco.gama.ui.utils.SwtGui.showView(SwtGui.java:196)
      3 frames
    52. msi.gama.outputs
      AbstractDisplayOutput$1.run
      1. msi.gama.outputs.AbstractDisplayOutput$1.run(AbstractDisplayOutput.java:41)
      1 frame
    53. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4024)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3700)
      4 frames
    54. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      1 frame
    55. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    56. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      1 frame
    57. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      1 frame
    58. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
      1 frame
    59. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    60. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
      1 frame
    61. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    62. msi.gama.application
      Application.start
      1. msi.gama.application.Application.start(Application.java:43)
      1 frame
    63. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    64. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    65. 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:497)
      4 frames
    66. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1515)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1488)
      4 frames