Problems with ArrayList- gives me a NullPointerException and the program crashes

Printable View