NullPointerException error when running the program, I cant figure out why

Printable View