java.lang.NullPointerException: just a test

Oracle Community | 807549 | 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

    How to find the initializing class (ie the one whose main was called)

    Oracle Community | 1 decade ago | 807549
    java.lang.NullPointerException: just a test

    Root Cause Analysis

    1. java.lang.NullPointerException

      just a test

      at SnippetRunner47882.runSnippet()
    2. Unknown
      SnippetRunner47882.main
      1. SnippetRunner47882.runSnippet(SnippetRunner47882.java:8)
      2. SnippetRunner47882.main(SnippetRunner47882.java:18)
      2 frames
    3. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    4. Unknown
      SnippetRunner.actionPerformed
      1. SnippetRunner.compileAndRun(SnippetRunner.java:120)
      2. SnippetRunner.runSnippet(SnippetRunner.java:87)
      3. SnippetRunner.actionPerformed(SnippetRunner.java:69)
      3 frames
    5. Java RT
      EventDispatchThread.run
      1. java.awt.Button.processActionEvent(Unknown Source)
      2. java.awt.Button.processEvent(Unknown Source)
      3. java.awt.Component.dispatchEventImpl(Unknown Source)
      4. java.awt.Component.dispatchEvent(Unknown Source)
      5. java.awt.EventQueue.dispatchEvent(Unknown Source)
      6. java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      7. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      8. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      9. java.awt.EventDispatchThread.run(Unknown Source)
      9 frames