What steps will reproduce the problem?
After a message is received from the server, on line 517 of
DefaultRemoteEventService, a ConcurrentModificationException is being thrown,
because it is possible that in the theListener.apply(theEvent) call, more
RemoteEventListeners are created and registered.
What is the expected output? What do you see instead?
An exception should not be thrown here, and there should be some way to get a
copy of the current list of listeners to avoid this situation.
What version of the product are you using? On what operating system?
version 1.2.0, GWT 2.4.0, Java 7 (32 bit), Windows 7 64-bit.
Please provide any additional information below.
As a work-around, I had to figure out which objects were causing this issue,
and wrap their work in a ScheduledCommand, so that it would be executed outside
of this onNotify loop.
Original issue reported on code.google.com by mdkitz...@gmail.com on 13 Jan 2012 at 10:10
Original issue reported on code.google.com by
mdkitz...@gmail.com
on 13 Jan 2012 at 10:10