java.util.ConcurrentModificationException in UserMembership
GENERAL
TESTING
GENERAL
TESTING
Description
It looks like this relates to a few other issues () and is not easy to reproduce in testing, but often when browsing user membership in 10.x I'd get this stack trace in the UI. Typically the resolution for these involves changing the container to either a ConcurrentHashMap or CopyOnWriteArrayList.
caused by: java.util.ConcurrentModificationException at java.util.Vector$Itr.checkForComodification(Vector.java:1156) at java.util.Vector$Itr.next(Vector.java:1133) at org.sakaiproject.site.impl.BaseSitePage.<init>(BaseSitePage.java:257) at org.sakaiproject.site.impl.BaseSite.set(BaseSite.java:656) at org.sakaiproject.site.impl.BaseSite.<init>(BaseSite.java:256) at org.sakaiproject.site.impl.BaseSiteService.getCachedSite(BaseSiteService.java:609) at org.sakaiproject.site.impl.BaseSiteService.getDefinedSite(BaseSiteService.java:648)
Bulk closing issues that have not been updated since 2015 and earlier. Please reopen if this is still an issue and you have new information or if this is a feature you'd like to still have consideration for.
It looks like this relates to a few other issues () and is not easy to reproduce in testing, but often when browsing user membership in 10.x I'd get this stack trace in the UI. Typically the resolution for these involves changing the container to either a ConcurrentHashMap or CopyOnWriteArrayList.
caused by: java.util.ConcurrentModificationException
at java.util.Vector$Itr.checkForComodification(Vector.java:1156)
at java.util.Vector$Itr.next(Vector.java:1133)
at org.sakaiproject.site.impl.BaseSitePage.<init>(BaseSitePage.java:257)
at org.sakaiproject.site.impl.BaseSite.set(BaseSite.java:656)
at org.sakaiproject.site.impl.BaseSite.<init>(BaseSite.java:256)
at org.sakaiproject.site.impl.BaseSiteService.getCachedSite(BaseSiteService.java:609)
at org.sakaiproject.site.impl.BaseSiteService.getDefinedSite(BaseSiteService.java:648)