java.lang.IllegalStateException: Unable to delete relationship[3521] since it is already deleted.

GitHub | ryancollingwood | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Duplicate Relationships on creation of a related node

    GitHub | 6 months ago | ryancollingwood
    java.lang.IllegalStateException: Unable to delete relationship[3521] since it is already deleted.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Unable to delete relationship[3521] since it is already deleted.

      at org.neo4j.kernel.impl.core.RelationshipProxy.delete()
    2. Neo4j - Graph Database Kernel
      RelationshipProxy.delete
      1. org.neo4j.kernel.impl.core.RelationshipProxy.delete(RelationshipProxy.java:163)
      1 frame
    3. org.structr.neo4j
      RelationshipWrapper.delete
      1. org.structr.neo4j.wrapper.RelationshipWrapper.delete(RelationshipWrapper.java:152)
      1 frame
    4. org.structr.core
      AbstractNode.setProperty
      1. org.structr.core.graph.DeleteRelationshipCommand.execute(DeleteRelationshipCommand.java:85)
      2. org.structr.core.graph.DeleteRelationshipCommand.execute(DeleteRelationshipCommand.java:56)
      3. org.structr.core.app.StructrApp.delete(StructrApp.java:153)
      4. org.structr.core.entity.ManyStartpoint.set(ManyStartpoint.java:113)
      5. org.structr.core.property.StartNodes.setProperty(StartNodes.java:177)
      6. org.structr.core.property.StartNodes.setProperty(StartNodes.java:55)
      7. org.structr.core.entity.AbstractNode.setPropertyInternal(AbstractNode.java:1442)
      8. org.structr.core.entity.AbstractNode.setProperty(AbstractNode.java:1403)
      8 frames
    5. structr-rest
      JsonRestServlet.doPut
      1. org.structr.rest.resource.Resource.doPut(Resource.java:165)
      2. org.structr.rest.servlet.JsonRestServlet.doPut(JsonRestServlet.java:606)
      2 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      2 frames
    7. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
      3. org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)
      4. org.eclipse.jetty.servlets.AsyncGzipFilter.doFilter(AsyncGzipFilter.java:408)
      5. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      5 frames
    8. UrlRewriteFilter
      UrlRewriteFilter.doFilter
      1. org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
      2. org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
      3. org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
      4. org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)
      4 frames
    9. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
      12. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      13. org.eclipse.jetty.server.Server.handle(Server.java:497)
      14. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
      15. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      16. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      17. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      18. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      18 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame