[AWA] For input string: "4294967295" error when open Workflow monitor

book

Article ID: 131315

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

When opening about 50% of their Workflow Monitors, the customer is receiving the following stack trace:
2018-12-04 09:54:57,107 pool-2-thread-17 [ERROR] UC4P:1/KIR/ADMIN NOUI 0000001274214118 +493 [ntent.monitor.gwe.actions.LoadController] - Unhandled error while calculating ERT times. Not shown to user intentionally! 
java.lang.IllegalArgumentException: Unable to get ERT estimate: 1271775779 
     at com.uc4.ecc.backends.impl.dataservice.ert.ErtService.getLiveErtEstimation(ErtService.java:40) 
     at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.gwe.actions.LoadController.loadGraphicalMonitorItems(LoadController.java:142) 
     at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.gwe.actions.LoadController.loadWorkflowMonitor(LoadController.java:106) 
     at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.GraphicalWorkflowMonitorController.load(GraphicalWorkflowMonitorController.java:540) 
     at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.GraphicalWorkflowMonitorController.lambda$initRequestCoordinator$219(GraphicalWorkflowMonitorController.java:455) 
     at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$1.call(BaseRequestCoordinator.java:226) 
     at com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$CallableImplementation.call(ContextAwareExecutorService.java:72) 
     at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 
Caused by: com.uc4.ecc.backends.exceptions.AutomationEngineAPIException: [HTTP 500] (45110) An Automation Engine internal error occured.: No detail information available. 
     at com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:74) 
     at com.uc4.ecc.backends.dataservice.request.IRequestService$pbryglu.sendAndWait(Unknown Source) 
     at com.uc4.ecc.backends.impl.dataservice.ert.ErtService.getLiveErtEstimation(ErtService.java:37) 
     ... 10 common frames omitted 
Caused by: com.uc4.api.rest.exceptions.InternalServerErrorException: [HTTP 500] (45110) An Automation Engine internal error occured.: No detail information available. 
     at com.uc4.api.rest.common.requests.RestJsonRequest.handleDefaultErrors(RestJsonRequest.java:82) 
     at com.uc4.api.rest.common.requests.RestJsonRequest.handleErrorResponse(RestJsonRequest.java:59) 
     at com.uc4.api.rest.common.requests.RestRequest.handleResponse(RestRequest.java:36) 
     at com.uc4.api.rest.connection.RestConnection.sendRestRequestAndWait(RestConnection.java:135) 
     at com.uc4.api.rest.connection.RestConnection.sendRequestWithAuthAndWait(RestConnection.java:98) 
     at com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:72) 
     ... 12 common frames omitted
 
2018-12-04 09:54:57,107 pool-2-thread-52 [DEBUG] UC4P:1/KIR/ADMIN NOUI 0000001274214118 +493 [mework.core.async.BaseRequestCoordinator] - Instance 493: Error rendering query with hashCode 176231581: {}. 
java.lang.NumberFormatException: For input string: "4294967295" 
     at java.lang.NumberFormatException.forInputString(Unknown Source) 
     at java.lang.Integer.parseInt(Unknown Source) 
     at java.lang.Integer.parseInt(Unknown Source) 
     at com.uc4.ecc.plugins.ae.perspectives.common.gwe.GweEntityFactory.addActualTimes(GweEntityFactory.java:179) 
     at com.uc4.ecc.plugins.ae.perspectives.common.gwe.GweEntityFactory.updateEntity(GweEntityFactory.java:150) 
     at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.gwe.MonitorTaskMediator.wrapTask(MonitorTaskMediator.java:67) 
     at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.gwe.MonitorPlanMediator.ensureMediatorExistance(MonitorPlanMediator.java:498) 
     at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.gwe.MonitorPlanMediator.loadTasks(MonitorPlanMediator.java:481) 
     at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.gwe.MonitorPlanMediator.loadContentJOBP(MonitorPlanMediator.java:412) 
     at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.gwe.MonitorPlanMediator.loadContent(MonitorPlanMediator.java:197) 
     at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.gwe.WorkflowMonitorContentController.load(WorkflowMonitorContentController.java:344)
     at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.gwe.WorkflowMonitorContentController.load(WorkflowMonitorContentController.java:337) 
     at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.GraphicalWorkflowMonitorController.refreshMonitor(GraphicalWorkflowMonitorController.java:433) 
     at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.GraphicalWorkflowMonitorController.render(GraphicalWorkflowMonitorController.java:577) 
     at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.GraphicalWorkflowMonitorController$3.render(GraphicalWorkflowMonitorController.java:470) 
     at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.GraphicalWorkflowMonitorController$3.render(GraphicalWorkflowMonitorController.java:459) 
     at com.uc4.ecc.framework.core.async.MementoSafeRenderer.render(MementoSafeRenderer.java:28) 
     at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$4$1.run(BaseRequestCoordinator.java:450) 
     at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$RenderingStep.execute(BaseRequestCoordinator.java:624) 
     at com.uc4.ecc.framework.core.async.BaseRequestCoordinator.renderInGuiThread(BaseRequestCoordinator.java:360) 
     at com.uc4.ecc.framework.core.async.push.PushAsyncService$1.execute(PushAsyncService.java:205) 
     at com.uc4.ecc.framework.core.async.push.PushAsyncService$1.execute(PushAsyncService.java:200) 
     at com.uc4.ecc.framework.core.async.VaadinSessionLockUtil.exeuteLocked(VaadinSessionLockUtil.java:30) 
     at com.uc4.ecc.framework.core.async.push.PushAsyncService.readyForRendering(PushAsyncService.java:200) 
     at com.uc4.ecc.framework.core.async.BaseRequestCoordinator.fireReadyForRendering(BaseRequestCoordinator.java:644) 
     at com.uc4.ecc.framework.core.async.BaseRequestCoordinator.setRenderingStep(BaseRequestCoordinator.java:591) 
     at com.uc4.ecc.framework.core.async.BaseRequestCoordinator.access$1800(BaseRequestCoordinator.java:34) 
     at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$4.execute(BaseRequestCoordinator.java:442) 
     at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$4.execute(BaseRequestCoordinator.java:434) 
     at com.uc4.ecc.framework.core.async.VaadinSessionLockUtil.exeuteLocked(VaadinSessionLockUtil.java:38) 
     at com.uc4.ecc.framework.core.async.BaseRequestCoordinator.onResult(BaseRequestCoordinator.java:434) 
     at com.uc4.ecc.framework.core.async.BaseRequestCoordinator.access$900(BaseRequestCoordinator.java:34) 
     at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$2.onSuccess(BaseRequestCoordinator.java:238) 
     at com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$TimeoutListenerRunnerImplementation.run(ContextAwareExecutorService.java:113) 
     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
     at java.util.concurrent.FutureTask.run(Unknown Source) 
     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
     at java.lang.Thread.run(Unknown Source)

Cause

  • The real runtime of a process was computed as the difference from the starting time to the current time. If the time was out of sync by a few seconds, the real runtime was computed as a negative number, crashing the UI.

Environment

  • Automic Web Interface 12.2.1.GA02 

Resolution

This issue has been found and fixed in the following version with the availability dates:
  • Automation.Engine 12.0.8 - beginning of May 2019
  • Automation.Engine 12.1.5 - end of May 2019
  • Automation.Engine 12.2.3 - beggining of June 2019
  • Automation.Engine 12.3.0 - end of June 2019
Correction description:
  • A problem has been solved where the real runtime of a process was computed as the difference from the starting time to the current time. If the time was out of sync by a few seconds, the real runtime was computed as a negative number, crashing the UI. Now the time difference is checked for errors.

Additional Information

JIRA: AE-19555