jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matej Knopp (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1701) InfiniteLoop in bundle binding
Date Wed, 30 Jul 2008 21:43:31 GMT
InfiniteLoop in bundle binding

                 Key: JCR-1701
                 URL: https://issues.apache.org/jira/browse/JCR-1701
             Project: Jackrabbit
          Issue Type: Bug
    Affects Versions: 1.5
            Reporter: Matej Knopp
            Priority: Critical

Starting with revision 679389 this code got into BundleBinding (line 118)
   while (name != null) {
            // skip redundant primaryType, mixinTypes and uuid properties
            if (name.equals(NameConstants.JCR_PRIMARYTYPE)
                || name.equals(NameConstants.JCR_MIXINTYPES)
                || name.equals(NameConstants.JCR_UUID)) {
            PropertyId pId = new PropertyId(bundle.getId(), name);
            NodePropBundle.PropertyEntry pState = readPropertyEntry(in, pId);
            name = readIndexedQName(in);
It causes an infinite loop when name is one of the constants.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message