java.lang.RuntimeException: org.apache.jackrabbit.oak.api.CommitFailedException: OakMerge0001: OakMerge0001: Failed to merge changes to the underlying store (retries 5, 4811 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 # 649 - Failure

    jackrabbit-oak-dev | 1 year ago | Apache Jenkins Server
    java.lang.RuntimeException: org.apache.jackrabbit.oak.api.CommitFailedException: OakMerge0001: OakMerge0001: Failed to merge changes to the underlying store (retries 5, 4811 ms)

    Root Cause Analysis

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

      update of 2:/oak:index/nodetype failed, race condition?

      at org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.internalCreateOrUpdate()
    2. org.apache.jackrabbit
      ObservationTest.setup
      1. org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.internalCreateOrUpdate(RDBDocumentStore.java:988)
      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.spi.lifecycle.OakInitializer.initialize(OakInitializer.java:62)
      17. org.apache.jackrabbit.oak.Oak.createContentRepository(Oak.java:565)
      18. org.apache.jackrabbit.oak.jcr.Jcr.createRepository(Jcr.java:202)
      19. org.apache.jackrabbit.oak.jcr.AbstractRepositoryTest.createRepository(AbstractRepositoryTest.java:125)
      20. org.apache.jackrabbit.oak.jcr.AbstractRepositoryTest.getRepository(AbstractRepositoryTest.java:115)
      21. org.apache.jackrabbit.oak.jcr.AbstractRepositoryTest.createAdminSession(AbstractRepositoryTest.java:149)
      22. org.apache.jackrabbit.oak.jcr.AbstractRepositoryTest.getAdminSession(AbstractRepositoryTest.java:136)
      23. org.apache.jackrabbit.oak.jcr.observation.ObservationTest.setup(ObservationTest.java:110)
      23 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    4. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
      5. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      6. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      9. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      10. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      11. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      12. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      13. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      14. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      15. org.junit.runners.Suite.runChild(Suite.java:128)
      16. org.junit.runners.Suite.runChild(Suite.java:27)
      17. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      18. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      19. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      20. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      21. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      22. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      22 frames
    5. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    7. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
      3. org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
      4. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
      5 frames