java.lang.NullPointerException

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

    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