java.lang.NullPointerException

Oracle Community | 807546 | 1 decade 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

    "Class can't be instantiated " error message. Help !

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

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at stan_my_music_applet_3.MyMusicApplet3.actionPerformed()
    2. stan_my_music_applet_3
      MyMusicApplet3.actionPerformed
      1. stan_my_music_applet_3.MyMusicApplet3.actionPerformed(MyMusicApplet3.java:44)
      1 frame
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
      2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
      6. java.awt.Component.processMouseEvent(Component.java:5093)
      7. java.awt.Component.processEvent(Component.java:4890)
      8. java.awt.Container.processEvent(Container.java:1566)
      9. java.awt.Component.dispatchEventImpl(Component.java:3598)
      10. java.awt.Container.dispatchEventImpl(Container.java:1623)
      11. java.awt.Component.dispatchEvent(Component.java:3439)
      12. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
      13. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
      14. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
      15. java.awt.Container.dispatchEventImpl(Container.java:1609)
      16. java.awt.Component.dispatchEvent(Component.java:3439)
      17. java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
      18. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
      19. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      20. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
      21. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      22. java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      22 frames