out of bounds exception argument is not an array