RA Web Service Agent crashes with StringIndexOutOfBoundsException

Document ID : KB000087714
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
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.
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