commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Legner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VFS-241) Unable to download file if saved in FTP root directory
Date Wed, 16 Sep 2015 20:27:45 GMT

    [ https://issues.apache.org/jira/browse/VFS-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14791076#comment-14791076
] 

Simon Legner commented on VFS-241:
----------------------------------

I can no longer reproduce
`VFS.getManager().resolveFile("ftp://0.0.0.0:2121/bar")` works nicely.

> 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: 2.0
>         Environment: WIndows XP, Linux
>            Reporter: Michal Ruman
>         Attachments: AbstractFileObject.java
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message