WP crashes with 'Error occurred: invalid stoi argument' when a certain Event is executed
search cancel

WP crashes with 'Error occurred: invalid stoi argument' when a certain Event is executed

book

Article ID: 279520

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

An issue where the WPs of a system would crash one after the other in case they execute a certain Event, the last message in the log files is 

20230120/083553.786 - Error occurred: invalid stoi argument

Environment

AE 21.0.4+hf.2

Cause

The root cause has been identified to be the format of the initial value of the date field:

 

During the processing of PROMPT the CHKPROMPT_VALUE is called.
the value of OPSE_XUI contains the value as initialized from the calender as
  

                  00000270  7472793E 3C656E74 7279206E 616D653D  >try><entry name=<                                00000280  22696E69 7476616C 7565223E 32303230  >"initvalue">2020<                                00000290  2D31302D 30353C2F 656E7472 793E3C2F  >-10-05</entry></<

format is YYYY-MM-DD but the expected is YYYYMMDD.

Resolution

Fixed in Automation.Engine 21.0.6, Automation.Engine 24.0.0, Automation.Engine 21.0.5 HF2