My code throws a NullPointerException.. How come ?

Printable View