Editable Table increased length during loop, exception in message

Editable Table increased length during loop, exception in message

  
 while for looping an editable table, it creates an exception "Called EndIteration while the list was not being iterated..."

 After the exception occurs, the records I updated was reverted. Why does this happen in an editable table?
Hi Lawrence,

I've seen this error before (in a regular table records), which was triggered by ForEaching over the List attribute of a TableRecords, then Ajax-refreshing the TableRecords, then breaking the loop. But without further information I can't judge whether you have something similar that triggers it.
Hi Kilian,

  Your feedback is correct. I misplaced the ajax refresh of the list that i used in the for each loop. It then adds another item to itself. I removed the ajax refresh outside the loop and now it works. thanks a lot!!!