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

Remote script execution broken for Hot Rod 2.5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.4.0.Final
    • 9.4.0.Final
    • None
    • None

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

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: