java.lang.NullPointerException

Stack Overflow | Jake lee | 5 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 TestTableView.TestTableView.getProductName()
  2. TestTableView
    TestTableView.lambda$createContextMenu$0
    1. TestTableView.TestTableView.getProductName(TestTableView.java:73)
    2. TestTableView.TestTableView.lambda$createContextMenu$0(TestTableView.java:68)
    2 frames
  3. 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
  4. javafx.event
    Event.fireEvent
    1. javafx.event.Event.fireEvent(Event.java:198)
    1 frame
  5. FXSampler
    ContextMenuContent$MenuItemContainer.lambda$createChildren$343
    1. javafx.scene.control.MenuItem.fire(MenuItem.java:462)
    2. com.sun.javafx.scene.control.skin.ContextMenuContent$MenuItemContainer.doSelect(ContextMenuContent.java:1405)
    3. com.sun.javafx.scene.control.skin.ContextMenuContent$MenuItemContainer.lambda$createChildren$343(ContextMenuContent.java:1358)
    3 frames
  6. com.sun.javafx
    EventUtil.fireEvent
    1. com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
    2. com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
    3. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    4. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    5. com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
    6. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    7. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    8. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    9. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    10. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    11. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    12. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    13. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    14. com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    15. com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
    15 frames
  7. javafx.event
    Event.fireEvent
    1. javafx.event.Event.fireEvent(Event.java:198)
    1 frame
  8. javafx.scene
    Scene$ScenePeerListener.mouseEvent
    1. javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
    2. javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
    3. javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
    4. javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
    4 frames
  9. com.sun.javafx
    GlassViewEventHandler$MouseEventNotification.run
    1. com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:380)
    2. com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:294)
    2 frames
  10. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  11. com.sun.javafx
    GlassViewEventHandler.handleMouseEvent
    1. com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(GlassViewEventHandler.java:416)
    2. com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
    3. com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:415)
    3 frames
  12. com.sun.glass
    WinApplication.lambda$null$148
    1. com.sun.glass.ui.View.handleMouseEvent(View.java:555)
    2. com.sun.glass.ui.View.notifyMouse(View.java:937)
    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
  13. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame