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

Remote script execution broken for Hot Rod 2.5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.4.0.CR1
    • 9.4.0.Beta1
    • None
    • 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/:?]
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: