Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-868

KernelNodeState.processJsonDiff throws IAE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8
    • 0.9
    • core, mk
    • None

    Description

      This only occurs for more than KernelNodeState.MAX_CHILD_NODE_NAMES child nodes when KernelNodeState#compareAgainstBaseState falls back to MicroKernel#diff.

      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)
      

      Attachments

        Activity

          People

            mreutegg Marcel Reutegger
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: