Java OutofBounds Exception on RA FTP jobs when selecting Connection Object
search cancel

Java OutofBounds Exception on RA FTP jobs when selecting Connection Object

book

Article ID: 87800

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

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.
 

Environment

Release: AOMVMW99000-4.0-Automic-Operations Manager-VMware vCenter Agent
Component:

Product: Automic Workload Automation

Component: RA-FTP

Release: 21.0.X

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