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

Remote script execution broken for Hot Rod 2.5

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 9.4.0.Beta1
    • Fix Version/s: 9.4.0.CR1
    • Component/s: None
    • Labels:
      None

      Description

      Running ExecTypedTest with protocol version 2.5 fails (modifying RemoteCacheManager created in createAddScriptClient method):

      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/:?]
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  gustavonalle Gustavo Fernandes
                  Reporter:
                  galder.zamarreno Galder ZamarreƱo
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: