search cancel

Autoforecast stuck in status "Preparing"

book

Article ID: 201493

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Autoforecast hangs after clicking on Recalculate in the Autoforecast screen but the expected message below is never received:
"Autoforecast data calculated from MM/DD/YYYY HH:MM to M/DD/YYYY HH:MM"

The following Exception appears in the JWP log:

02 - 20200828/103454.126 - 106    U00003434 Die Serverroutine 'ForecastMessageHandler/JFCST' benötigte '0' Minuten '6' Sekunden zur Durchführung.
02 - 20200828/103500.353 - 106              Unhandled Exception in thread MQWorker-1 ID=106
02 - 20200828/103500.353 - 106    U00045014 Fehler 'java.lang.NumberFormatException: "For input string: "0 ""' in 'java.lang.NumberFormatException.forInputString():76'.
02 - 20200828/103500.354 - 106    U00003620 Routine 'com.automic.kernel.impl.DefaultExceptionHandler' öffnet Zwangstrace wegen Fehler.
02 - 20200828/103500.359 - 106    U00003450 Die TRACE-Datei wurde mit den Schaltern '0000000000000000' geöffnet.
02 - 20200828/103501.939 - 106    U00003449 Die Ausgabe in die TRACE-Datei wurde beendet.

Cause

This is due to wrong values for the JPP_MrtTime inside some objects.

The values in JPP_MrtTime is supposed to be a 6-digit string, but when the issue occurs the value "0" is found.

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Resolution

Export and re-importing the JOBP object corrects the issue.

Already, in the xml-file of the export, the field MrtTime of the Task has the correct format (HH:MM).

(Note that using the Transport Case probably won't work, because this copies the content directly from the database).