]
Gustavo Fernandes reassigned ISPN-9424:
---------------------------------------
Assignee: Gustavo Fernandes
Remote script execution broken for Hot Rod 2.5
----------------------------------------------
Key: ISPN-9424
URL:
https://issues.jboss.org/browse/ISPN-9424
Project: Infinispan
Issue Type: Bug
Affects Versions: 9.4.0.Beta1
Reporter: Galder ZamarreƱo
Assignee: Gustavo Fernandes
Fix For: 9.4.0.CR1
Running {{ExecTypedTest}} with protocol version 2.5 fails (modifying RemoteCacheManager
created in {{createAddScriptClient}} method):
{code}
2018-08-13 19:16:22,030 ERROR
[org.infinispan.interceptors.impl.InvocationContextInterceptor]
(HotRod-ExecTypedTest-ServerWorker-6-2:[]) ISPN000136: Error executing command
PutKeyValueCommand, writing keys [WrappedByteArray{bytes=[B0x033E157479706564..[24],
hashCode=0}]
java.lang.ClassCastException: org.infinispan.commons.marshall.WrappedByteArray cannot be
cast to java.lang.String
at
org.infinispan.scripting.impl.ScriptingInterceptor.visitPutKeyValueCommand(ScriptingInterceptor.java:30)
~[classes/:?]
at
org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68)
~[classes/:?]
{code}