java.util.ConcurrentModificationException

ZK-Tracker | christian | 6 months ago
  1. 0

    Hi, when loading serialized sessions and initializing it with didAcitivate the following stack-trace occurs: {code:java} 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) {code} 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.

    ZK-Tracker | 6 months ago | christian
    java.util.ConcurrentModificationException
  2. 0

    Hi, when loading serialized sessions and initializing it with didAcitivate the following stack-trace occurs: {code:java} 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) {code} 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.

    ZK-Tracker | 6 months ago | christian
    java.util.ConcurrentModificationException
  3. 0

    Spawn ConcurrentModificationException

    GitHub | 2 years ago | toddharrison
    net.minecraft.util.ReportedException: Ticking entity
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NEI item search gets stuck on highlighted search mode

    GitHub | 2 years ago | Haringat
    java.util.ConcurrentModificationException
  6. 0

    Why doesn't the compiler spot certain causes of ConcurrentModificationException

    Stack Overflow | 2 years ago
    java.util.ConcurrentModificationException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.ConcurrentModificationException

      No message provided

      at java.util.LinkedList$ListItr.checkForComodification()
    2. Java RT
      LinkedList$ListItr.next
      1. java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:966)
      2. java.util.LinkedList$ListItr.next(LinkedList.java:888)
      2 frames
    3. ZK Kernel
      AbstractComponent.sessionDidActivate
      1. org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2915)
      1 frame
    4. ZK XUL Components
      Combobox.sessionDidActivate
      1. org.zkoss.zul.Combobox.sessionDidActivate(Combobox.java:1060)
      1 frame
    5. ZK Kernel
      AbstractComponent.sessionDidActivate
      1. org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921)
      2. org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921)
      3. org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921)
      3 frames
    6. ZK XUL Components
      Listbox.sessionDidActivate
      1. org.zkoss.zul.Listbox.sessionDidActivate(Listbox.java:3269)
      1 frame
    7. ZK Kernel
      SerializableSession.sessionDidActivate
      1. org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921)
      2. org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921)
      3. org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921)
      4. org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921)
      5. org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921)
      6. org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921)
      7. org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921)
      8. org.zkoss.zk.ui.AbstractComponent.sessionDidActivate(AbstractComponent.java:2921)
      9. org.zkoss.zk.ui.impl.PageImpl.sessionDidActivate(PageImpl.java:1130)
      10. org.zkoss.zk.ui.impl.DesktopImpl.sessDidActivate(DesktopImpl.java:1076)
      11. org.zkoss.zk.ui.impl.DesktopImpl.sessionDidActivate(DesktopImpl.java:1021)
      12. org.zkoss.zk.ui.impl.SimpleDesktopCache.sessionDidActivate(SimpleDesktopCache.java:203)
      13. org.zkoss.zk.ui.impl.SessionDesktopCacheProvider.sessionDidActivate(SessionDesktopCacheProvider.java:77)
      14. org.zkoss.zk.ui.impl.AbstractWebApp.sessionDidActivate(AbstractWebApp.java:366)
      15. org.zkoss.zk.ui.http.SimpleSession$2.didActivate(SimpleSession.java:520)
      16. org.zkoss.zk.ui.http.WebManager.addActivationListener(WebManager.java:367)
      17. org.zkoss.zk.ui.http.SimpleSession.sessionDidActivate(SimpleSession.java:515)
      18. org.zkoss.zk.ui.http.SerializableSession.sessionDidActivate(SerializableSession.java:65)
      18 frames