ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24440] - ftp task, rmdir fails with NullPointerException if target directory is empty
Date Wed, 05 Nov 2003 22:07:53 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24440>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24440

ftp task, rmdir fails with NullPointerException if target directory is empty

antoine@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.6



------- Additional Comments From antoine@apache.org  2003-11-05 22:07 -------
I have prevented the procedure checkRemoteSensitivity from throwing a NPE if the
array of FTPFile is null.
I was not able to reproduce the bug on my site :
the build does not fail if the remotedirectory exists and is empty.
the build fails if the remote directory does not exist like
<ftp ... remotedir="/nirvana" .../> but then the stack trace is different and a
BuildException has been thrown.
Which version of commons-net.jar are you using ?
Cheers,
Antoine

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message