Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 79210 invoked from network); 27 Mar 2006 13:02:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Mar 2006 13:02:01 -0000 Received: (qmail 8741 invoked by uid 500); 27 Mar 2006 13:01:04 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 8708 invoked by uid 500); 27 Mar 2006 13:01:03 -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 8699 invoked by uid 99); 27 Mar 2006 13:01:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Mar 2006 05:01:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of stefan.guggisberg@gmail.com designates 64.233.184.232 as permitted sender) Received: from [64.233.184.232] (HELO wproxy.gmail.com) (64.233.184.232) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Mar 2006 05:01:02 -0800 Received: by wproxy.gmail.com with SMTP id 70so1408871wra for ; Mon, 27 Mar 2006 05:00:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MYvjmxtAzynXwIrAONmhN3OZkSLXYiHPgPs6FQrSNWrb/O/IrhSKj8Y5+Ea8YwPczW0RWHwbH8CwzYB5TuTiL+NaH/1uZ1gcxXFCEqtMiHzLzD1CNn8X72XkrGbFU1qWbyPKDTXgLZSZBsmQXtiTe0F4dDwNSJRa2J/pl2bIDkU= Received: by 10.65.219.8 with SMTP id w8mr432949qbq; Mon, 27 Mar 2006 05:00:41 -0800 (PST) Received: by 10.64.47.5 with HTTP; Mon, 27 Mar 2006 05:00:41 -0800 (PST) Message-ID: <90a8d1c00603270500t2eaf3082y821e4b6b9dac9855@mail.gmail.com> Date: Mon, 27 Mar 2006 15:00:41 +0200 From: "Stefan Guggisberg" To: dev@jackrabbit.apache.org Subject: Re: Strange non-failure error during unit testing In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N hi mark thanks for reporting this issue! it's indeed a bug. i fixed it in svn r389129. cheers stefan On 3/25/06, Mark Slater wrote: > I'm not sure if this matters (as in, for all I know, its a hiccup in > the JVM and nothing to do with Jackrabbit at all), but I just got a > very strange error in the test phase of the build process: > > [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: > 0.359 sec > [junit] Running org.apache.jackrabbit.test.api.lock.TestAll > [junit] Tests run: 23, Failures: 0, Errors: 0, Time elapsed: > 6.813 sec > [junit] Exception in thread "Thread-4" > java.util.NoSuchElementException > [junit] at > org.apache.commons.collections.map.AbstractReferenceMap > $ReferenceEntrySetIterator.nextEntry(AbstractReferenceMap.java:772) > [junit] at > org.apache.commons.collections.map.AbstractReferenceMap > $ReferenceValuesIterator.next(AbstractReferenceMap.java:829) > [junit] at org.apache.jackrabbit.core.RepositoryImpl.shutdown > (RepositoryImpl.java:858) > [junit] at > org.apache.jackrabbit.core.jndi.BindableRepository.shutdown > (BindableRepository.java:257) > [junit] at org.apache.jackrabbit.core.jndi.BindableRepository > $1.run(BindableRepository.java:133) > [junit] Running org.apache.jackrabbit.test.api.nodetype.TestAll > [junit] Tests run: 99, Failures: 0, Errors: 0, Time elapsed: > 24.768 sec > [junit] Running org.apache.jackrabbit.test.api.observation.TestAll > [junit] Tests run: 40, Failures: 0, Errors: 0, Time elapsed: > 10.539 sec > > There were no errors that I could find before this, or after it, and > no mention was made of it in any JUnit output files or log files that > I could find. At the end, maven reported a successful build. > > I'm not particularly worried about it... a build I did just a few > minutes before had no errors. The only thing that changed between the > two was the removal of some logging statements in > CustomNodeTypeConfig (I was trying to track down a null input stream > exception). > > On one hand I thought about dismissing this out of hand since it > doesn't seem to be reproducible (I tried a few times), but on the > other, some of the nastiest bugs I've ever had to track down were > sporadic and only showed up once in a very long while. > > Mark >