Java OutofBounds Exception on RA FTP jobs when selecting Connection Object

Document ID : KB000087800
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
java.lang.ArrayIndexOutOfBoundsException: 205

The RA FTP agent will not establish a connection via the FTP tab's Connection Objects. When selecting any connection object, the above error is received.
 
Cycling the Agent manually or via Service Manager does not resolve the issue.
 
Cause:
Cause type:
Configuration
Root Cause: The ArrayIndexOutOfBoundsException is a RuntimeException thrown only at runtime. This has been shown to happen in Automic when something is corrupted or invalid in the known_hosts file on the RA FTP Agent's machine (usually in the .ssh\ directory).
Resolution:
Make a *copy* of the known_hosts file and place it elsewhere (aside from C:\.ssh\known_hosts on the Agent machine). Remove all information in the .ssh\known_hosts file. This results in a blank known_hosts file, but with the data still retained elsewhere. Attempt to make a connection from within the job and, if successful, execute a simple test to verify as well as populate the known_hosts file, contained in the .ssh\ directory.

Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
N/A