java.lang.NullPointerException

Coderanch | Garrett Rowe | 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

    NullPointerException (Beginning Java forum at JavaRanch)

    coderanch.com | 1 year ago
    java.lang.NullPointerException
  3. 0

    NullPointerException

    Coderanch | 1 decade ago | Garrett Rowe
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

    Stack Overflow | 3 years ago | ClearMist
    java.lang.NullPointerException
  6. 0

    split method- null pointer exception generated

    Stack Overflow | 3 years ago | Rupali Bhatnagar
    java.lang.NullPointerException

  1. serious2monkeys 2 times, last 6 months ago
  2. balintn 2 times, last 7 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 Person.getName()
  2. Unknown
    Main.main
    1. Person.getName(Person.java:210)
    2. FamilyTree.display(FamilyTree.java:48)
    3. Main.main(Main.java:59)
    3 frames