r/javahelp • u/[deleted] • Apr 29 '16
Why am I getting a null pointer exception and how do I handle it.
I have a test class that I am working on and I am getting a null pointer exception on line 13. I am having trouble handling this exception and I am not sure why. Any ideas? Here is the class I'm working on http://pastebin.com/8EtX2C22. Any little bit of help would be much appreciated.
1
Upvotes
1
u/cheryllium Apr 29 '16
Can you post your other class? (PassengerArrivalFunction)