javax.jcr.nodetype.ConstraintViolationException: OakConstraint0001: /content/dam/aaa/bbb/a/b/c/d/e/p8395557_p_v6_aa.jpg/jcr:content[[nt:folder]]: No matching definition found for child node metadata with effective type [nt:unstructured, cq:Taggable]

GitHub | viveksachdeva | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ConstraintViolationException when synching images

    GitHub | 9 months ago | viveksachdeva
    javax.jcr.nodetype.ConstraintViolationException: OakConstraint0001: /content/dam/aaa/bbb/a/b/c/d/e/p8395557_p_v6_aa.jpg/jcr:content[[nt:folder]]: No matching definition found for child node metadata with effective type [nt:unstructured, cq:Taggable]
  2. 0

    GitHub comment 7#67178394

    GitHub | 2 years ago | akrivitzky
    net.adamcin.recap.api.RecapSessionException: Failed to save remaining changes.

    2 unregistered visitors

    Root Cause Analysis

    1. javax.jcr.nodetype.ConstraintViolationException

      OakConstraint0001: /content/dam/aaa/bbb/a/b/c/d/e/p8395557_p_v6_aa.jpg/jcr:content[[nt:folder]]: No matching definition found for child node metadata with effective type [nt:unstructured, cq:Taggable]

      at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException()
    2. org.apache.jackrabbit
      SessionImpl.save
      1. org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:225)
      2. org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:212)
      3. org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.newRepositoryException(SessionDelegate.java:594)
      4. org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.save(SessionDelegate.java:461)
      5. org.apache.jackrabbit.oak.jcr.session.SessionImpl$8.perform(SessionImpl.java:435)
      6. org.apache.jackrabbit.oak.jcr.session.SessionImpl$8.perform(SessionImpl.java:432)
      7. org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:216)
      8. org.apache.jackrabbit.oak.jcr.session.SessionImpl.perform(SessionImpl.java:140)
      9. org.apache.jackrabbit.oak.jcr.session.SessionImpl.save(SessionImpl.java:432)
      9 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:483)
      3 frames
    4. org.apache.sling
      SessionProxyHandler$SessionProxyInvocationHandler.invoke
      1. org.apache.sling.jcr.base.SessionProxyHandler$SessionProxyInvocationHandler.invoke(SessionProxyHandler.java:113)
      1 frame
    5. com.sun.proxy
      $Proxy8.save
      1. com.sun.proxy.$Proxy8.save(Unknown Source)
      1 frame
    6. com.twcable.grabbit
      JcrNodesWriter.afterWrite
      1. com.twcable.grabbit.client.batch.steps.jcrnodes.JcrNodesWriter.afterWrite(JcrNodesWriter.groovy:53)
      1 frame
    7. Spring Batch Core
      TaskletStep$ChunkTransactionCallback.doInTransaction
      1. org.springframework.batch.core.listener.CompositeItemWriteListener.afterWrite(CompositeItemWriteListener.java:60)
      2. org.springframework.batch.core.listener.MulticasterBatchListener.afterWrite(MulticasterBatchListener.java:254)
      3. org.springframework.batch.core.step.item.SimpleChunkProcessor.doAfterWrite(SimpleChunkProcessor.java:167)
      4. org.springframework.batch.core.step.item.SimpleChunkProcessor.doWrite(SimpleChunkProcessor.java:152)
      5. org.springframework.batch.core.step.item.SimpleChunkProcessor.write(SimpleChunkProcessor.java:274)
      6. org.springframework.batch.core.step.item.SimpleChunkProcessor.process(SimpleChunkProcessor.java:199)
      7. org.springframework.batch.core.step.item.ChunkOrientedTasklet.execute(ChunkOrientedTasklet.java:75)
      8. org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:395)
      8 frames
    8. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131)
      1 frame
    9. Spring Batch Core
      StepContextRepeatCallback.doInIteration
      1. org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:267)
      2. org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:77)
      2 frames
    10. Spring Batch Infrastructure
      RepeatTemplate.iterate
      1. org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:368)
      2. org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:215)
      3. org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:144)
      3 frames
    11. Spring Batch Core
      SimpleJobLauncher$1.run
      1. org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:253)
      2. org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:195)
      3. org.springframework.batch.core.job.SimpleStepHandler.handleStep(SimpleStepHandler.java:141)
      4. org.springframework.batch.core.job.flow.JobFlowExecutor.executeStep(JobFlowExecutor.java:64)
      5. org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:60)
      6. org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:151)
      7. org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:130)
      8. org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:135)
      9. org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:301)
      10. org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:134)
      10 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames