Activities

February 27
Edward Han commented on LPS-33359.
10:58 AM A quirk picked up by the upgrade: 18:52:06,473 ERROR [com.liferay.portlet.layoutconfiguration.util.RuntimePageImpl -1][AdvancedPermissionChecker:905] java.lang.ClassCastException: net.sf.ehcache. store.chm.SelectableConcurrentHashMap$DummyPinnedKey cannot be cast to com.lifer ay.portal.security.permission.PermissionCacheUtil$BagKey java.lang.ClassCastException: net.sf.ehcache.store.chm.SelectableConcurrentHashM ap$DummyPinnedKey cannot be cast to com.liferay.portal.security.permission.Permi ssionCacheUtil$BagKey at com.liferay.portal.security.permission.PermissionCacheUtil$BagKey.equ als(PermissionCacheUtil.java:225) at net.sf.ehcache.Element.equals(Element.java:318) at net.sf.ehcache.store.chm.SelectableConcurrentHashMap$Segment.get(Sele ctableConcurrentHashMap.java:876) at net.sf.ehcache.store.chm.SelectableConcurrentHashMap.get(SelectableCo ncurrentHashMap.java:360) at net.sf.ehcache.store.MemoryStore.get(MemoryStore.java:300) at net.sf.ehcache.store.MemoryOnlyStore.get(MemoryOnlyStore.java:107) at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:2072) at net.sf.ehcache.Cache.get(Cache.java:1590) at net.sf.ehcache.Cache.get(Cache.java:1557) at com.liferay.portal.cache.ehcache.EhcachePortalCache.get(EhcachePortal Cache.java:61) Examining further, but it appears that with the introduction of pinning we can no longer be sure that all the keys in a cache will have been placed there by us. In other words, we may have to do instanceof checks when we implement keys with custom equals checks.
Edward Han updated LPS-31273.
10:24 AM
Edward Han updated LPS-33359.
10:24 AM
Edward Han commented on LPS-31273.
Edward Han updated LPS-33360.
Edward Han commented on LPS-33360.
Edward Han updated LPS-33360.
Edward Han updated LPS-33360.
9:50 AM
Edward Han updated LPS-33359.
Edward Han updated LPS-33359.
9:47 AM
Subscribe to Edward Han's activities. (Opens New Window)