org.neo4j.graphdb.ConstraintViolationException: Node 688 already exists with label User and property "id"=[30]

GitHub | kayrus | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 98#244917518

    GitHub | 6 months ago | kayrus
    org.neo4j.graphdb.ConstraintViolationException: Node 688 already exists with label User and property "id"=[30]

    Root Cause Analysis

    1. 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()
    2. Neo4j - Graph Database Kernel
      NodeProxy.setProperty
      1. org.neo4j.kernel.impl.api.ConstraintEnforcingEntityOperations.validateNoExistingNodeWithLabelAndProperty(ConstraintEnforcingEntityOperations.java:165)
      2. org.neo4j.kernel.impl.api.ConstraintEnforcingEntityOperations.nodeSetProperty(ConstraintEnforcingEntityOperations.java:140)
      3. org.neo4j.kernel.impl.api.LockingStatementOperations.nodeSetProperty(LockingStatementOperations.java:479)
      4. org.neo4j.kernel.impl.api.OperationsFacade.nodeSetProperty(OperationsFacade.java:922)
      5. org.neo4j.kernel.impl.core.NodeProxy.setProperty(NodeProxy.java:293)
      5 frames
    3. org.neo4j.shell
      ImportBinaryApp.execute
      1. org.neo4j.shell.tools.imp.format.kryo.KryoReader.readBinaryDump(KryoReader.java:96)
      2. org.neo4j.shell.tools.imp.ImportBinaryApp.readKryo(ImportBinaryApp.java:86)
      3. org.neo4j.shell.tools.imp.ImportBinaryApp.execute(ImportBinaryApp.java:51)
      3 frames
    4. Neo4j - Generic shell
      StartClient.main
      1. org.neo4j.shell.impl.AbstractAppServer.interpretLine(AbstractAppServer.java:126)
      2. org.neo4j.shell.kernel.GraphDatabaseShellServer.interpretLine(GraphDatabaseShellServer.java:103)
      3. org.neo4j.shell.impl.AbstractClient.evaluate(AbstractClient.java:149)
      4. org.neo4j.shell.impl.AbstractClient.evaluate(AbstractClient.java:133)
      5. org.neo4j.shell.StartClient.grabPromptOrJustExecuteCommand(StartClient.java:380)
      6. org.neo4j.shell.StartClient.tryStartLocalServerAndClient(StartClient.java:305)
      7. org.neo4j.shell.StartClient.startLocal(StartClient.java:277)
      8. org.neo4j.shell.StartClient.start(StartClient.java:210)
      9. org.neo4j.shell.StartClient.main(StartClient.java:145)
      9 frames