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 "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/06/14 06:56:21 UTC

[jira] [Commented] (OAK-868) KernelNodeState.processJsonDiff throws IAE

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

Jukka Zitting commented on OAK-868:
-----------------------------------

bq.  The test is now called NodeStoreTest and runs with MicroKernelImpl, SegmentMK and MongoMK. All of them run in memory.

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