Thrameos commented on PR #314:
URL: https://github.com/apache/mina-sshd/pull/314#issuecomment-1397660577

   For reference here is the log with this code being exercised.
   
   ```
   2023/01/19 13:52:38,097 [sshd-SftpSubsystem-61352-thread-1] DEBUG 
SftpSubsystem  - doRealPath(ServerSessionImpl[test@/127.0.0.1:51365])[id=1] 
SSH_FXP_REALPATH (path=.)
   2023/01/19 13:52:38,187 [sshd-SftpSubsystem-61352-thread-1] DEBUG 
SftpSubsystem  - 
doSendStatus[ServerSessionImpl[test@/127.0.0.1:51365]][id=1,cmd=16] exception
   java.lang.RuntimeException
        at org.testing.MyFileSystem.getSeparator(MyFileSystem.java:68)
        at 
org.apache.sshd.common.util.SelectorUtils.translateToLocalFileSystemPath(SelectorUtils.java:545)
        at 
org.apache.sshd.sftp.server.SftpFileSystemAccessor.resolveLocalFilePath(SftpFileSystemAccessor.java:113)
        at 
org.apache.sshd.sftp.server.AbstractSftpSubsystemHelper.resolveFile(AbstractSftpSubsystemHelper.java:3029)
        at 
org.apache.sshd.sftp.server.AbstractSftpSubsystemHelper.doRealPath(AbstractSftpSubsystemHelper.java:1444)
        at 
org.apache.sshd.sftp.server.AbstractSftpSubsystemHelper.doProcess(AbstractSftpSubsystemHelper.java:392)
        at 
org.apache.sshd.sftp.server.SftpSubsystem.doProcess(SftpSubsystem.java:327)
        at 
org.apache.sshd.sftp.server.AbstractSftpSubsystemHelper.process(AbstractSftpSubsystemHelper.java:344)
        at org.apache.sshd.sftp.server.SftpSubsystem.run(SftpSubsystem.java:303)
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at java.base/java.lang.Thread.run(Thread.java:832)
   2023/01/19 13:52:38,191 [sshd-SftpSubsystem-61352-thread-1] DEBUG 
SftpSubsystem  - doSendStatus(ServerSessionImpl[test@/127.0.0.1:51365])[id=1] 
SSH_FXP_STATUS (substatus=SSH_FX_FAILURE, lang=, msg=General failure)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to