Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 19027 invoked from network); 6 Feb 2008 12:28:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2008 12:28:15 -0000 Received: (qmail 12131 invoked by uid 500); 6 Feb 2008 12:28:04 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 12099 invoked by uid 500); 6 Feb 2008 12:28:04 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 12072 invoked by uid 99); 6 Feb 2008 12:28:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2008 04:28:04 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2008 12:27:56 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 80A20714087; Wed, 6 Feb 2008 04:27:48 -0800 (PST) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 44368] New: - NPE in Sort Message-ID: X-Bugzilla-Reason: AssignedTo Date: Wed, 6 Feb 2008 04:27:48 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=44368 Summary: NPE in Sort Product: Ant Version: 1.7.0 Platform: All OS/Version: All Status: NEW Severity: critical Priority: P2 Component: Core AssignedTo: notifications@ant.apache.org ReportedBy: rruiz@gridsystems.com I am experiencing this error in some of my projects: java.lang.NullPointerException at org.apache.tools.ant.types.resources.Sort$SortedBag$MutableInt.access$100(Sort.java:44) at org.apache.tools.ant.types.resources.Sort$SortedBag$MyIterator.next(Sort.java:60) at org.apache.tools.ant.types.resources.FailFast.next(FailFast.java:115) at org.apache.tools.ant.taskdefs.DependSet.uptodate(DependSet.java:233) at org.apache.tools.ant.taskdefs.DependSet.execute(DependSet.java:202) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect... The exception is thrown when some specific jars are included in a task, but only at certain positions. If I move those jars up or down in the list, the error disappears. Looking at the source code, it looks like a case of concurrent modification in Sort$SortedBag, but I have been unable to find out why or where. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.