java.lang.NullPointerException

Coderanch | fady zohdy | 2 years 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

    the two classes compile without errors but when i try to run them they throw exceptions

    Coderanch | 2 years ago | fady zohdy
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at simpleDotCom.checkGuess()
    2. Unknown
      launchGame.main
      1. simpleDotCom.checkGuess(simpleDotCom.java:14)
      2. launchGame.main(launchGame.java:9)
      2 frames