Dan Berindei created ISPN-12717:
-----------------------------------
Summary: DefaultConflictManager.getAllVersions fails in transactional caches
Key: ISPN-12717
URL:
https://issues.redhat.com/browse/ISPN-12717
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 12.0.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 12.1.0.Final
{noformat}
java.lang.ClassCastException: class
org.infinispan.container.entries.VersionedRepeatableReadEntry cannot be cast to class
org.infinispan.container.entries.InternalCacheEntry
(org.infinispan.container.entries.VersionedRepeatableReadEntry and
org.infinispan.container.entries.InternalCacheEntry are in unnamed module of loader
'app')
at
org.infinispan.conflict.impl.DefaultConflictManager$VersionRequest.start(DefaultConflictManager.java:393)
at
org.infinispan.conflict.impl.DefaultConflictManager$VersionRequest.<init>(DefaultConflictManager.java:365)
at
org.infinispan.conflict.impl.DefaultConflictManager.lambda$getAllVersions$0(DefaultConflictManager.java:174)
at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1224)
at
org.infinispan.conflict.impl.DefaultConflictManager.getAllVersions(DefaultConflictManager.java:174)
at
org.infinispan.conflict.impl.ConflictManagerTest.getAllVersions(ConflictManagerTest.java:270)
at
org.infinispan.conflict.impl.ConflictManagerTest.compareCacheValuesForKey(ConflictManagerTest.java:222)
at
org.infinispan.conflict.impl.ConflictManagerTest.testAllVersionsOfKeyReturned(ConflictManagerTest.java:134)
{noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)