This was happend in this code
--------------------------------------------
private void signalLogoff(){
Iterator iterator = myListeners.iterator();
while(iterator.hasNext()){
CurrentUserListener listener = (CurrentUserListener) iterator.next();
//The error here
listener.userLoggedOff();
}
}
-----------------------------------------------
I know this is hard question. However, if you have any clue for this error,
please help
Many thanks
S.Hoa
>java.util.ConcurrentModificationException
see http://mindprod.com/jgloss/runerrormessages.html#CONCURRENTMOD
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes
"Roedy Green" <loo...@mindprod.com.invalid> wrote in message
news:i79mc1pgd63agdfl0...@4ax.com...
>You tried to delete or add to a Collection while you were in the middle of
>running an Iterator over it. To get around this, you must remove elements
>via the Iterator object using Iterator.remove rather than the usual
>Collection.remove.
the basic idea is that collections are single thread. Further you
can't update them while an iterator is running, even on the same
thread, unless you update indirectly via the iterator.