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.Attachment 446
I recommend posting the code directly into your post (flanking the code with the [highlight=java][/highlight] tags). Did you write this code yourself, or are you running a 3rd party tool?