I apologize for my mistakes. I tried my best to be thorough.
My intellij idea does not want to give me a stacktrace for this even after I did "e.printStack();". I found that when I wrote the contains method in my ArrayList class, is where the error is at. I think it may be logic, but it looks right to me.
The exception message I am seeing is " java.lang.NullPointerException" and nothing else.
Yes, to the latter, when I type in my text files name("test.txt", without the quotations) and hit Enter after getting prompted for a file name.
Some new things I found, I may have written my contains method wrong for my ArrayList<AnyType>.
This is my contains method. I am trying to not override the equals() method. I want to be able to check whether the arraylist has the object in it and return true or false based on where it found it or not. This was my best attempt...