commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirill Safonov (JIRA)" <>
Subject [jira] Created: (VFS-298) FTP: Exception is thrown when renaming a file
Date Wed, 03 Feb 2010 16:43:27 GMT
FTP: Exception is thrown when renaming a file

                 Key: VFS-298
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: Nightly Builds
            Reporter: Kirill Safonov

	at java.util.Collections$UnmodifiableMap.remove(
	at org.apache.commons.vfs.provider.ftp.FtpFileObject.onChildrenChanged(
	at org.apache.commons.vfs.provider.AbstractFileObject.childrenChanged(
	at org.apache.commons.vfs.provider.AbstractFileObject.notifyParent(
	at org.apache.commons.vfs.provider.AbstractFileObject.handleDelete(
	at org.apache.commons.vfs.provider.AbstractFileObject.moveTo(

FtpFileObject.children may be an EMPTY_FTP_FILE_MAP if the last ls() returned empty collection.
This is the case for the move untitled36/src/com/test/ -> untitled36/src/

> CWD /opt/lampp/htdocs/ftp_root
250 Directory successfully changed.
> RNFR untitled36/src/com/test/
350 Ready for RNTO.
> RNTO untitled36/src/
250 Rename successful.
257 "/opt/lampp/htdocs/ftp_root"
> CWD untitled36/src/com/test
250 Directory successfully changed.
> PORT 192,168,0,112,51,217
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
226 Directory send OK.

(LIST returned no children)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message