Hello, I have a trouble with running the attached program, the program runs the first time without any problem but when I try to do it second time the following error pops up:
Exception in thread "main" java.lang.NullPointerException
Java Result: 1
It keeps happening when I try to run the code again.
Thanks for help in advance.Project3 (5).zip