org.neo4j.driver.v1.exceptions.ClientException

Relationship with id 0 has been deleted in this transaction

Samebug tips1

Try adding some code so it checks if node was already created or change the CREATE for a MERGE in neo4j code


rafafviolarafafviola

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web13

Stack trace

  • org.neo4j.driver.v1.exceptions.ClientException: Relationship with id 0 has been deleted in this transaction at org.neo4j.driver.internal.connector.socket.SocketResponseHandler.handleFailureMessage(SocketResponseHandler.java:68) at org.neo4j.driver.internal.messaging.PackStreamMessageFormatV1$Reader.unpackFailureMessage(PackStreamMessageFormatV1.java:456) at org.neo4j.driver.internal.messaging.PackStreamMessageFormatV1$Reader.read(PackStreamMessageFormatV1.java:417) at org.neo4j.driver.internal.connector.socket.SocketClient.receiveOne(SocketClient.java:130) at org.neo4j.driver.internal.connector.socket.SocketClient.receiveAll(SocketClient.java:124) at org.neo4j.driver.internal.connector.socket.SocketConnection.receiveAll(SocketConnection.java:121) at org.neo4j.driver.internal.connector.socket.SocketConnection.sync(SocketConnection.java:100) at org.neo4j.driver.internal.connector.ConcurrencyGuardingConnection.sync(ConcurrencyGuardingConnection.java:122) at org.neo4j.driver.internal.pool.PooledConnection.sync(PooledConnection.java:144) at org.neo4j.driver.internal.InternalTransaction.close(InternalTransaction.java:110) at org.structr.test.Delete.main(Delete.java:57)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

poroszdporoszd
Once,
rafafviolarafafviola
Once,
rprp
2 times, last one
Unknown visitor
Unknown visitorOnce,