[jira] [Commented] (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 descen

2021-11-25 Thread Gary D. Gregory (Jira)


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

Gary D. Gregory commented on VFS-797:
-

Hello [~alir3],

Do you have an update on this issue? Note that our current release is 2.9.0.

> 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
>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://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.20.1#820001)


[jira] [Commented] (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 descen

2021-03-12 Thread Gary D. Gregory (Jira)


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

Gary D. Gregory commented on VFS-797:
-

I did not say that. You asked "I am not sure in which version of vfs the fix 
VFS-741 was made." All I did is look at the ticked and pointed out what you can 
see as well: the ticket is marked as 2.5.0. So you probably can start testing 
with 2.5.0 and up if you want VFS-741.

It would be easier to help if you could provide a test that any one can run to 
reproduce the issue you are seeing. 

I understand this may be a challenge since you have custom code in the middle 
of the stack.

> 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
>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://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)


[jira] [Commented] (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 descen

2021-03-12 Thread Raghib Ali (Jira)


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

Raghib Ali commented on VFS-797:


you mean to say that in version 2.5.0, we are not adding the './' prefix in 
file name by default?. 

> 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
>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://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)


[jira] [Commented] (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 descen

2021-03-12 Thread Gary D. Gregory (Jira)


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

Gary D. Gregory commented on VFS-797:
-

 If you look at VFS-741 you will see it is marked resolved in {{2.5.0}}.

> 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
>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://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)


[jira] [Commented] (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 descen

2021-03-12 Thread Raghib Ali (Jira)


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

Raghib Ali commented on VFS-797:


Hi Gary,

Thanks for your response. Please find my answers below:

Do you have a reproducible test we can run? I am using private azure host for 
my testing. Its available only on the private network.

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

2.2 to 2.7.0 is a big jump, may you try intermediate versions to narrow it 
down?. I am not sure in which version of vfs the fix VFS-741 was made. is it 
possible to resolve the issue in 2.7.0?.

> 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)


[jira] [Commented] (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 descen

2021-03-11 Thread Gary D. Gregory (Jira)


[ 
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)