RA Web Service Agent crashes with StringIndexOutOfBoundsException

book

Article ID: 87714

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
java.lang.StringIndexOutOfBoundsException: String index out of range: 4

The Web Service Agent crashes with a StringIndexOutOfBoundsException on start or restart.

The program error happens because the OCV_Value of an encrypted field is 2048.
This is longer than the allowed limit of 1024.

This could happen due in various scenarios, such changes in host attributes, initiating connection to the cp and every operation using encrypted values.

Cause

Cause type:
Defect
Root Cause: The program error happens because the OCV_Value of an encrypted field is 2048 which is longer than the allowed limit of 1024.
The RA Agent should still start in this case. Therefore the check should only log the error.

Environment

Release: AUTWAB99000-11.0-Automic Workload Automation-Base Edition
Component:

Resolution

This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: Released

Fix Version(s):
Component: Initial Data and Automation Engine
Automation Engine 11.2.3 - Available

Additional Information

Workaround :
N/A