JCP REST crashes using Modify on a running Workflow
search cancel

JCP REST crashes using Modify on a running Workflow

book

Article ID: 441380

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

When editing a running Workflow the REST process may crash when making multiple modifications.

Although the exact details of the modifications may differ the global steps are:

  • Adding an additional Task to the Workflow
  • Connecting the new Task to the existing Workflow elements with arrows
  • Deleting the arrows and editing in the new Task in a different spot 

One of the following errors appear in the JCP REST log file during editing, where java.util.Hash###.### is the common denominator:

20260323/154724.300 - 96     U00045014 Exception 'java.lang.StackOverflowError: "null"' at 'java.util.HashSet.add()'.
20260323/154724.300 - 96     U00003620 Routine 'com.automic.rest.provider.BaseExceptionMapper' forces trace because of error.
20260323/154724.311 - 96     U00003450 The TRACE file was opened with the switches '0000000000000000'.
20260323/154724.521 - 96     U00003449 Output to the TRACE file is finished.
20260507/143457.578 - 51     U00045014 Exception 'java.lang.StackOverflowError: "null"' at 'java.util.HashMap.putVal():627'.
20260507/143457.578 - 51     U00003620 Routine 'com.automic.rest.provider.BaseExceptionMapper' forces trace because of error.
20260507/143457.595 - 51     U00003450 The TRACE file was opened with the switches '0000000000000000'.
20260507/143457.657 - 51     U00003449 Output to the TRACE file is finished.

The following 2 lines are repeated 100+ times in the generated trace file:

<...>
20260507/143849.425 - 45         at com.automic.ert.model.impl.SimpleRuntimeGraph.updateSupposedStartTime(SimpleRuntimeGraph.java:185)
20260507/143849.425 - 45         at com.automic.ert.model.impl.SimpleRuntimeGraph.computePredecessorEstimatedTimeInMillis(SimpleRuntimeGraph.java:272)
20260507/143849.426 - 45         at com.automic.ert.model.impl.SimpleRuntimeGraph.updateSupposedStartTime(SimpleRuntimeGraph.java:185)
20260507/143849.426 - 45         at com.automic.ert.model.impl.SimpleRuntimeGraph.computePredecessorEstimatedTimeInMillis(SimpleRuntimeGraph.java:272)
<...>

 

After the modifications are saved and the Workflow is released the REST JCP crashes again with the following error:

20260507/143849.531 - 48     U00045014 Exception 'java.lang.StackOverflowError: "null"' at 'org.jgrapht.graph.specifics.DirectedSpecifics.getVertexSet():102'.
20260507/143849.531 - 48     U00003620 Routine 'com.automic.rest.provider.BaseExceptionMapper' forces trace because of error.
20260507/143849.550 - 48     U00003450 The TRACE file was opened with the switches '0000000000000000'.
20260507/143849.614 - 48     U00003449 Output to the TRACE file is finished.

Cause

DE192244

Resolution

Update to a fix version listed below or a newer version if available.

Fix version:
Component(s): Automation Engine

Automation.Engine 24.4.5 - Planned release July 2026
Automation.Engine 26.1.0 - Planned release July 2026

Additional Information

Public Title: JCP REST crashes when editing active monitor

Public Description: A problem has been fixed where the JCP REST process crashed with a StackOverflowError when a Workflow task was added to one position in a running Workflow and immediately moved to a different position by redrawing the connection arrows.