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

Gary D. Gregory commented on VFS-797:
-------------------------------------

Hi [~alir3]

Do you have a reproducible test we can run?

Is com.bsc.intg.svcs.core.vfs.BSCVFSProvider your code or is the source 
available?

2.2 to 2.7.0 is a big jump, may you try intermediate versions to narrow it down?

TY for you report.

> 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"
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: VFS-797
>                 URL: https://issues.apache.org/jira/browse/VFS-797
>             Project: Commons VFS
>          Issue Type: Bug
>            Reporter: Raghib Ali
>            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://usw2bscssisdumps.core.windows.net/devexports/AgreementPrice".Caused 
> by: org.apache.commons.vfs2.FileSystemException: Could not find files in 
> "azsb://usw2bscssisdumps.core.windows.net/devexports/AgreementPrice". 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)
>  at 
> com.bsc.intg.svcs.core.vfs.BSCVFSProvider.listFiles(BSCVFSProvider.java:234) 
> at 
> com.bsc.intg.svcs.core.vfs.BSCVFSListenerContainer.process(BSCVFSListenerContainer.java:142)
>  ... 3 common frames omitted
>  
> Caused by: org.apache.commons.vfs2.FileSystemException: Invalid descendent 
> file name ".//devexports/AgreementPrice/ECPServiceConfig.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.3.4#803005)

Reply via email to