As described in
SAK-32087, we hit this stack trace on the "My Official Enrollments" tab somehow. It doesn't always happen so seems to be something wrong with the cache. This line 113 expects the cache to be populated by getSectionEnrolments (checks in an if before) but doesn't check again and might not be populated correctly?
60516 Caused by: java.lang.NullPointerException
60517 at org.sakaiproject.site.tool.MembershipAction.sizeResources(MembershipAction.java:113)
60518 at org.sakaiproject.cheftool.PagedResourceActionII.prepPage(PagedResourceActionII.java:296)
60519 at org.sakaiproject.site.tool.MembershipAction.buildMyEnrolmentsContext(MembershipAction.java:315)
60520 at org.sakaiproject.site.tool.MembershipAction.buildMainPanelContext(MembershipAction.java:237)