You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "New User (Jira)" <ji...@apache.org> on 2022/06/24 15:07:00 UTC

[jira] [Updated] (VFS-797) JIRA Fix VFS-741 is causing an error in reading the files from azure host using azsb protocol. Error is: org.apache.commons.vfs2.FileSystemException: Invalid descendent file name ".//somepath/subfolder/file.txt"

     [ https://issues.apache.org/jira/browse/VFS-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

New User updated VFS-797:
-------------------------
    Summary: JIRA Fix VFS-741 is causing an error in reading the files from azure host using azsb protocol.        Error is: org.apache.commons.vfs2.FileSystemException: Invalid descendent file name ".//somepath/subfolder/file.txt"  (was: JIRA Fix VFS-741 is causing an error in reading the files from azure host using azsb protocol.        Error is: org.apache.commons.vfs2.FileSystemException: Invalid descendent file name ".//devexports/AgreementPrice/ECPServiceConfig.txt")

> JIRA Fix VFS-741 is causing an error in reading the files from azure host using azsb protocol.        Error is: org.apache.commons.vfs2.FileSystemException: Invalid descendent file name ".//somepath/subfolder/file.txt"
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: VFS-797
>                 URL: https://issues.apache.org/jira/browse/VFS-797
>             Project: Commons VFS
>          Issue Type: Bug
>            Reporter: New User
>            Assignee: Gary D. Gregory
>            Priority: Blocker
>
> I have updated the VFS version to from 2.2 to 2.7.0. Since then I have been getting an error for my  application in reading the files from azure host using 'azsb' protocol. By default, it adds the prefix ./ in the filename which is throwing an exception in resolving the filename.
>  
> The error that is thrown is as below:
> Caused by: org.apache.commons.vfs2.FileSystemException: Could not find files in "azsb://somehost/somepath/subfolder".Caused by: org.apache.commons.vfs2.FileSystemException: Could not find files in "azsb://somehost/somepath/subfolder". at org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1015) at org.apache.commons.vfs2.provider.AbstractFileObject.listFiles(AbstractFileObject.java:1663) at org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:990)
>  
> Caused by: org.apache.commons.vfs2.FileSystemException: Invalid descendent file name ".//somepath/subfolder/file.txt". at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:806) at org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1116) at org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:93) at org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1012) ... 7 common frames omitted
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)