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

setParameter does not parse Vectors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 15.0.0.Final
    • 15.0.0.Final
    • Remote Querying
    • None

      query.setParameter("v", new float[] {7.1f,7f,3.1f});
       
      [ERROR] dev.langchain4j.store.embedding.infinispan.TestToUnit.test – Time elapsed: 1.451 s <<< ERROR!
      org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=20 returned server error (status=0x85): java.lang.IllegalArgumentException: No marshaller registered for Protobuf type org.infinispan.protostream.commons.FloatArray
              at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
              at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096)
              at org.infinispan.client.hotrod.impl.Util.await(Util.java:52)
              at org.infinispan.client.hotrod.impl.query.RemoteQuery.executeRemotely(RemoteQuery.java:108)
              at org.infinispan.client.hotrod.impl.query.RemoteQuery.list(RemoteQuery.java:56)
              at dev.langchain4j.store.embedding.infinispan.TestToUnit.test(TestToUnit.java:28)
              at java.base/java.lang.reflect.Method.invoke(Method.java:568)
              at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
              at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

              fercoli@redhat.com Fabio Massimo Ercoli
              karestig@redhat.com Katia Aresti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: