14 Nov 2008 8:33 AM #1
[CLOSED] [1.1.3] Dispatcher and Hosted Mode
I have noticed an issue when running in hosted mode and using the Dispatcher. For some reason, hosted mode is able to produce a congruent modification exception as seen in this stack trace:
at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
at java.util.AbstractList$Itr.next(Unknown Source)
This looks to be a problem with hosted mode in the GWT compiler, something with their internal timers being incorrect I would imagine.
21 Nov 2008 3:17 PM #2
While we're at it
I notice this code in the Dispatcher:
history.put(token, event); ignoreNext = true; History.newItem(token);
26 Nov 2008 9:47 PM #3
I am not sure why you are seeing this issue. Are you removing a controller within code executing via a event passed to the dispatcher?
Thanks for the tip, I was not aware of the newItem(String historyToken, boolean issueEvent) method. It looks like it was added in 1.5.1. I have updated the Dispatcher code.
23 Jan 2009 12:36 PM #4