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/02/07 16:07:13 UTC

[jira] [Created] (OAK-614) AssertionError in MemoryNodeBuilder

Michael Dürig created OAK-614:
---------------------------------

             Summary: AssertionError in MemoryNodeBuilder
                 Key: OAK-614
                 URL: https://issues.apache.org/jira/browse/OAK-614
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core
            Reporter: Michael Dürig


{code}
    NodeBuilder root = ...
    NodeBuilder child = root.child("new");

    root.removeNode("new");
    child.getChildNodeCount();
{code}

The last line throws an {{AssertionError}} when no node named "new" existed initially. It throws an {{IllegalStateException}} as expected otherwise. 

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