Help with homework - nullPointerException

Printable View