java.util.ConcurrentModificationException in UserMembership

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)

Activity

Show:

Matthew Jones April 24, 2018 at 10:33 AM

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.

Won't Fix

Details

Priority

Affects versions

Components

Assignee

Reporter

Created May 26, 2014 at 7:36 AM
Updated April 24, 2018 at 10:33 AM
Resolved April 24, 2018 at 10:33 AM