“ConcurrentModificationException” Exception occurs when we loop through the Roster.getEntry() and Roster.removeEntry().
I tried to dig-out the cause for the same and found the following
“entries” object is synchronized while using in getEntry() method.
But when Roster listener receives roster removal packet then the entry is removed from “entries” object
While removing the roster entry from “entries” object this "entries"object should be synchronized.
I am using smack 2.2.1 build. But it seems that the issue is also persist with the latest release.
Please resolve the issue ASAP :-).