[ 
https://issues.apache.org/jira/browse/OAK-868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcel Reutegger updated OAK-868:
---------------------------------

    Component/s: mk
    
> KernelNodeState.processJsonDiff throws IAE
> ------------------------------------------
>
>                 Key: OAK-868
>                 URL: https://issues.apache.org/jira/browse/OAK-868
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, mk
>    Affects Versions: 0.8
>            Reporter: Michael Dürig
>            Assignee: Marcel Reutegger
>             Fix For: 0.9
>
>
> This only occurs for more than {{KernelNodeState.MAX_CHILD_NODE_NAMES}} child 
> nodes when {{KernelNodeState#compareAgainstBaseState}} falls back to 
> {{MicroKernel#diff}}.
> {code}
> java.lang.IllegalArgumentException: jsonDiff: illegal token '}' at pos: 121 
> +"/c58":{}
> ...
> +"/foo":{":bar":{"quz":{"p":"v"}}}
> ...
>       at 
> org.apache.jackrabbit.oak.kernel.KernelNodeState.processJsonDiff(KernelNodeState.java:605)
>       at 
> org.apache.jackrabbit.oak.kernel.KernelNodeState.compareAgainstBaseState(KernelNodeState.java:426)
>       at 
> org.apache.jackrabbit.oak.kernel.KernelNodeStoreTest.compareAgainstBaseState(KernelNodeStoreTest.java:319)
>       at 
> org.apache.jackrabbit.oak.kernel.KernelNodeStoreTest.compareAgainstBaseState100(KernelNodeStoreTest.java:301)
> {code}

--
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