java.lang.NullPointerException

GitHub | damithc | 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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at address.model.ModelManager.personHasOngoingChange()
  2. address.model
    ModelManager.deletePersonThroughUI
    1. address.model.ModelManager.personHasOngoingChange(ModelManager.java:256)
    2. address.model.ModelManager.deletePersonThroughUI(ModelManager.java:185)
    2 frames
  3. address.controller
    PersonOverviewController.lambda$handleDeletePersons$13
    1. address.controller.PersonOverviewController.lambda$handleDeletePersons$13(PersonOverviewController.java:127)
    1 frame
  4. Java RT
    ReferencePipeline$Head.forEach
    1. java.util.Iterator.forEachRemaining(Iterator.java:116)
    2. java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
    3. java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
    3 frames
  5. address.controller
    PersonOverviewController.lambda$createContextMenu$20
    1. address.controller.PersonOverviewController.handleDeletePersons(PersonOverviewController.java:125)
    2. address.controller.PersonOverviewController.lambda$createContextMenu$20(PersonOverviewController.java:215)
    2 frames
  6. com.sun.javafx
    EventUtil.fireEvent
    1. com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
    2. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    3. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    4. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    5. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    6. com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    7. com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
    7 frames
  7. javafx.event
    Event.fireEvent
    1. javafx.event.Event.fireEvent(Event.java:198)
    1 frame
  8. FXSampler
    MenuItem.fire
    1. javafx.scene.control.MenuItem.fire(MenuItem.java:462)
    1 frame
  9. com.sun.javafx
    EventUtil.fireEvent
    1. com.sun.javafx.scene.control.ControlAcceleratorSupport.lambda$doAcceleratorInstall$12(ControlAcceleratorSupport.java:165)
    2. com.sun.javafx.scene.KeyboardShortcutsHandler.processAccelerators(KeyboardShortcutsHandler.java:347)
    3. com.sun.javafx.scene.KeyboardShortcutsHandler.dispatchBubblingEvent(KeyboardShortcutsHandler.java:163)
    4. com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
    5. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    6. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    7. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    8. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    9. com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    10. com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
    10 frames
  10. javafx.event
    Event.fireEvent
    1. javafx.event.Event.fireEvent(Event.java:198)
    1 frame
  11. javafx.scene
    Scene$ScenePeerListener.keyEvent
    1. javafx.scene.Scene$KeyHandler.process(Scene.java:3964)
    2. javafx.scene.Scene$KeyHandler.access$1800(Scene.java:3910)
    3. javafx.scene.Scene.impl_processKeyEvent(Scene.java:2040)
    4. javafx.scene.Scene$ScenePeerListener.keyEvent(Scene.java:2501)
    4 frames
  12. com.sun.javafx
    GlassViewEventHandler$KeyEventNotification.run
    1. com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:197)
    2. com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:147)
    2 frames
  13. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  14. com.sun.javafx
    GlassViewEventHandler.handleKeyEvent
    1. com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleKeyEvent$353(GlassViewEventHandler.java:228)
    2. com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
    3. com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(GlassViewEventHandler.java:227)
    3 frames
  15. com.sun.glass
    WinApplication.lambda$null$148
    1. com.sun.glass.ui.View.handleKeyEvent(View.java:546)
    2. com.sun.glass.ui.View.notifyKey(View.java:966)
    3. com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    4. com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
    4 frames
  16. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame