#18 NPE while changing country

open
nobody
engine (25)
5
2009-03-15
2009-03-15
yccheok
No

We will receive Null Pointer Exception, while changing the country. Especially when there is stocks in real time monitor tab. This shall not have the major impact, as NPE is caught at Swing Event Dispatch level. However, there shall not be any NPE thrown.

Discussion

  • yccheok

    yccheok - 2009-03-15
    • labels: --> engine
     
  • yccheok

    yccheok - 2009-05-15

    Event I didn't change country, here is the exception I receive in 1.0.4c :

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at org.yccheok.jstock.gui.StockTableModel.updateStock(StockTableModel.java:112)
    at org.yccheok.jstock.gui.MainFrame.updateStockToTable(MainFrame.java:1918)
    at org.yccheok.jstock.gui.MainFrame.access$4200(MainFrame.java:70)
    at org.yccheok.jstock.gui.MainFrame$38.run(MainFrame.java:2896)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

     
  • nb76

    nb76 - 2009-08-02

    Is this still an issue? I cannot reproduce the issue.