ant move nullpointer exception fix