AWA: Cancelled BS2000 Job gets an exception when trying to modify

book

Article ID: 143647

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation CA Automic Operations Manager CA Automic Oracle

Issue/Introduction

When starting a workflow with a BS2000 Job that is cancelled and then restarted with modify, when the changes are saved the following is displayed:

[controls.messageprovider.MessageProvider] - Error message shown to user: Ein unerwarteter Fehler ist aufgetreten. Weitere Details sind in den Logdateien verfügbar.
com.vaadin.server.ServerRpcManager$RpcInvocationException: Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpc
at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:162)
at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:119)
at com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:437)
at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:402)
at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273)
at com.vaadin.server.communication.PushHandler$2.run(PushHandler.java:148)
at com.vaadin.server.communication.PushHandler.callWithUi(PushHandler.java:240)
at com.vaadin.server.communication.PushHandler.onMessage(PushHandler.java:494)
at com.vaadin.server.communication.PushAtmosphereHandler.onMessage(PushAtmosphereHandler.java:87)
at com.vaadin.server.communication.PushAtmosphereHandler.onRequest(PushAtmosphereHandler.java:77)
at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:199)
at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:107)
at org.atmosphere.container.TomcatWebSocketUtil.doService(TomcatWebSocketUtil.java:154)
at org.atmosphere.container.Tomcat7Servlet30SupportWithWebSocket.service(Tomcat7Servlet30SupportWithWebSocket.java:62)
at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2075)
at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:571)
at org.atmosphere.websocket.DefaultWebSocketProcessor$3.run(DefaultWebSocketProcessor.java:333)
at org.atmosphere.util.VoidExecutorService.execute(VoidExecutorService.java:101)
at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:328)
at org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:425)
at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatchReader(DefaultWebSocketProcessor.java:795)
at org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:527)
at org.atmosphere.container.TomcatWebSocketHandler.onTextData(TomcatWebSocketHandler.java:104)
at org.apache.catalina.websocket.StreamInbound.doOnTextData(StreamInbound.java:191)
at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:139)
at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:88)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:633)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1775)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1734)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException: null
at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:158)
... 32 common frames omitted
Caused by: com.vaadin.event.ListenerMethod$MethodException: Invocation of method buttonClick in com.uc4.ecc.framework.commons.dialogs.close.ContentViewCloseOptionPane$1 failed.
at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:533)
at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:200)
at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:163)
at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1015)
at com.vaadin.ui.Button.fireClick(Button.java:377)
at com.vaadin.ui.Button$1.click(Button.java:54)
... 36 common frames omitted
Caused by: java.lang.reflect.UndeclaredThrowableException: null
at com.sun.proxy.$Proxy488.onSaveAndClose(Unknown Source)
at com.uc4.ecc.framework.commons.dialogs.close.ContentViewCloseOptionPane$1.buttonClick(ContentViewCloseOptionPane.java:67)
at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
... 41 common frames omitted
Caused by: java.lang.reflect.InvocationTargetException: null
at sun.reflect.GeneratedMethodAccessor1395.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.uc4.webui.common.observable.InternalObservable.lambda$new$0(InternalObservable.java:26)
... 47 common frames omitted
Caused by: java.lang.IllegalArgumentException: Order name too long (8):9
at com.uc4.api.objects.AttributesBS2000.setOrderName(AttributesBS2000.java:311)
at com.uc4.ecc.ae.sheet.jobs.bs2000.runtime.options.BS2000RuntimeOptionsModel.updateApi(BS2000RuntimeOptionsModel.java:37)
at com.uc4.ecc.ae.sheet.jobs.bs2000.runtime.options.BS2000RuntimeOptionsPresenter.transferModelIntoApiModel(BS2000RuntimeOptionsPresenter.java:28)
at com.uc4.ecc.ae.sheet.jobs.bs2000.runtime.options.BS2000RuntimeOptionsView.transferModelIntoApiModel(BS2000RuntimeOptionsView.java:108)
at com.uc4.ecc.ae.sheet.jobs.bs2000.JobsBS2000Sheet.transferUIStateIntoModel(JobsBS2000Sheet.java:83)
at com.uc4.ecc.ae.commons.content.uc4objectview.UC4ObjectPresenter.requestSave(UC4ObjectPresenter.java:654)
at com.uc4.ecc.ae.commons.content.uc4objectview.UC4ObjectView.save(UC4ObjectView.java:562)
at com.uc4.ecc.framework.entrypoint.core.windows.TabView.saveChangesOnTabClose(TabView.java:205)
at com.uc4.ecc.framework.entrypoint.core.windows.TabPresenter$1.onSaveAndClose(TabPresenter.java:128)
... 51 common frames omitted
 

Environment

Release : 12.2

Component : AUTOMATION ENGINE

Resolution

This is resolved in:

Automation.Engine 12.1.7,
Automation.Engine 12.2.5,
Automation.Engine 12.3.2