java.lang.NullPointerException

Mirth Project | Nick Rupley | 3 years ago
  1. 0

    If a refresh request fails for whatever reason on the Alerts view, the alert status list will be null, and then the alert panel promptly throws a NullPointerException. As a result, the working ID is still registered so no future refresh requests can be done until the Administrator is restarted. {code}Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at javax.swing.table.DefaultTableModel.getRowCount(DefaultTableModel.java:578) at javax.swing.JTable$ModelChange.<init>(JTable.java:4068) at javax.swing.JTable.sortedTableChanged(JTable.java:4086) at javax.swing.JTable.tableChanged(JTable.java:4377) at org.jdesktop.swingx.JXTable.tableChanged(JXTable.java:1529) at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:280) at javax.swing.table.AbstractTableModel.fireTableDataChanged(AbstractTableModel.java:182) at com.mirth.connect.client.ui.RefreshTableModel.refreshDataVector(RefreshTableModel.java:48) at com.mirth.connect.client.ui.RefreshTableModel.refreshDataVector(RefreshTableModel.java:52) at com.mirth.connect.client.ui.alert.DefaultAlertPanel.updateAlertTable(DefaultAlertPanel.java:193) at com.mirth.connect.client.ui.Frame$42.done(Frame.java:4018) at com.mirth.connect.client.ui.QueuingSwingWorker.done(QueuingSwingWorker.java:106) at javax.swing.SwingWorker$5.run(SwingWorker.java:717) at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:814) at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:95) at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:824) at javax.swing.Timer.fireActionPerformed(Timer.java:291) at javax.swing.Timer$DoPostEvent.run(Timer.java:221) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715) at java.awt.EventQueue.access$400(EventQueue.java:82) at java.awt.EventQueue$2.run(EventQueue.java:676) at java.awt.EventQueue$2.run(EventQueue.java:674) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86) at java.awt.EventQueue.dispatchEvent(EventQueue.java:685) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122){code}

    Mirth Project | 3 years ago | Nick Rupley
    java.lang.NullPointerException
  2. 0

    If a refresh request fails for whatever reason on the Alerts view, the alert status list will be null, and then the alert panel promptly throws a NullPointerException. As a result, the working ID is still registered so no future refresh requests can be done until the Administrator is restarted. {code}Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at javax.swing.table.DefaultTableModel.getRowCount(DefaultTableModel.java:578) at javax.swing.JTable$ModelChange.<init>(JTable.java:4068) at javax.swing.JTable.sortedTableChanged(JTable.java:4086) at javax.swing.JTable.tableChanged(JTable.java:4377) at org.jdesktop.swingx.JXTable.tableChanged(JXTable.java:1529) at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:280) at javax.swing.table.AbstractTableModel.fireTableDataChanged(AbstractTableModel.java:182) at com.mirth.connect.client.ui.RefreshTableModel.refreshDataVector(RefreshTableModel.java:48) at com.mirth.connect.client.ui.RefreshTableModel.refreshDataVector(RefreshTableModel.java:52) at com.mirth.connect.client.ui.alert.DefaultAlertPanel.updateAlertTable(DefaultAlertPanel.java:193) at com.mirth.connect.client.ui.Frame$42.done(Frame.java:4018) at com.mirth.connect.client.ui.QueuingSwingWorker.done(QueuingSwingWorker.java:106) at javax.swing.SwingWorker$5.run(SwingWorker.java:717) at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:814) at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:95) at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:824) at javax.swing.Timer.fireActionPerformed(Timer.java:291) at javax.swing.Timer$DoPostEvent.run(Timer.java:221) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715) at java.awt.EventQueue.access$400(EventQueue.java:82) at java.awt.EventQueue$2.run(EventQueue.java:676) at java.awt.EventQueue$2.run(EventQueue.java:674) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86) at java.awt.EventQueue.dispatchEvent(EventQueue.java:685) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122){code}

    Mirth Project | 3 years ago | Nick Rupley
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at javax.swing.table.DefaultTableModel.getRowCount()
    2. Java RT
      JTable.tableChanged
      1. javax.swing.table.DefaultTableModel.getRowCount(DefaultTableModel.java:578)
      2. javax.swing.JTable$ModelChange.<init>(JTable.java:4068)
      3. javax.swing.JTable.sortedTableChanged(JTable.java:4086)
      4. javax.swing.JTable.tableChanged(JTable.java:4377)
      4 frames
    3. SwingX Core
      JXTable.tableChanged
      1. org.jdesktop.swingx.JXTable.tableChanged(JXTable.java:1529)
      1 frame
    4. Java RT
      AbstractTableModel.fireTableDataChanged
      1. javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:280)
      2. javax.swing.table.AbstractTableModel.fireTableDataChanged(AbstractTableModel.java:182)
      2 frames
    5. com.mirth.connect
      QueuingSwingWorker.done
      1. com.mirth.connect.client.ui.RefreshTableModel.refreshDataVector(RefreshTableModel.java:48)
      2. com.mirth.connect.client.ui.RefreshTableModel.refreshDataVector(RefreshTableModel.java:52)
      3. com.mirth.connect.client.ui.alert.DefaultAlertPanel.updateAlertTable(DefaultAlertPanel.java:193)
      4. com.mirth.connect.client.ui.Frame$42.done(Frame.java:4018)
      5. com.mirth.connect.client.ui.QueuingSwingWorker.done(QueuingSwingWorker.java:106)
      5 frames
    6. Java RT
      EventDispatchThread.run
      1. javax.swing.SwingWorker$5.run(SwingWorker.java:717)
      2. javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:814)
      3. sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:95)
      4. javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:824)
      5. javax.swing.Timer.fireActionPerformed(Timer.java:291)
      6. javax.swing.Timer$DoPostEvent.run(Timer.java:221)
      7. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      8. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
      9. java.awt.EventQueue.access$400(EventQueue.java:82)
      10. java.awt.EventQueue$2.run(EventQueue.java:676)
      11. java.awt.EventQueue$2.run(EventQueue.java:674)
      12. java.security.AccessController.doPrivileged(Native Method)
      13. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
      14. java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
      15. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      16. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      17. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
      18. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
      19. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
      20. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      20 frames