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
at Calendar.DateAD.<init>(DateAD.java:58)
at filesort.FileSort.main(FileSort.java:200)
Java Result: 1
It keeps happening when I try to run the code again.
Thanks for help in advance.Project3 (5).zip