Raghib Ali created VFS-797:
------------------------------
Summary: JIRA Fix VFS-741 is causing an error in reading the files
from azure host using azsb protocol
Key: VFS-797
URL: https://issues.apache.org/jira/browse/VFS-797
Project: Commons VFS
Issue Type: Bug
Reporter: Raghib Ali
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)