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 21:46:20 UTC
[jira] [Resolved] (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 resolved OAK-868.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.9
Changed the KernelNodeStoreTest into a parametrized test. The test is now called NodeStoreTest and runs with MicroKernelImpl, SegmentMK and MongoMK. All of them run in memory.
See OAK-872 for some know issues with MongoMK. Currently skipped with JUnit Assume mechanics.
svn revision: http://svn.apache.org/r1492831
> 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
> 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