java.lang.NullPointerException

Stack Overflow | ClearT | 7 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 javax.swing.DefaultRowSorter.getViewToModelAsInts()
  2. Java RT
    AbstractTableModel.fireTableRowsInserted
    1. javax.swing.DefaultRowSorter.getViewToModelAsInts(DefaultRowSorter.java:742)
    2. javax.swing.DefaultRowSorter.sort(DefaultRowSorter.java:572)
    3. javax.swing.DefaultRowSorter.shouldOptimizeChange(DefaultRowSorter.java:1025)
    4. javax.swing.DefaultRowSorter.rowsInserted(DefaultRowSorter.java:867)
    5. javax.swing.JTable.notifySorter(JTable.java:4270)
    6. javax.swing.JTable.sortedTableChanged(JTable.java:4118)
    7. javax.swing.JTable.tableChanged(JTable.java:4395)
    8. javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:296)
    9. javax.swing.table.AbstractTableModel.fireTableRowsInserted(AbstractTableModel.java:231)
    9 frames
  3. Unknown
    GoodsView$2.process
    1. GoodsView$GoodsViewTableModel.addPositions(Main.java:215)
    2. GoodsView$2.process(Main.java:113)
    2 frames
  4. Java RT
    EventDispatchThread.run
    1. javax.swing.SwingWorker$3.run(SwingWorker.java:414)
    2. sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
    3. javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
    4. sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
    5. javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
    6. javax.swing.Timer.fireActionPerformed(Timer.java:313)
    7. javax.swing.Timer$DoPostEvent.run(Timer.java:245)
    8. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    9. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    10. java.awt.EventQueue.access$500(EventQueue.java:97)
    11. java.awt.EventQueue$3.run(EventQueue.java:709)
    12. java.awt.EventQueue$3.run(EventQueue.java:703)
    13. java.security.AccessController.doPrivileged(Native Method)
    14. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    15. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    16. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    17. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    18. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    19. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    20. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    21. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    21 frames