Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 19737 invoked from network); 30 Jul 2008 21:44:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jul 2008 21:44:23 -0000 Received: (qmail 42475 invoked by uid 500); 30 Jul 2008 21:44:22 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 42427 invoked by uid 500); 30 Jul 2008 21:44:22 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 42410 invoked by uid 99); 30 Jul 2008 21:44:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 14:44:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 21:43:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E6E65234C181 for ; Wed, 30 Jul 2008 14:43:31 -0700 (PDT) Message-ID: <1873718734.1217454211944.JavaMail.jira@brutus> Date: Wed, 30 Jul 2008 14:43:31 -0700 (PDT) From: "Matej Knopp (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-1701) InfiniteLoop in bundle binding MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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)) { continue; } PropertyId pId = new PropertyId(bundle.getId(), name); NodePropBundle.PropertyEntry pState = readPropertyEntry(in, pId); bundle.addProperty(pState); 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.