org.neo4j.ogm.exception.TransactionException: http://localhost:7474/db/data/transaction/134: Unrecognized transaction id. Transaction may have timed out and been rolled back.

GitHub | akandach | 2 months ago
  1. 0

    Unique Constraint Error not propagating with @Index

    GitHub | 2 months ago | akandach
    org.neo4j.ogm.exception.TransactionException: http://localhost:7474/db/data/transaction/134: Unrecognized transaction id. Transaction may have timed out and been rolled back.

    Root Cause Analysis

    1. org.neo4j.ogm.exception.TransactionException

      http://localhost:7474/db/data/transaction/134: Unrecognized transaction id. Transaction may have timed out and been rolled back.

      at org.neo4j.ogm.drivers.http.transaction.HttpTransaction.rollback()
    2. org.neo4j.ogm
      HttpTransaction.rollback
      1. org.neo4j.ogm.drivers.http.transaction.HttpTransaction.rollback(HttpTransaction.java:51)
      1 frame
    3. Spring Data Neo4j - Transactions
      Neo4jTransactionManager.doRollback
      1. org.springframework.data.neo4j.transaction.Neo4jTransactionManager.doRollback(Neo4jTransactionManager.java:275)
      1 frame
    4. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:853)
      2. org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:830)
      3. org.springframework.transaction.interceptor.TransactionAspectSupport.completeTransactionAfterThrowing(TransactionAspectSupport.java:501)
      4. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:284)
      5. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      5 frames
    5. Spring AOP
      CglibAopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      2. org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)
      2 frames
    6. com.clidentity.service
      ProfileService$$EnhancerBySpringCGLIB$$dafaed6.upsert
      1. com.clidentity.service.ProfileService$$EnhancerBySpringCGLIB$$dafaed6.upsert(<generated>)
      1 frame
    7. com.clidentity.rest
      ProfileRestController$$FastClassBySpringCGLIB$$ed6f9559.invoke
      1. com.clidentity.rest.ProfileRestController.create(ProfileRestController.java:81)
      2. com.clidentity.rest.ProfileRestController$$FastClassBySpringCGLIB$$ed6f9559.invoke(<generated>)
      2 frames
    8. Spring Core
      MethodProxy.invoke
      1. org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
      1 frame