ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <tomcat-b...@cortexity.com>
Subject BugRat Report #587 has been filed.
Date Wed, 13 Dec 2000 11:43:09 GMT
Bug report #587 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/587>

REPORT #587 Details.

Project: Ant
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: medium
Severity: serious
Confidence: public
Environment: 
   Release: Ant 1.2
   JVM Release: Sun JDK1.1.8
   Operating System: Solaris
   OS Release: 2.7
   Platform: Sparc

Synopsis: 
NullPointerException while Deleting a directory.

Description:
I apologize if this has been already reported. But could
not find anything on this when searched the bug report
database.

On an Unix platform,
When the directory cannot be deleted by the delete task,
ant throws a NullPointerException:

nikhild@localhost:~/src/TEST>ant clean
Searching for build.xml ...
Buildfile: /home/nikhild/src/TEST/build.xml

clean:
   [delete] Deleting directory /home/nikhild/src/TEST/lib/classes

BUILD FAILED

java.lang.NullPointerException
        at org.apache.tools.ant.taskdefs.Delete.removeDir(Compiled Code)
        at org.apache.tools.ant.taskdefs.Delete.execute(Compiled Code)
        at org.apache.tools.ant.Target.execute(Compiled Code)
        at org.apache.tools.ant.Project.runTarget(Compiled Code)
        at org.apache.tools.ant.Project.executeTarget(Compiled Code)
        at org.apache.tools.ant.Project.executeTargets(Compiled Code)
        at org.apache.tools.ant.Main.runBuild(Compiled Code)
        at org.apache.tools.ant.Main.main(Compiled Code)

Total time: 0 seconds
nikhild@localhost:~/src/TEST>

Mime
View raw message