My Oracle Support Banner

Exception Caught In SFTP Subsystem: Java.lang.StringIndexOutOfBoundsException (Doc ID 2311320.1)

Last updated on NOVEMBER 01, 2022

Applies to:

Oracle API Gateway - Version 11.1.2.1.0 and later
Information in this document applies to any platform.

Symptoms

Having problems with the SFTP / FTP part of OAG.  The following error is being seen in the trace log:

java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:658)
at org.apache.sshd.server.filesystem.NativeSshFile.getPhysicalName(NativeSshFile.java:457)
at com.vordel.fileservice.sftp.CustomFileSystemView.getFile(CustomFileSystemFactory.java:112)
at com.vordel.fileservice.sftp.CustomFileSystemView.getFile(CustomFileSystemFactory.java:99)
at org.apache.sshd.server.sftp.SftpSubsystem.resolveFile(SftpSubsystem.java:1001)
at org.apache.sshd.server.sftp.SftpSubsystem.process(SftpSubsystem.java:608)
at org.apache.sshd.server.sftp.SftpSubsystem.run(SftpSubsystem.java:370)
at java.lang.Thread.run(Thread.java:745)

Restarting or deploying any change seems to fix the problem for some time but the problem eventually returns.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.