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]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by viveksachdeva
, 1 year ago
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]
via GitHub by rkondaveeti
, 2 years ago
OakConstraint0001: /apps/cq/core/content[[nt:folder]]: No matching definition found for child node nav with effective type [nt:unstructured]
via GitHub by viveksachdeva
, 1 year ago
OakConstraint0001: /home/groups/projects/admin/outdoors[[rep:AuthorizableFolder, rep:AccessControllable, mix:lockable]]: No matching definition found for child node ID02YXfXlqOHbGY-dVzN with effective type [nt:unstructured]
via Stack Overflow by Viswa
, 8 months ago
OakConstraint0030: Uniqueness constraint violated at path [/] for one of the property in [jcr:uuid] having value 6483de35-5fc6-437e-a40d-c9a074ee96ad
via GitHub by akrivitzky
, 1 year ago
OakConstraint0021: /content/dam/corporate/more-products/mindi-test-5000/Min_Art_Pho_Inner_Essence_AJL_04.psd/jcr:content/renditions/original/jcr:content[[nt:resource]]: Mandatory property jcr:data not found in a new node
via GitHub by ehernandez-xk
, 9 months ago
OakConstraint0001: /home/users[[rep:AuthorizableFolder, rep:AccessControllable]]: No matching definition found for child node system with effective type [nt:folder]
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(CommitFailedException.java:225)
at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:212)
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.newRepositoryException(SessionDelegate.java:594)
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.save(SessionDelegate.java:461)
at org.apache.jackrabbit.oak.jcr.session.SessionImpl$8.perform(SessionImpl.java:435)
at org.apache.jackrabbit.oak.jcr.session.SessionImpl$8.perform(SessionImpl.java:432)
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:216)
at org.apache.jackrabbit.oak.jcr.session.SessionImpl.perform(SessionImpl.java:140)
at org.apache.jackrabbit.oak.jcr.session.SessionImpl.save(SessionImpl.java:432)
at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.sling.jcr.base.SessionProxyHandler$SessionProxyInvocationHandler.invoke(SessionProxyHandler.java:113)
at com.sun.proxy.$Proxy8.save(Unknown Source)
at com.twcable.grabbit.client.batch.steps.jcrnodes.JcrNodesWriter.afterWrite(JcrNodesWriter.groovy:53)
at org.springframework.batch.core.listener.CompositeItemWriteListener.afterWrite(CompositeItemWriteListener.java:60)
at org.springframework.batch.core.listener.MulticasterBatchListener.afterWrite(MulticasterBatchListener.java:254)
at org.springframework.batch.core.step.item.SimpleChunkProcessor.doAfterWrite(SimpleChunkProcessor.java:167)
at org.springframework.batch.core.step.item.SimpleChunkProcessor.doWrite(SimpleChunkProcessor.java:152)
at org.springframework.batch.core.step.item.SimpleChunkProcessor.write(SimpleChunkProcessor.java:274)
at org.springframework.batch.core.step.item.SimpleChunkProcessor.process(SimpleChunkProcessor.java:199)
at org.springframework.batch.core.step.item.ChunkOrientedTasklet.execute(ChunkOrientedTasklet.java:75)
at org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:267)
at org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:368)
at org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:215)
at org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:253)
at org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:195)
at org.springframework.batch.core.job.SimpleStepHandler.handleStep(SimpleStepHandler.java:141)
at org.springframework.batch.core.job.flow.JobFlowExecutor.executeStep(JobFlowExecutor.java:64)
at org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:60)
at org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:151)
at org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:130)
at org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:135)
at org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.