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 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |1.6 ------- Additional Comments From [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]