search cancel

AWI: Stacktrace when entering invalid values in the Runtime Properties - MRT - Additional Duration

book

Article ID: 199475

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

If you enter a number between 100 and 999 in the Additional Duration field, a stacktrace error message appears. The field is located in the Task Properties under Runtime \ Maximum Runtime \ Real date + additional duration. It looks like you can save the object despite the error message. When saving, however, the last digit is truncated, so that a supposed 100 becomes 10.

If a invalid values is entered (more than two digit – >=100) a java stack error message pops up is displayed:

Java Stack Trace:

================================================================

Unable to invoke method updateValue in com.uc4.webui.vaadin.customwidgets.gwt.client.ui.spinner.SpinnerServerRpccom.vaadin.server.ServerRpcManager$RpcInvocationException
(No Message)java.lang.reflect.InvocationTargetException
Illegal value in Spinnerjava.lang.RuntimeException
Invocation of method valueChange in com.uc4.ecc.ae.sheet.runtime.common.MaximumRuntimeLayout$7 failed.com.vaadin.event.ListenerMethod$MethodException
Day Offset out of range (0 - 99):222java.lang.IllegalArgumentException
com.uc4.api.objects.MaximumRuntime.setMethodDate(MaximumRuntime.java:75)
com.uc4.ecc.ae.sheet.runtime.taskproperties.RuntimeTaskTabSheetModel.setMRTRuntimeValuesToTask(RuntimeTaskTabSheetModel.java:305)
com.uc4.ecc.ae.sheet.runtime.taskproperties.RuntimeTaskTabSheetModel.transferToTask(RuntimeTaskTabSheetModel.java:267)
com.uc4.ecc.ae.sheet.runtime.taskproperties.RuntimeTaskTabSheetPresenter.fireSheetChanged(RuntimeTaskTabSheetPresenter.java:84)
com.uc4.ecc.ae.sheet.runtime.taskproperties.RuntimeTaskTabSheetPresenter.onAdditionalDurationDaysChanged(RuntimeTaskTabSheetPresenter.java:160)
com.uc4.ecc.ae.sheet.runtime.taskproperties.RuntimeTaskTabSheet.onChangeMrtAdditionalDurationDays(RuntimeTaskTabSheet.java:236)
com.uc4.ecc.ae.sheet.runtime.common.MaximumRuntimeLayout$7.valueChange(MaximumRuntimeLayout.java:363)
sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
com.vaadin.event.EventRouter.fireEvent(EventRouter.java:200)
com.vaadin.event.EventRouter.fireEvent(EventRouter.java:163)
com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1015)
com.vaadin.ui.AbstractField.fireValueChange(AbstractField.java:1161)
com.vaadin.ui.AbstractField.setValue(AbstractField.java:571)
In JOBS properties : the java stack message pops up as long as a incorrect value is entered, saving is only possible if additional duration <100.
In TASKS properties (Workflow object): Java stack message pops up, while saving and the saved value is truncated so that only two digits remains.

================================================================

 

Same behavior can be observed when the same scenario is performed :

In JOBS General ==> Runtime ==> Maximum Runtime ==> Real date + additional duration
In TASKS properties Runtime ==> Maximum Runtime ==> Real date + additional duration

 

 

Environment

Release : 12.3 2 Component : AUTOMIC WEB INTERFACE

Cause

An inconsistency in validation of MRT Runtime Properties of Jobs was the root cause to this problem.

 

Resolution

This bug is fixed in version 12.3.3 of AWI.

With AWI 12.3.3 only values <=100 are authorized.

Upgrade to this Release, keep here also AE Version and AWI version aligned as this is necessary since AE/AWI 12.3.3.

Attachments