Unable to download file if saved in FTP root directory
------------------------------------------------------
Key: VFS-241
URL: https://issues.apache.org/jira/browse/VFS-241
Project: Commons VFS
Issue Type: Bug
Affects Versions: 1.0
Environment: WIndows XP, Linux
Reporter: Michal Ruman
Problem with file downloading when file is saved in FTP root directory.
After clicking on download link get exception:
java.lang.NullPointerException
at
org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:272)
at
org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(AbstractFileSystem.java:267)
at
org.apache.commons.vfs.provider.AbstractFileObject.getParent(AbstractFileObject.java:512)
at
org.apache.commons.vfs.provider.ftp.FtpFileObject.getInfo(FtpFileObject.java:177)
at
org.apache.commons.vfs.provider.ftp.FtpFileObject.refresh(FtpFileObject.java:208)
at
org.apache.commons.vfs.impl.DecoratedFileObject.refresh(DecoratedFileObject.java:170)
at
org.apache.commons.vfs.cache.OnCallRefreshFileObject.getChild(OnCallRefreshFileObject.java:98)
...
Michal Ruman
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.