java.lang.NullPointerException

jstock | *anonymous | 6 years 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 org.yccheok.jstock.gui.NewBuyTransactionJDialog.isValidInput()
  2. org.yccheok.jstock
    NewBuyTransactionJDialog$7.actionPerformed
    1. org.yccheok.jstock.gui.NewBuyTransactionJDialog.isValidInput(NewBuyTransactionJDialog.java:403)
    2. org.yccheok.jstock.gui.NewBuyTransactionJDialog.jButton1ActionPerformed(NewBuyTransactionJDialog.java:457)
    3. org.yccheok.jstock.gui.NewBuyTransactionJDialog.access$600(NewBuyTransactionJDialog.java:53)
    4. org.yccheok.jstock.gui.NewBuyTransactionJDialog$7.actionPerformed(NewBuyTransactionJDialog.java:274)
    4 frames
  3. Java RT
    Dialog.setVisible
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    6. java.awt.Component.processMouseEvent(Component.java:6289)
    7. javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    8. java.awt.Component.processEvent(Component.java:6054)
    9. java.awt.Container.processEvent(Container.java:2041)
    10. java.awt.Component.dispatchEventImpl(Component.java:4652)
    11. java.awt.Container.dispatchEventImpl(Container.java:2099)
    12. java.awt.Component.dispatchEvent(Component.java:4482)
    13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    16. java.awt.Container.dispatchEventImpl(Container.java:2085)
    17. java.awt.Window.dispatchEventImpl(Window.java:2478)
    18. java.awt.Component.dispatchEvent(Component.java:4482)
    19. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
    20. java.awt.EventQueue.access$000(EventQueue.java:85)
    21. java.awt.EventQueue$1.run(EventQueue.java:603)
    22. java.awt.EventQueue$1.run(EventQueue.java:601)
    23. java.security.AccessController.doPrivileged(Native Method)
    24. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    25. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    26. java.awt.EventQueue$2.run(EventQueue.java:617)
    27. java.awt.EventQueue$2.run(EventQueue.java:615)
    28. java.security.AccessController.doPrivileged(Native Method)
    29. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    30. java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
    31. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    32. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    33. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    34. java.awt.Dialog$1.run(Dialog.java:1046)
    35. java.awt.Dialog$3.run(Dialog.java:1098)
    36. java.security.AccessController.doPrivileged(Native Method)
    37. java.awt.Dialog.show(Dialog.java:1096)
    38. java.awt.Component.show(Component.java:1585)
    39. java.awt.Component.setVisible(Component.java:1537)
    40. java.awt.Window.setVisible(Window.java:842)
    41. java.awt.Dialog.setVisible(Dialog.java:986)
    41 frames
  4. org.yccheok.jstock
    PortfolioManagementJPanel$4.actionPerformed
    1. org.yccheok.jstock.gui.PortfolioManagementJPanel.showNewBuyTransactionJDialog(PortfolioManagementJPanel.java:792)
    2. org.yccheok.jstock.gui.PortfolioManagementJPanel.jButton1ActionPerformed(PortfolioManagementJPanel.java:276)
    3. org.yccheok.jstock.gui.PortfolioManagementJPanel.access$600(PortfolioManagementJPanel.java:74)
    4. org.yccheok.jstock.gui.PortfolioManagementJPanel$4.actionPerformed(PortfolioManagementJPanel.java:235)
    4 frames
  5. Java RT
    EventDispatchThread.pumpEvents
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    6. java.awt.Component.processMouseEvent(Component.java:6289)
    7. javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    8. java.awt.Component.processEvent(Component.java:6054)
    9. java.awt.Container.processEvent(Container.java:2041)
    10. java.awt.Component.dispatchEventImpl(Component.java:4652)
    11. java.awt.Container.dispatchEventImpl(Container.java:2099)
    12. java.awt.Component.dispatchEvent(Component.java:4482)
    13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    16. java.awt.Container.dispatchEventImpl(Container.java:2085)
    17. java.awt.Window.dispatchEventImpl(Window.java:2478)
    18. java.awt.Component.dispatchEvent(Component.java:4482)
    19. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
    20. java.awt.EventQueue.access$000(EventQueue.java:85)
    21. java.awt.EventQueue$1.run(EventQueue.java:603)
    22. java.awt.EventQueue$1.run(EventQueue.java:601)
    23. java.security.AccessController.doPrivileged(Native Method)
    24. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    25. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    26. java.awt.EventQueue$2.run(EventQueue.java:617)
    27. java.awt.EventQueue$2.run(EventQueue.java:615)
    28. java.security.AccessController.doPrivileged(Native Method)
    29. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    30. java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
    31. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    32. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    33. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    34. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    35. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    35 frames