From ant-dev-return-38306-qmlist-jakarta-archive-ant-dev=jakarta.apache.org@jakarta.apache.org Wed Oct 02 16:00:49 2002 Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 11161 invoked from network); 2 Oct 2002 16:00:49 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 2 Oct 2002 16:00:49 -0000 Received: (qmail 25735 invoked by uid 97); 2 Oct 2002 16:01:28 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 25577 invoked by uid 97); 2 Oct 2002 16:01:27 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 25475 invoked by uid 98); 2 Oct 2002 16:01:26 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) To: Ant Developers List Subject: ant.jar (1.4 vs 1.5) Message-ID: <1033574432.3d9b1820a5a47@frominfra.canoo.com> Date: Wed, 02 Oct 2002 18:00:32 +0200 (CEST) From: detlef.brendle@canoo.com References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.4 X-Originating-IP: 192.168.0.3 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N hi, Im getting a rather strange error when using ant.jar from 1.4.1 The error occurs when I run the junit task. Testsuite: com.csg.pb.frontnet.dev_arch.AllTests Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec Caused an ERROR null java.lang.reflect.InvocationTargetException: java.lang.VerifyError: (class: com/csg/pb/frontnet/dev_arch/ant_util/ReflectionHelperGetTest, method: testFileSetIterator signature: ()V) Incompatible object argument for function call at com.csg.pb.frontnet.dev_arch.ant_util.AllTests.suite(AllTests.java:19) at com.csg.pb.frontnet.dev_arch.AllTests.suite(AllTests.java:19) at java.lang.reflect.Method.invoke(Native Method) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.(JUnitTestRunner.java:191) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.(JUnitTestRunner.java:156) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:407) And I have never seen such an error before (well before yesterday to be correct). If I put the new ant.jar from 1.5 on the classpath in front of the old one (i know this might be not a great idea anyhow - better to replace it totally) it works fine. Does anybody have a clue why this error occurs? Note: Im playing around with xerces.jar and other XMLParsers... (I suspect that this might be a problem) regards, detlef -- To unsubscribe, e-mail: For additional commands, e-mail: