Error: Converting string to numerical value is not possible during Automic CAU JRE Upgrade.
search cancel

Error: Converting string to numerical value is not possible during Automic CAU JRE Upgrade.

book

Article ID: 452802

calendar_today

Updated On:

Products

Automic Automation Automic SaaS

Issue/Introduction

A Centralized Agent Upgrade (CAU) for Automic agents fails with a runtime error when processing JRE packages. This occurs even when a valid JRE STORE object is present in Client 0.

Symptoms

  • The CAU process for Windows or Unix agents fails to initiate.
  • The following error is observed in the logs or the Automic Web Interface (AWI):

Runtime error in object 'CAU.DEPLOY', line '####': Converting string to numerical value is not possible. String '&04'.

  • The error occurs when multiple versions or non-standard naming conventions for JRE STORE objects exist in Client 0.

Environment

  • Product: Automic Automation Engine
  • Version: 26.X, 24.4.X
  • Component: Centralized Agent Upgrade (CAU)
  • OS: Linux, Unix, Windows

Cause

This behavior is caused by a software defect (DE210504) in the caudeploy routine. The get-build-number-from-store function fails to correctly extract build numbers when multiple JRE packages exist in the STORE. Specifically, a buffer handling issue allows leftover bytes from previous iterations to corrupt the numeric conversion of the build number string.

Resolution

This issue is targeted to be fixed in the following releases:

  • Automation Engine 24.4.6 - TBA
  • Automation Engine 26.1.0 - TBA

Workaround: If an upgrade is not immediately possible, follow these steps to resolve the error:

  1. Log in to Client 0.
  2. Locate the STORE objects used for CAU (e.g., PCK.AUTOMIC_CAU_JRE_UNIX.PRV.STORE).
  3. Identify and delete all old, duplicate, or non-standard STORE objects (such as those containing .hf.2. in the name).
  4. Ensure only the single latest version of the JRE package remains in the STORE.
  5. Re-run the CAU process.

For information on how to download these releases once available, see Download Broadcom Products and Software.

It is recommended to subscribe to this article (see Knowledge Article Subscription) to receive updates on the fix status.

Additional Information

  • To speak with a customer representative or a Support Engineer, see Contact Support. Scroll to the bottom of the page and click on your respective region.