You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2013/06/13 14:53:20 UTC

[jira] [Updated] (OAK-868) KernelNodeState.processJsonDiff throws IAE on hidden items

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

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

          Component/s: core
    Affects Version/s: 0.8
    
> KernelNodeState.processJsonDiff throws IAE on hidden items
> ----------------------------------------------------------
>
>                 Key: OAK-868
>                 URL: https://issues.apache.org/jira/browse/OAK-868
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8
>            Reporter: Michael Dürig
>            Assignee: Marcel Reutegger
>
> 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