java.lang.NullPointerException

Coderanch | Stuart Jackson | 1 decade 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

    Accessing a method of an item of an array of objects

    Coderanch | 1 decade ago | Stuart Jackson
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at modchoice.initArray()
    2. Unknown
      modchoice.main
      1. modchoice.initArray(modchoice.java:54)
      2. modchoice.<init>(modchoice.java:40)
      3. modchoice.main(modchoice.java:34)
      3 frames