javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {http://www.jcp.org/jcr/1.0}title

GitHub | akiranmutnuru | 9 months 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

    javax.jcr.nodetype.ConstraintViolationException

    GitHub | 9 months ago | akiranmutnuru
    javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {http://www.jcp.org/jcr/1.0}title

    Root Cause Analysis

    1. javax.jcr.nodetype.ConstraintViolationException

      no matching property definition found for {http://www.jcp.org/jcr/1.0}title

      at org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicablePropertyDef()
    2. Jackrabbit Core
      NodeImpl.setProperty
      1. org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicablePropertyDef(EffectiveNodeType.java:782)
      2. org.apache.jackrabbit.core.NodeImpl.getApplicablePropertyDefinition(NodeImpl.java:842)
      3. org.apache.jackrabbit.core.NodeImpl.getOrCreateProperty(NodeImpl.java:436)
      4. org.apache.jackrabbit.core.NodeImpl$SetPropertyOperation.perform(NodeImpl.java:2051)
      5. org.apache.jackrabbit.core.NodeImpl$SetPropertyOperation.perform(NodeImpl.java:1998)
      6. org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
      7. org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1913)
      7 frames
    3. com.twcable.grabbit
      ProtoNodeDecorator$_writeToJcr_closure5.call
      1. com.twcable.grabbit.jcr.ProtoPropertyDecorator.writeToNode(ProtoPropertyDecorator.groovy:54)
      2. com.twcable.grabbit.jcr.ProtoNodeDecorator$_writeToJcr_closure5.doCall(ProtoNodeDecorator.groovy:72)
      3. com.twcable.grabbit.jcr.ProtoNodeDecorator$_writeToJcr_closure5.call(ProtoNodeDecorator.groovy)
      3 frames
    4. Groovy
      DefaultGroovyMethods.each
      1. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1379)
      2. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1372)
      2 frames
    5. com.twcable.grabbit
      JcrNodesWriter.write
      1. com.twcable.grabbit.jcr.ProtoNodeDecorator.writeToJcr(ProtoNodeDecorator.groovy:72)
      2. com.twcable.grabbit.client.batch.steps.jcrnodes.JcrNodesWriter.writeToJcr(JcrNodesWriter.groovy:91)
      3. com.twcable.grabbit.client.batch.steps.jcrnodes.JcrNodesWriter.write(JcrNodesWriter.groovy:74)
      3 frames
    6. Spring Batch Core
      TaskletStep$ChunkTransactionCallback.doInTransaction
      1. org.springframework.batch.core.step.item.SimpleChunkProcessor.writeItems(SimpleChunkProcessor.java:175)
      2. org.springframework.batch.core.step.item.SimpleChunkProcessor.doWrite(SimpleChunkProcessor.java:151)
      3. org.springframework.batch.core.step.item.SimpleChunkProcessor.write(SimpleChunkProcessor.java:274)
      4. org.springframework.batch.core.step.item.SimpleChunkProcessor.process(SimpleChunkProcessor.java:199)
      5. org.springframework.batch.core.step.item.ChunkOrientedTasklet.execute(ChunkOrientedTasklet.java:75)
      6. org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:395)
      6 frames
    7. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
      1 frame
    8. 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
    9. Spring Batch Infrastructure
      RepeatTemplate.getNextResult
      1. org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:368)
      1 frame