]
Sebastian Łaskawiec updated ISPN-6539:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Alpha2
9.0.0.Final
Assignee: Gustavo Fernandes
Resolution: Done
ClassCastException with Remote Cache Loader and GetWithMetadata
---------------------------------------------------------------
Key: ISPN-6539
URL:
https://issues.jboss.org/browse/ISPN-6539
Project: Infinispan
Issue Type: Bug
Components: Core, Loaders and Stores, Server
Affects Versions: 8.2.1.Final, 9.0.0.Alpha1
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Fix For: 9.0.0.Alpha2, 9.0.0.Final
A combination of remote cache loader and {{IsolationLevel.REPEATABLE_READ}} will cause a
ClassCastException when doing a {{GetWithMetadata}}:
{noformat}
org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=11
returned server error (status=0x85): java.lang.ClassCastException:
org.infinispan.container.entries.RepeatableReadEntry cannot be cast to
org.infinispan.container.entries.InternalCacheEntry
{noformat}