Added catch for ArrayIndexOutOfBoundsException when a robot is out of
range