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: [EMAIL PROTECTED]:~/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 [EMAIL PROTECTED]:~/src/TEST>Title: BugRat Report # 587
BugRat Report # 587
| Project: Ant | Release: Ant 1.2 |
| Category: Bug Report | SubCategory: New Bug Report |
| Class: swbug | State: received |
| Priority: medium | Severity: serious |
|
Confidence:
public
|
Submitter:
Nikhil R. Deshpande ( [EMAIL PROTECTED] )
Date Submitted:
Dec 13 2000, 05:43:09 CST
Responsible:
Z_Ant Alias ( [EMAIL PROTECTED] )
- Synopsis:
- NullPointerException while Deleting a directory.
- Environment: (jvm, os, osrel, platform)
- Sun JDK1.1.8, Solaris, 2.7, Sparc
- Additional Environment Description:
- None.
- Report 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: [EMAIL PROTECTED]:~/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 [EMAIL PROTECTED]:~/src/TEST>
- How To Reproduce:
- null
- Workaround:
- null
