Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 65556 invoked from network); 13 Dec 2000 08:15:38 -0000 Received: from bodewig.bost.de (root@195.227.98.11) by locus.apache.org with SMTP; 13 Dec 2000 08:15:38 -0000 Received: (from bodewig@localhost) by bodewig.bost.de (8.9.3/8.9.3) id JAA02204; Wed, 13 Dec 2000 09:15:38 +0100 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-user@jakarta.apache.org Subject: Re: Ant does not build my sources (Tomcat 3.2) References: <3A3637CA.B8A3A4F3@in.ibm.com> From: Stefan Bodewig Date: 13 Dec 2000 09:15:38 +0100 In-Reply-To: Ashish Kundu's message of "Tue, 12 Dec 2000 20:05:54 +0530" Message-ID: Lines: 27 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Ashish Kundu wrote: > The Ant1.3alpha, that comes with Tomcat 3.2 is complaining with the > following output. Tomcat 3.2 ships with an alpha version of Ant? Strange. > java.lang.reflect.InvocationTargetException: > java.lang.NullPointerException at > org.apache.tools.ant.taskdefs.Property.execute(Property.java:150) at > java.lang.reflect.Method.invoke(Native Method) at > org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:82) at This is extremely strange as well. Line 150 is a blank line in my version of Property.java. Which date has the version of Ant been compiled on? What's really strange here is that Ant thinks Property would not be a subclass of Task - this is indicated by the TaskAdapter line above. It seems as if org.apache.tools.ant.taskdefs.Property and org.apache.tools.ant.taskdefs.Task have been loaded by different classloaders. Is this a stand alone invocation of Ant or are you running Ant inside another application (like Tomcat)? Stefan