java.lang.NullPointerException

Oracle Community | 807587 | 1 decade 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.
  1. 0

    Problem instanciation of a class extending AbstractTableModel

    Oracle Community | 1 decade ago | 807587
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at PeptId.CorrTableModel.<init>()
    2. PeptId
      MyJFrame1$4.actionPerformed
      1. PeptId.CorrTableModel.<init>(CorrTableModel.java:32)
      2. PeptId.ViewRes.initGUI(ViewRes.java:65)
      3. PeptId.ViewRes.<init>(ViewRes.java:31)
      4. PeptId.ViewRes.showGUI(ViewRes.java:207)
      5. PeptId.MyJFrame1.jButton4ActionPerformed(MyJFrame1.java:145)
      6. PeptId.MyJFrame1$4.actionPerformed(MyJFrame1.java:84)
      6 frames
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1819)
      2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1872)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
      5. javax.swing.plaf.basic.BasicButtonListener$ReleasedAction.actionPerformed(BasicButtonListener.java:303)
      6. javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1535)
      7. javax.swing.JComponent.processKeyBinding(JComponent.java:2438)
      8. javax.swing.JComponent.processKeyBindings(JComponent.java:2473)
      9. javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
      10. java.awt.Component.processEvent(Component.java:4909)
      11. java.awt.Container.processEvent(Container.java:1569)
      12. java.awt.Component.dispatchEventImpl(Component.java:3615)
      13. java.awt.Container.dispatchEventImpl(Container.java:1627)
      14. java.awt.Component.dispatchEvent(Component.java:3477)
      15. java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
      16. java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627)
      17. java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:831)
      18. java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:741)
      19. java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592)
      20. java.awt.Component.dispatchEventImpl(Component.java:3506)
      21. java.awt.Container.dispatchEventImpl(Container.java:1627)
      22. java.awt.Window.dispatchEventImpl(Window.java:1606)
      23. java.awt.Component.dispatchEvent(Component.java:3477)
      24. java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
      25. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
      26. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
      27. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
      28. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
      29. java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
      29 frames