arcadedb icon indicating copy to clipboard operation
arcadedb copied to clipboard

Vector DB tutorial : class java.lang.String cannot be cast to class [F (java.lang.String and [F are in module java.base of loader 'bootstrap')

Open ExtReMLapin opened this issue 10 months ago • 3 comments

Hello,

Version used :

 [ArcadeDBServer] <ArcadeDB_0> ArcadeDB Server v25.1.1 (build b1c737224fcab342eb60c36469cde61e0bb20271/1737875480429/main) is starting up...
 [ArcadeDBServer] <ArcadeDB_0> Running on Linux 6.8.0-49-generic - OpenJDK 64-Bit Server VM 17.0.13

Issue :

SELECT vectorNeighbors('Node[name,vector]','king',3);

Returns the error :

class java.lang.String cannot be cast to class [F (java.lang.String and [F are in module java.base of loader 'bootstrap')

I just tried to follow the tutorial : https://docs.arcadedb.com/#_sql-example

Also same error with CYPHER match (n) return n

ExtReMLapin avatar Feb 17 '25 10:02 ExtReMLapin

This seems to be a regression as I remember successfully testing this example myself. Maybe this is related in kind to https://github.com/ArcadeData/arcadedb/issues/1941 .

gramian avatar Feb 17 '25 11:02 gramian

Vector value changes on each call ????

SELECT nodeOBJ.asJSON() AS name FROM (MATCH {type: Node, as: nodeOBJ} RETURN nodeOBJ) https://github.com/user-attachments/assets/402ee549-d0f8-4ac4-9134-712a31797e0b

ExtReMLapin avatar Feb 17 '25 13:02 ExtReMLapin

Is this still broken with the new LSM Vector index?

lvca avatar Dec 09 '25 18:12 lvca