Don't try to insert a nil object to the array.