java.lang.NullPointerException

Coderanch | Tapan Prajapati | 7 years 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.
  1. 0

    swing with mysql connection1

    Coderanch | 7 years ago | Tapan Prajapati
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at form.okbuttonActionPerformed()
    2. Unknown
      form$2.actionPerformed
      1. form.okbuttonActionPerformed(form.java:119)
      2. form.access$100(form.java:22)
      3. form$2.actionPerformed(form.java:75)
      3 frames
    3. Java RT
      EventDispatchThread.run
      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.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
      7. java.awt.Component.processMouseEvent(Component.java:6038)
      8. javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
      9. java.awt.Component.processEvent(Component.java:5803)
      10. java.awt.Container.processEvent(Container.java:2058)
      11. java.awt.Component.dispatchEventImpl(Component.java:4410)
      12. java.awt.Container.dispatchEventImpl(Container.java:2116)
      13. java.awt.Component.dispatchEvent(Component.java:4240)
      14. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
      15. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
      16. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
      17. java.awt.Container.dispatchEventImpl(Container.java:2102)
      18. java.awt.Window.dispatchEventImpl(Window.java:2429)
      19. java.awt.Component.dispatchEvent(Component.java:4240)
      20. java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
      21. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
      22. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
      23. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
      24. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
      25. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
      26. java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
      26 frames