Re: Sortable - ConcurrentModificationException

2015-02-06 Thread Chris
I have fixed it - it was because of calling the method within the for loop. br, Chris Am 06.02.2015 um 17:56 schrieb Chris chris...@gmx.at: Hi Sebastian, I am using the method #ListUtils.move to sort a list of domain objects as soon as the method #onUpdate is called within a sortable

Re: Sortable - ConcurrentModificationException

2015-02-06 Thread Sebastien
Hi Chris, Right, you probably you can use an iterator instead of the foreach statement... Thanks for letting know you solved it! :) Best regards, Sebastien. On Fri, Feb 6, 2015 at 6:05 PM, Chris chris...@gmx.at wrote: I have fixed it - it was because of calling the method within the for loop.

Sortable - ConcurrentModificationException

2015-02-06 Thread Chris
Hi Sebastian, I am using the method #ListUtils.move to sort a list of domain objects as soon as the method #onUpdate is called within a sortable object: In the first request, everything is fine, but in the second request I am receiving following error: Root cause: