-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.1, 8.0.2
-
None
-
All environments supporting session serialization
-
ZK 8.0.3 S1, ZK 8.0.3 S4, ZK 8.0.3 S6
Hi,
when loading serialized sessions and initializing it with didAcitivate the following stack-trace occurs:
java.util.ConcurrentModificationException at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:966) at java.util.LinkedList$ListItr.next(LinkedList.java:888) at org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2915) at org.zkoss.zul.Combobox.sessionDidActivate(Combobox.java:1060) at org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921) at org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921) at org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921) at org.zkoss.zul.Listbox.sessionDidActivate(Listbox.java:3269) at org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921) at org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921) at org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921) at org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921) at org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921) at org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921) at org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921) at org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921) at org.zkoss.zk.ui.impl.PageImpl.sessionDidActivate(PageImpl.java:1130) at org.zkoss.zk.ui.impl.DesktopImpl.sessDidActivate(DesktopImpl.java:1076) at org.zkoss.zk.ui.impl.DesktopImpl.sessionDidActivate(DesktopImpl.java:1021) at org.zkoss.zk.ui.impl.SimpleDesktopCache.sessionDidActivate(SimpleDesktopCache.java:203) at org.zkoss.zk.ui.impl.SessionDesktopCacheProvider.sessionDidActivate(SessionDesktopCacheProvider.java:77) at org.zkoss.zk.ui.impl.AbstractWebApp.sessionDidActivate(AbstractWebApp.java:366) at org.zkoss.zk.ui.http.SimpleSession$2.didActivate(SimpleSession.java:520) at org.zkoss.zk.ui.http.WebManager.addActivationListener(WebManager.java:367) at org.zkoss.zk.ui.http.SimpleSession.sessionDidActivate(SimpleSession.java:515) at org.zkoss.zk.ui.http.SerializableSession.sessionDidActivate(SerializableSession.java:65)
This also depends on the session's desktops and views and does not occur any times.
Will post a pull request on github for this.