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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2013/06/13 13:18:20 UTC
[jira] [Commented] (OAK-868) KernelNodeState.processJsonDiff throws
IAE on hidden items
[ https://issues.apache.org/jira/browse/OAK-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682127#comment-13682127 ]
Michael Dürig commented on OAK-868:
-----------------------------------
Test case: http://svn.apache.org/r1492622
> 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
> Reporter: Michael Dürig
>
> 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