neo4j icon indicating copy to clipboard operation
neo4j copied to clipboard

org.neo4j.graphdb.QueryExecutionException: Can't coerce NO_VALUE to String

Open ThanigaiarasuA opened this issue 1 year ago • 2 comments

Hello,

Good day.

I'm getting one inconsistent issue after the 10th time execution. The error is "org.neo4j.graphdb.QueryExecutionException: Can't coerce NO_VALUE to String"...

My query is like this, "optional match (:abc{ xyz:res})-[r]->(dpt:lmn) with res, collect({ re:r, MLV:depPt.MCLV}) as DL

optional match (:abc)-[r]->(dpt:lmn{ xyz:res }) with res, DL, collect(r) as RDL"

FYI,

It's a mid-query, I got an error log in this area only. Whenever, if I use the delete cache query then it'll work fine but after 10 times of execution again get the same issue. And I have prepended CYPHER expressionEngine=INTERPRETED to the query as well, even though I got the same issue after the 10th time execution. Version details : image

Any other way is there to fix it via config or something?

Thanks in advance

-Thanigai

ThanigaiarasuA avatar Jul 21 '23 14:07 ThanigaiarasuA

@ThanigaiarasuA I assume the above is not the full query, as it is not semantically correct (I get Variable res not defined when running it locally). Would you be able to send us the full query so we can reproduce and investigate the bug further?

Best regards Louise, Neo4j Cypher team

Lojjs avatar Jul 24 '23 13:07 Lojjs

@ThanigaiarasuA we believe this issue may have been fixed in later patch versions of 4.4, please could you try upgrading (at the time of writing the latest is 4.4.25). if not, please provide the full query and a stack trace from the debug log so that we can try to reproduce the error on our side,

alexfoxgill avatar Aug 29 '23 09:08 alexfoxgill