java.lang.NullPointerException

GitHub | MRamius | 6 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at name.abuchen.portfolio.snapshot.ClientPerformanceSnapshot.addCapitalGains()
    2. name.abuchen.portfolio
      Sidebar$Item$2.mouseDown
      1. name.abuchen.portfolio.snapshot.ClientPerformanceSnapshot.addCapitalGains(ClientPerformanceSnapshot.java:241)
      2. name.abuchen.portfolio.snapshot.ClientPerformanceSnapshot.calculate(ClientPerformanceSnapshot.java:217)
      3. name.abuchen.portfolio.snapshot.ClientPerformanceSnapshot.<init>(ClientPerformanceSnapshot.java:128)
      4. name.abuchen.portfolio.ui.views.PerformanceView.reportingPeriodUpdated(PerformanceView.java:79)
      5. name.abuchen.portfolio.ui.views.PerformanceView.createBody(PerformanceView.java:120)
      6. name.abuchen.portfolio.ui.AbstractFinanceView.createViewControl(AbstractFinanceView.java:108)
      7. name.abuchen.portfolio.ui.PortfolioPart.createView(PortfolioPart.java:499)
      8. name.abuchen.portfolio.ui.PortfolioPart.activateView(PortfolioPart.java:478)
      9. name.abuchen.portfolio.ui.ClientEditorSidebar$ActivateViewAction.run(ClientEditorSidebar.java:64)
      10. name.abuchen.portfolio.ui.Sidebar.select(Sidebar.java:253)
      11. name.abuchen.portfolio.ui.Sidebar$Item$2.mouseDown(Sidebar.java:438)
      11 frames
    3. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:192)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
      7. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
      8. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
      9. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
      9 frames
    4. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      1 frame
    5. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    6. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      1 frame
    7. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      1 frame
    8. Eclipse Workbench SWT
      E4Application.start
      1. org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:159)
      1 frame
    9. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    10. 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
    11. 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
    12. Equinox
      Main.run
      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)
      3 frames