javax.jcr.InvalidItemStateException: Failed to register node types.

jackrabbit-oak-dev | Apache Jenkins Server | 11 months ago
  1. 0

    [Oak origin/1.2] Apache Jackrabbit Oak matrix - Build # 685 - Failure

    jackrabbit-oak-dev | 11 months ago | Apache Jenkins Server
    javax.jcr.InvalidItemStateException: Failed to register node types.
  2. 0

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

    jackrabbit-oak-dev | 12 months ago | Apache Jenkins Server
    javax.jcr.InvalidItemStateException: Failed to register node types.
  3. 0

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

    jackrabbit-oak-dev | 11 months ago | Apache Jenkins Server
    javax.jcr.InvalidItemStateException: Failed to register node types.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Oak origin/1.2] Apache Jackrabbit Oak matrix - Build # 685 - Failure

    jackrabbit-oak-dev | 11 months ago | Apache Jenkins Server
    javax.jcr.InvalidItemStateException: Failed to register node types.
  6. 0

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

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

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

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

      update of 5:/jcr:system/jcr:nodeTypes/nt:folder/rep:namedPropertyDefinitions/rep:primaryType failed, race condition?

      at org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.internalCreateOrUpdate()
    2. org.apache.jackrabbit
      ReadWriteNodeTypeManager.registerNodeTypes
      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.prepare(Commit.java:241)
      6. org.apache.jackrabbit.oak.plugins.document.Commit.apply(Commit.java:207)
      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$Persisted.persistTransientHead(DocumentNodeStoreBranch.java:679)
      11. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$Persisted.setRoot(DocumentNodeStoreBranch.java:628)
      12. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.setRoot(DocumentNodeStoreBranch.java:163)
      13. org.apache.jackrabbit.oak.plugins.document.DocumentRootBuilder.purge(DocumentRootBuilder.java:199)
      14. org.apache.jackrabbit.oak.plugins.document.DocumentRootBuilder.updated(DocumentRootBuilder.java:99)
      15. org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.updated(MemoryNodeBuilder.java:214)
      16. org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.remove(MemoryNodeBuilder.java:355)
      17. org.apache.jackrabbit.oak.plugins.document.DocumentNodeBuilder.removeInternal(DocumentNodeBuilder.java:123)
      18. org.apache.jackrabbit.oak.plugins.document.DocumentNodeBuilder.removeRecursive(DocumentNodeBuilder.java:130)
      19. org.apache.jackrabbit.oak.plugins.document.DocumentNodeBuilder.removeRecursive(DocumentNodeBuilder.java:128)
      20. org.apache.jackrabbit.oak.plugins.document.DocumentNodeBuilder.remove(DocumentNodeBuilder.java:117)
      21. org.apache.jackrabbit.oak.plugins.nodetype.TypeRegistration.validateAndCompileType(TypeRegistration.java:331)
      22. org.apache.jackrabbit.oak.plugins.nodetype.TypeRegistration.apply(TypeRegistration.java:140)
      23. org.apache.jackrabbit.oak.plugins.nodetype.TypeEditorProvider.getRootEditor(TypeEditorProvider.java:80)
      24. org.apache.jackrabbit.oak.spi.commit.CompositeEditorProvider.getRootEditor(CompositeEditorProvider.java:80)
      25. org.apache.jackrabbit.oak.spi.commit.EditorHook.processCommit(EditorHook.java:53)
      26. org.apache.jackrabbit.oak.spi.commit.CompositeHook.processCommit(CompositeHook.java:61)
      27. org.apache.jackrabbit.oak.spi.commit.CompositeHook.processCommit(CompositeHook.java:61)
      28. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$Persisted$3.call(DocumentNodeStoreBranch.java:655)
      29. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$Persisted$3.call(DocumentNodeStoreBranch.java:652)
      30. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.withCurrentBranch(DocumentNodeStoreBranch.java:353)
      31. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.access$600(DocumentNodeStoreBranch.java:52)
      32. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$Persisted.merge(DocumentNodeStoreBranch.java:652)
      33. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.merge0(DocumentNodeStoreBranch.java:223)
      34. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.merge(DocumentNodeStoreBranch.java:179)
      35. org.apache.jackrabbit.oak.plugins.document.DocumentRootBuilder.merge(DocumentRootBuilder.java:158)
      36. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.merge(DocumentNodeStore.java:1496)
      37. org.apache.jackrabbit.oak.core.MutableRoot.commit(MutableRoot.java:247)
      38. org.apache.jackrabbit.oak.core.MutableRoot.commit(MutableRoot.java:258)
      39. org.apache.jackrabbit.oak.plugins.nodetype.write.ReadWriteNodeTypeManager.registerNodeTypes(ReadWriteNodeTypeManager.java:145)
      39 frames
    3. Jackrabbit JCR Commons
      CndImporter.registerNodeTypes
      1. org.apache.jackrabbit.commons.cnd.CndImporter.registerNodeTypes(CndImporter.java:162)
      2. org.apache.jackrabbit.commons.cnd.CndImporter.registerNodeTypes(CndImporter.java:80)
      2 frames
    4. org.apache.jackrabbit
      OrderableNodesTest.orderableFolder
      1. org.apache.jackrabbit.oak.jcr.TestContentLoader.registerTestNodeTypes(TestContentLoader.java:79)
      2. org.apache.jackrabbit.oak.jcr.TestContentLoader.loadTestContent(TestContentLoader.java:54)
      3. org.apache.jackrabbit.oak.jcr.OrderableNodesTest.orderableFolder(OrderableNodesTest.java:47)
      3 frames
    5. 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
    6. JUnit
      ParentRunner$3.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.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      7. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      15. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      16. org.junit.runners.Suite.runChild(Suite.java:128)
      17. org.junit.runners.Suite.runChild(Suite.java:27)
      18. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      18 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames