Facing Error on Neo4j: Expected positive long value, got -17179869160

Dear Community,

I am using the Neo4j community edition 4.2.0. I am running a query and I end up with an error

Neo.DatabaseError.Statement.ExecutionFailed
Expected positive long value, got -17179869160

Please let me know how can I get over this error? Is it the query optimisation that's required?

Thank you in advanced.

What query did you run that returned that error?

I also face the same issue. Are there any suggestions?

@andaki

do you have any further detail as to how you encountered the error?
What version of Neo4j ?

Was the error encountered via a cypher statement? via a neo4j-admin import? via a implementation using a programattic driver?

Having more details of how this was encountered would help

I'm facing a similar issue. This is what I am running

MATCH p=(n1:UID)-[:uid_IP]->(pii)<-[:uid_IP]-(n2:UID)
WITH n1, n2, COUNT(pii) AS numip
WHERE NOT EXISTS((n1)-[:connected_to]-(n2)) AND n1<>n2 AND numip>2
RETURN n1, n2, numip
LIMIT 1

I am getting the following error message

Neo.DatabaseError.Statement.ExecutionFailed

Expected positive long value, got -8589934576

I am running Neo4j 4.4.6 Community Edition. Let me know if you have any input on this