Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3224

Session Serialization: ConcurrentModificationException in AbstractComponent.sessionDidActivate(AbstractComponent.java:2915)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.0.1, 8.0.2
    • Fix Version/s: 8.0.3
    • Component/s: Clustering
    • Labels:
      None
    • Environment:

      All environments supporting session serialization

    • gh.sprint.customfield.default.name:
      ZK 8.0.3 S1, ZK 8.0.3 S4, ZK 8.0.3 S6

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              DevChu DevChu
              Reporter:
              christian christian
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m