java.lang.NullPointerException

Coderanch | Sinn Ota | 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

    Pantry Class NullPointException Error

    Coderanch | 2 years ago | Sinn Ota
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at Pantry.mixedFruit()
    2. Unknown
      Exercise1.main
      1. Pantry.mixedFruit(Pantry.java:104)
      2. Pantry.spread(Pantry.java:73)
      3. Exercise1.main(Exercise1.java:43)
      3 frames