Walk animation created, but the program crash: NULLPOINTER