javax.jcr.InvalidItemStateException: OakMerge0001: OakMerge0001: Failed to merge changes to the underlying store (retries 5, 5928 ms)

jackrabbit-oak-dev | Apache Jenkins Server | 1 year 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

    [Oak origin/1.2] Apache Jackrabbit Oak matrix - Build # 667 - Still Failing

    jackrabbit-oak-dev | 1 year ago | Apache Jenkins Server
    javax.jcr.InvalidItemStateException: OakMerge0001: OakMerge0001: Failed to merge changes to the underlying store (retries 5, 5928 ms)
  2. 0

    [Oak origin/1.2] Apache Jackrabbit Oak matrix - Build # 639 - Still Failing

    jackrabbit-oak-dev | 1 year ago | Apache Jenkins Server
    javax.jcr.InvalidItemStateException: OakMerge0001: OakMerge0001: Failed to merge changes to the underlying store (retries 5, 4699 ms)

    Root Cause Analysis

    1. org.apache.jackrabbit.oak.plugins.document.DocumentStoreException

      update of 3:/oak:index/reference/:references failed, race condition?

      at org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.internalCreateOrUpdate()
    2. org.apache.jackrabbit
      NodeImpl.save
      1. org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.internalCreateOrUpdate(RDBDocumentStore.java:1016)
      2. org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.createOrUpdate(RDBDocumentStore.java:290)
      3. org.apache.jackrabbit.oak.plugins.document.Commit.createOrUpdateNode(Commit.java:472)
      4. org.apache.jackrabbit.oak.plugins.document.Commit.applyToDocumentStore(Commit.java:370)
      5. org.apache.jackrabbit.oak.plugins.document.Commit.applyToDocumentStore(Commit.java:264)
      6. org.apache.jackrabbit.oak.plugins.document.Commit.applyInternal(Commit.java:233)
      7. org.apache.jackrabbit.oak.plugins.document.Commit.apply(Commit.java:218)
      8. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.persist(DocumentNodeStoreBranch.java:329)
      9. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.persist(DocumentNodeStoreBranch.java:299)
      10. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.access$300(DocumentNodeStoreBranch.java:52)
      11. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$InMemory.merge(DocumentNodeStoreBranch.java:545)
      12. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.merge0(DocumentNodeStoreBranch.java:223)
      13. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.merge(DocumentNodeStoreBranch.java:179)
      14. org.apache.jackrabbit.oak.plugins.document.DocumentRootBuilder.merge(DocumentRootBuilder.java:158)
      15. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.merge(DocumentNodeStore.java:1496)
      16. org.apache.jackrabbit.oak.core.MutableRoot.commit(MutableRoot.java:247)
      17. org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.commit(SessionDelegate.java:339)
      18. org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.save(SessionDelegate.java:485)
      19. org.apache.jackrabbit.oak.jcr.session.SessionImpl$8.performVoid(SessionImpl.java:424)
      20. org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(SessionDelegate.java:266)
      21. org.apache.jackrabbit.oak.jcr.session.SessionImpl.save(SessionImpl.java:421)
      22. org.apache.jackrabbit.oak.jcr.session.ItemImpl.save(ItemImpl.java:273)
      23. org.apache.jackrabbit.oak.jcr.session.NodeImpl.save(NodeImpl.java:104)
      23 frames
    3. Jackrabbit Core
      VersionStoreQueryTest.testCheckin
      1. org.apache.jackrabbit.core.query.VersionStoreQueryTest.testCheckin(VersionStoreQueryTest.java:38)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    5. JUnit
      TestCase.run
      1. junit.framework.TestCase.runTest(TestCase.java:176)
      2. junit.framework.TestCase.runBare(TestCase.java:141)
      3. junit.framework.TestResult$1.protect(TestResult.java:122)
      4. junit.framework.TestResult.runProtected(TestResult.java:142)
      5. junit.framework.TestResult.run(TestResult.java:125)
      6. junit.framework.TestCase.run(TestCase.java:129)
      6 frames
    6. Jackrabbit JCR Tests
      AbstractJCRTest.run
      1. org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:464)
      1 frame
    7. JUnit
      TestSuite.runTest
      1. junit.framework.TestSuite.runTest(TestSuite.java:252)
      2. junit.framework.TestSuite.run(TestSuite.java:247)
      3. junit.framework.TestSuite.runTest(TestSuite.java:252)
      3 frames
    8. Jackrabbit JCR Tests
      ConcurrentTestSuite$2.run
      1. org.apache.jackrabbit.test.ConcurrentTestSuite.access$001(ConcurrentTestSuite.java:29)
      2. org.apache.jackrabbit.test.ConcurrentTestSuite$2.run(ConcurrentTestSuite.java:67)
      2 frames
    9. Dough Lea's util.concurrent package
      PooledExecutor$Worker.run
      1. EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
      1 frame
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame