java.lang.NullPointerException

Coderanch | ashu nagar | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    need help in this swing gui app

    Coderanch | 3 years ago | ashu nagar
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.system.connection.ALLQUERIES.ItemInsert()
    2. com.system.connection
      ALLQUERIES.ItemInsert
      1. com.system.connection.ALLQUERIES.ItemInsert(ALLQUERIES.java:30)
      1 frame
    3. com.system.screen
      Add_Item$1.actionPerformed
      1. com.system.screen.Item.Add_Item.jButton1ActionPerformed(Add_Item.java:97)
      2. com.system.screen.Item.Add_Item.access$000(Add_Item.java:22)
      3. com.system.screen.Item.Add_Item$1.actionPerformed(Add_Item.java:77)
      3 frames
    4. 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.Component.processMouseEvent(Component.java:6297)
      7. javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
      8. java.awt.Component.processEvent(Component.java:6062)
      9. java.awt.Container.processEvent(Container.java:2039)
      10. java.awt.Component.dispatchEventImpl(Component.java:4660)
      11. java.awt.Container.dispatchEventImpl(Container.java:2097)
      12. java.awt.Component.dispatchEvent(Component.java:4488)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
      14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
      15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
      16. java.awt.Container.dispatchEventImpl(Container.java:2083)
      17. java.awt.Window.dispatchEventImpl(Window.java:2489)
      18. java.awt.Component.dispatchEvent(Component.java:4488)
      19. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:674)
      20. java.awt.EventQueue.access$400(EventQueue.java:81)
      21. java.awt.EventQueue$2.run(EventQueue.java:633)
      22. java.awt.EventQueue$2.run(EventQueue.java:631)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      25. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      26. java.awt.EventQueue$3.run(EventQueue.java:647)
      27. java.awt.EventQueue$3.run(EventQueue.java:645)
      28. java.security.AccessController.doPrivileged(Native Method)
      29. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      30. java.awt.EventQueue.dispatchEvent(EventQueue.java:644)
      31. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      32. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      33. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      34. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      35. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      36. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      36 frames