Getting NullPointerException in program

Printable View