org.neo4j.graphdb.ConstraintViolationException

Node 688 already exists with label User and property "id"=[30]

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web2

  • via GitHub by kayrus
    ,
  • Stack trace

    • org.neo4j.graphdb.ConstraintViolationException: Node 688 already exists with label User and property "id"=[30] at org.neo4j.kernel.impl.core.NodeProxy.setProperty(NodeProxy.java:297) at org.neo4j.shell.tools.imp.format.kryo.KryoReader.readBinaryDump(KryoReader.java:96) at org.neo4j.shell.tools.imp.ImportBinaryApp.readKryo(ImportBinaryApp.java:86) at org.neo4j.shell.tools.imp.ImportBinaryApp.execute(ImportBinaryApp.java:51) at org.neo4j.shell.impl.AbstractAppServer.interpretLine(AbstractAppServer.java:126) at org.neo4j.shell.kernel.GraphDatabaseShellServer.interpretLine(GraphDatabaseShellServer.java:103) at org.neo4j.shell.impl.AbstractClient.evaluate(AbstractClient.java:149) at org.neo4j.shell.impl.AbstractClient.evaluate(AbstractClient.java:133) at org.neo4j.shell.StartClient.grabPromptOrJustExecuteCommand(StartClient.java:380) at org.neo4j.shell.StartClient.tryStartLocalServerAndClient(StartClient.java:305) at org.neo4j.shell.StartClient.startLocal(StartClient.java:277) at org.neo4j.shell.StartClient.start(StartClient.java:210) at org.neo4j.shell.StartClient.main(StartClient.java:145) Caused by: org.neo4j.kernel.api.exceptions.schema.UniquePropertyConstraintViolationKernelException: Node 688 already exists with label 0 and property 1=30 at org.neo4j.kernel.impl.api.ConstraintEnforcingEntityOperations.validateNoExistingNodeWithLabelAndProperty(ConstraintEnforcingEntityOperations.java:165) at org.neo4j.kernel.impl.api.ConstraintEnforcingEntityOperations.nodeSetProperty(ConstraintEnforcingEntityOperations.java:140) at org.neo4j.kernel.impl.api.LockingStatementOperations.nodeSetProperty(LockingStatementOperations.java:479) at org.neo4j.kernel.impl.api.OperationsFacade.nodeSetProperty(OperationsFacade.java:922) at org.neo4j.kernel.impl.core.NodeProxy.setProperty(NodeProxy.java:293) ... 12 more

    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

    We couldn't find other users who have seen this exception.