java.lang.NullPointerException

Oracle Community | 807595 | 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

    NullPointerException problem

    Oracle Community | 1 decade ago | 807595
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at BagArray.toString()
    2. Unknown
      BagArray.toString
      1. BagArray.toString(BagArray.java:49)
      1 frame
    3. Java RT
      PrintStream.println
      1. java.lang.String.valueOf(String.java:2177)
      2. java.io.PrintStream.print(PrintStream.java:462)
      3. java.io.PrintStream.println(PrintStream.java:599)
      3 frames
    4. Unknown
      BagArray.main
      1. BagArray.main(BagArray.java:62)
      1 frame