javax.jcr.InvalidItemStateException: OakMerge0001: OakMerge0001: Failed to merge changes to the underlying store (retries 5, 5099 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, 5099 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, 4901 ms)
  3. 0

    [Oak origin/1.2] Apache Jackrabbit Oak matrix - Build # 680 - 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, 4463 ms)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 156#253572574

    GitHub | 7 months ago | dscirto
    com.day.cq.wcm.api.WCMException: javax.jcr.InvalidItemStateException: OakState0001: Unresolved conflicts in /content/somepath/home/blahblah/something/jcr:content

    6 unregistered visitors

    Root Cause Analysis

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

      The node 6:/oak:index/nodetype/:index/nt%3Aunstructured/testroot/node1 was already added in revision r152392724ec-0-1, before r152392886e3-0-1

      at org.apache.jackrabbit.oak.plugins.document.Commit.checkConflicts()
    2. org.apache.jackrabbit
      SessionImpl.save
      1. org.apache.jackrabbit.oak.plugins.document.Commit.checkConflicts(Commit.java:561)
      2. org.apache.jackrabbit.oak.plugins.document.Commit.createOrUpdateNode(Commit.java:473)
      3. org.apache.jackrabbit.oak.plugins.document.Commit.applyToDocumentStore(Commit.java:370)
      4. org.apache.jackrabbit.oak.plugins.document.Commit.applyToDocumentStore(Commit.java:264)
      5. org.apache.jackrabbit.oak.plugins.document.Commit.applyInternal(Commit.java:233)
      6. org.apache.jackrabbit.oak.plugins.document.Commit.apply(Commit.java:218)
      7. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.persist(DocumentNodeStoreBranch.java:329)
      8. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.persist(DocumentNodeStoreBranch.java:299)
      9. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.access$300(DocumentNodeStoreBranch.java:52)
      10. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$InMemory.merge(DocumentNodeStoreBranch.java:545)
      11. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.merge0(DocumentNodeStoreBranch.java:223)
      12. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.merge(DocumentNodeStoreBranch.java:179)
      13. org.apache.jackrabbit.oak.plugins.document.DocumentRootBuilder.merge(DocumentRootBuilder.java:158)
      14. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.merge(DocumentNodeStore.java:1496)
      15. org.apache.jackrabbit.oak.core.MutableRoot.commit(MutableRoot.java:247)
      16. org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.commit(SessionDelegate.java:339)
      17. org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.save(SessionDelegate.java:485)
      18. org.apache.jackrabbit.oak.jcr.session.SessionImpl$8.performVoid(SessionImpl.java:424)
      19. org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(SessionDelegate.java:266)
      20. org.apache.jackrabbit.oak.jcr.session.SessionImpl.save(SessionImpl.java:421)
      20 frames
    3. Jackrabbit JCR Tests
      GetIdentifierTest.testNodeAdded
      1. org.apache.jackrabbit.test.api.observation.GetIdentifierTest$1.call(GetIdentifierTest.java:33)
      2. org.apache.jackrabbit.test.api.observation.AbstractObservationTest.getEvents(AbstractObservationTest.java:267)
      3. org.apache.jackrabbit.test.api.observation.GetIdentifierTest.testNodeAdded(GetIdentifierTest.java:30)
      3 frames
    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
      JUnit38ClassRunner.run
      1. junit.framework.TestSuite.runTest(TestSuite.java:252)
      2. junit.framework.TestSuite.run(TestSuite.java:247)
      3. junit.framework.TestSuite.runTest(TestSuite.java:252)
      4. junit.framework.TestSuite.run(TestSuite.java:247)
      5. junit.framework.TestSuite.runTest(TestSuite.java:252)
      6. junit.framework.TestSuite.run(TestSuite.java:247)
      7. org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
      7 frames
    8. 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
    9. 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
    10. 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