java.lang.NullPointerException

GitHub | MicheleMUC | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at net.bhl.cdt.paxelerate.ui.views.CabinViewPart.createImage()
  2. net.bhl.cdt
    GeneratePassengersCommand$1$2.run
    1. net.bhl.cdt.paxelerate.ui.views.CabinViewPart.createImage(CabinViewPart.java:246)
    2. net.bhl.cdt.paxelerate.ui.views.CabinViewPart.setCabin(CabinViewPart.java:472)
    3. net.bhl.cdt.paxelerate.ui.commands.GeneratePassengersCommand$1$2.run(GeneratePassengersCommand.java:137)
    3 frames
  3. Eclipse UI
    UILockListener.aboutToWait
    1. org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:162)
    2. org.eclipse.ui.internal.UILockListener.aboutToWait(UILockListener.java:128)
    2 frames
  4. Eclipse Jobs
    Job.join
    1. org.eclipse.core.internal.jobs.LockManager.aboutToWait(LockManager.java:114)
    2. org.eclipse.core.internal.jobs.JobManager.join(JobManager.java:904)
    3. org.eclipse.core.internal.jobs.InternalJob.join(InternalJob.java:341)
    4. org.eclipse.core.runtime.jobs.Job.join(Job.java:458)
    4 frames
  5. net.bhl.cdt
    CloneObjectHandler.execute
    1. net.bhl.cdt.paxelerate.ui.commands.GeneratePassengersCommand.doRun(GeneratePassengersCommand.java:173)
    2. net.bhl.cdt.paxelerate.ui.commands.RefreshCabinViewCommand.doRun(RefreshCabinViewCommand.java:64)
    3. net.bhl.cdt.commands.CDTCommand.execute(CDTCommand.java:34)
    4. net.bhl.cdt.paxelerate.ui.commands.CloneObjectCommand.doRun(CloneObjectCommand.java:62)
    5. net.bhl.cdt.commands.CDTCommand.execute(CDTCommand.java:34)
    6. net.bhl.cdt.paxelerate.ui.handlers.CloneObjectHandler.execute(CloneObjectHandler.java:44)
    6 frames
  6. Workbench
    E4HandlerProxy.execute
    1. org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
    2. org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
    2 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    3. java.lang.reflect.Method.invoke(Unknown Source)
    3 frames
  8. org.eclipse.e4
    HandlerServiceHandler.execute
    1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
    2. org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252)
    3. org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234)
    4. org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
    5. org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
    5 frames
  9. Commands
    ParameterizedCommand.executeWithChecks
    1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:493)
    2. org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486)
    2 frames
  10. org.eclipse.e4
    HandledContributionItem$4.handleEvent
    1. org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
    2. org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:799)
    3. org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:675)
    4. org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:659)
    5. org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:592)
    5 frames
  11. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
    3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
    4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
    5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
    5 frames
  12. Eclipse Workbench SWT
    PartRenderingEngine$4.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
    1 frame
  13. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    1 frame
  14. Eclipse Workbench SWT
    PartRenderingEngine.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
    1 frame
  15. Eclipse Workbench
    E4Workbench.createAndRunUI
    1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
    1 frame
  16. Eclipse UI
    Workbench$5.run
    1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
    1 frame
  17. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    1 frame
  18. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
    1 frame
  19. Eclipse UI
    PlatformUI.createAndRunWorkbench
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    1 frame
  20. net.bhl.cdt
    Application.start
    1. net.bhl.cdt.client.Application.start(Application.java:26)
    1 frame
  21. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    1 frame
  22. 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
  23. 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
  24. 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