java.lang.NullPointerException

Coderanch | Brian LaRue | 1 decade ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    One of the variables you're using is set to Null or you're passing a Null value to a method expecting another kind of value
  2. 0

    HOWTO check for click of Cancel button

    Coderanch | 1 decade ago | Brian LaRue
    java.lang.NullPointerException
  3. 0

    File input java, scanner using if.. else statment. error provided

    Stack Overflow | 4 years ago | ClearMist
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    split method- null pointer exception generated

    Stack Overflow | 4 years ago | Rupali Bhatnagar
    java.lang.NullPointerException
  6. 0

    ArrayList JTextField NullPointerException

    Stack Overflow | 3 years ago | Aiden L
    java.lang.NullPointerException

  1. serious2monkeys 2 times, last 7 months ago
  2. balintn 2 times, last 8 months ago
7 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at StartGame.getWhatToDo()
  2. Unknown
    Main.main
    1. StartGame.getWhatToDo(StartGame.java:33)
    2. StartGame.<init>(StartGame.java:9)
    3. Main.main(Main.java:3)
    3 frames