[
https://issues.apache.org/jira/browse/VFS-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17680837#comment-17680837
]
Hasan Diwan commented on VFS-831:
---------------------------------
A little more investigation showed I didn't have Jcsh in pom.xml. Inserted it,
the same error message lead me to add commons-lang3 3.12, overriding the
managed version 3.10, as it was complaining about DurationUtils. Added this,
and it's complaining about LONG_INT_MIN_VALUE. This appears to be indicating
NumberUtils.LONG_INT_MIN_VALUE, which is shown as being [equivalent to
Long.valueOf(Integer.MAX_VALUE)](https://github.com/apache/commons-lang/blob/master/src/main/java/org/apache/commons/lang3/math/NumberUtils.java).
And, now I'm stuck and am giving up for today.
> 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)