My code keeps giving me NullPointerException error

Printable View