Game Error (NullPointerException)

I tried that out but it still comes up with NullPointerException on the same line unfortunately