You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like @asimarslan forgot to fix variable assignments in this commit. This prevents JCache declarative initialization given a configuration XML containing entries for cache-writer-factory or expiry-policy-factory:
java.lang.ClassCastException: javax.cache.expiry.AccessedExpiryPolicy cannot be cast to javax.cache.integration.CacheLoader
at com.hazelcast.cache.impl.AbstractCacheProxyBase.<init>(AbstractCacheProxyBase.java:82)
at com.hazelcast.cache.impl.AbstractInternalCacheProxy.<init>(AbstractInternalCacheProxy.java:76)
at com.hazelcast.cache.impl.AbstractCacheProxy.<init>(AbstractCacheProxy.java:61)
at com.hazelcast.cache.impl.CacheProxy.<init>(CacheProxy.java:79)
at com.hazelcast.cache.impl.HazelcastServerCacheManager.createCacheProxy(HazelcastServerCacheManager.java:130)
at com.hazelcast.cache.impl.AbstractHazelcastCacheManager.getCacheUnchecked(AbstractHazelcastCacheManager.java:202)
at com.hazelcast.cache.impl.AbstractHazelcastCacheManager.getCache(AbstractHazelcastCacheManager.java:152)
at com.hazelcast.cache.impl.AbstractHazelcastCacheManager.getCache(AbstractHazelcastCacheManager.java:44)
Looks like @asimarslan forgot to fix variable assignments in this commit. This prevents JCache declarative initialization given a configuration XML containing entries for
cache-writer-factory
orexpiry-policy-factory
:Here's the broken code in question:
The text was updated successfully, but these errors were encountered: