Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12717

DefaultConflictManager.getAllVersions fails in transactional caches

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 12.1.0.Final
    • 12.0.0.Final
    • Core
    • None

      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)
      

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: