java.lang.NullPointerException

Coderanch | Martin Ndhlovu | 8 months 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

    Getting an error on the line with the while loop that uses the iterator

    Coderanch | 8 months ago | Martin Ndhlovu
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at MalJavaChapter3.TestCollection1.main()
    2. MalJavaChapter3
      TestCollection1.main
      1. MalJavaChapter3.TestCollection1.main(TestCollection1.java:16)
      1 frame