[
https://issues.apache.org/jira/browse/VFS-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17680847#comment-17680847
]
Hasan Diwan commented on VFS-831:
---------------------------------
The original issue was that the URL given -- sftp://
[email protected]/var/tmp/reminders.json.xz - threw an Exception, so
the VM fell through to /var/tmp/reminders.json.xz, which was then not
found, the reason being that the file exists at the remote location --
shown by the ls listing. The jscp dependency isn't automatically fetched --
I added it to my pom manually, ditto commons-lang3, The JVM is now throwing
problem with NumberUtils' constants. -- H
On Wed, 25 Jan 2023 at 16:43, Bernd Eckenfels (Jira) <[email protected]>
--
OpenPGP: https://hasan.d8u.us/openpgp.asc
If you wish to request my time, please do so using
*bit.ly/hd1AppointmentRequest
<http://bit.ly/hd1AppointmentRequest>*.
Si vous voudrais faire connnaisance, allez a *bit.ly/hd1AppointmentRequest
<http://bit.ly/hd1AppointmentRequest>*.
<https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1>Sent
from my mobile device
Envoye de mon portable
> No such file or directory
> -------------------------
>
> Key: VFS-831
> URL: https://issues.apache.org/jira/browse/VFS-831
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 2.9.0
> Environment: OpenJDK 14 FreeBSD 13.1-RELEASE
> Reporter: Hasan Diwan
> Priority: Blocker
> Attachments: id_ecdsa.pub
>
>
> % ls -l /var/tmp/reminders.json.xz
> -rw-r--r-- 1 ec2-user wheel 32 Jan 25 19:28 /var/tmp/reminders.json.xz
> % hostname
> FileContent content =
> manager.resolveFile("/var/tmp/reminders.json.xz").getContent();
> throws an "org.apache.commons.vfs2.FileNotFoundException: Could not read from
> "file:///var/tmp/reminders.json.xz" because it is not a file."
> When I try accessing it with "sftp", it gives:
> org.apache.commons.vfs2.FileSystemException: Could not find file with URI
> "sftp://[email protected]//var/tmp/reminders.json.xz" because it is a
> relative path, and no base URI was provided.
> It gives the same if I eliminate the double slash in the URL as well.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)