[ 
https://issues.apache.org/jira/browse/OAK-721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13615189#comment-13615189
 ] 

Thomas Mueller commented on OAK-721:
------------------------------------

The error message and stack trace is now for example:

{code}
 org.apache.jackrabbit.oak.plugins.observation.ChangeProcessor Unable to 
generate or send events java.lang.IllegalArgumentException: index = 2 for path 
/jcr:system/jcr:nodeTypes/cq:PollConfig/jcr:propertyDefinition[2] and name 
jcr:propertyDefinition
        at 
org.apache.jackrabbit.oak.namepath.NamePathMapperImpl$1.error(NamePathMapperImpl.java:104)
        at 
org.apache.jackrabbit.oak.namepath.NamePathMapperImpl$1.name(NamePathMapperImpl.java:110)
        at 
org.apache.jackrabbit.oak.namepath.JcrNameParser.parse(JcrNameParser.java:211)
        at 
org.apache.jackrabbit.oak.namepath.JcrPathParser.parse(JcrPathParser.java:111)
        at 
org.apache.jackrabbit.oak.namepath.NamePathMapperImpl.getJcrPath(NamePathMapperImpl.java:118)
        at 
org.apache.jackrabbit.oak.plugins.observation.ChangeProcessor$EventGeneratingNodeStateDiff.jcrPath(ChangeProcessor.java:165)
        at 
org.apache.jackrabbit.oak.plugins.observation.ChangeProcessor$EventGeneratingNodeStateDiff.propertyChanged(ChangeProcessor.java:184)
        at 
org.apache.jackrabbit.oak.spi.state.AbstractNodeState.comparePropertiesAgainstBaseState(AbstractNodeState.java:222)
        at 
org.apache.jackrabbit.oak.spi.state.AbstractNodeState.compareAgainstBaseState(AbstractNodeState.java:101)
        at 
org.apache.jackrabbit.oak.kernel.KernelNodeState.compareAgainstBaseState(KernelNodeState.java:344)
        at 
org.apache.jackrabbit.oak.plugins.observation.ChangeProcessor$EventGeneratingNodeStateDiff.childNodeChanged(ChangeProcessor.java:234)
        at 
org.apache.jackrabbit.oak.spi.state.AbstractNodeState.compareAgainstBaseState(AbstractNodeState.java:112)
        at 
org.apache.jackrabbit.oak.kernel.KernelNodeState.compareAgainstBaseState(KernelNodeState.java:344)
        at 
org.apache.jackrabbit.oak.plugins.observation.ChangeProcessor$EventGeneratingNodeStateDiff.childNodeChanged(ChangeProcessor.java:234)
        at 
org.apache.jackrabbit.oak.spi.state.AbstractNodeState.compareAgainstBaseState(AbstractNodeState.java:112)
        at 
org.apache.jackrabbit.oak.kernel.KernelNodeState.compareAgainstBaseState(KernelNodeState.java:344)
        at 
org.apache.jackrabbit.oak.plugins.observation.ChangeProcessor$EventGeneratingNodeStateDiff.childNodeChanged(ChangeProcessor.java:234)
        at 
org.apache.jackrabbit.oak.spi.state.AbstractNodeState.compareAgainstBaseState(AbstractNodeState.java:112)
        at 
org.apache.jackrabbit.oak.kernel.KernelNodeState.compareAgainstBaseState(KernelNodeState.java:344)
        at 
org.apache.jackrabbit.oak.plugins.observation.ChangeProcessor$EventGeneratingNodeStateDiff.childNodeChanged(ChangeProcessor.java:234)
        at 
org.apache.jackrabbit.oak.spi.state.AbstractNodeState.compareAgainstBaseState(AbstractNodeState.java:112)
        at 
org.apache.jackrabbit.oak.kernel.KernelNodeState.compareAgainstBaseState(KernelNodeState.java:344)
        at 
org.apache.jackrabbit.oak.core.RootImpl$3.getChanges(RootImpl.java:346)
        at 
org.apache.jackrabbit.oak.plugins.observation.ChangeProcessor.run(ChangeProcessor.java:115){code}

Could the index could be the "same name sibling index"?
                
> NamePathMapperImpl: weird error message "index > 1"
> ---------------------------------------------------
>
>                 Key: OAK-721
>                 URL: https://issues.apache.org/jira/browse/OAK-721
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Thomas Mueller
>            Priority: Minor
>
> I sometimes get the error with the message "index > 1" in NamePathMapperImpl. 
> I have no idea what it means and why I get it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to