Windows job object cannot be modified and saved. AWI shows 'Error'.

book

Article ID: 212126

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

A Windows job object cannot be modified and saved. As soon as the Save button is clicked the AWI shows the following screen.

The xml export shows this text as title of the Windows job:

<Title>Some&#129;text&#129;here&#129;that&#129;does&#129;not&#129;work.</Title>

The title is displayed as:

Cause

Special characters in the tile General --> Title field.

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Resolution

Remove the special character(s) &#129 and the object can be saved.

<Title>Some text here that does not work.</Title>

Additional Information

The AWI throws this exception:

2021-04-06 17:57:08,430 http-nio-8080-exec-3   [ERROR] AUTOMIC:100/USER/DEPARTMENT 0 0000000001769067  [com.uc4.webui.common.errorhandling.Safe] -  Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpc
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:513)
	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.Servlet30CometSupport.service(Servlet30CometSupport.java:66)
	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.container.JSR356Endpoint$1.onMessage(JSR356Endpoint.java:214)
	at org.atmosphere.container.JSR356Endpoint$1.onMessage(JSR356Endpoint.java:211)
	at org.apache.tomcat.websocket.WsFrameBase.sendMessageText(WsFrameBase.java:395)
	at org.apache.tomcat.websocket.server.WsFrameServer.sendMessageText(WsFrameServer.java:119)
	at org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:495)
	at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:294)
	at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:133)
	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:82)
	at org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:171)
	at org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:151)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:148)
	at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:54)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:836)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException: null
	at jdk.internal.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:158)
	... 38 common frames omitted
Caused by: com.vaadin.event.ListenerMethod$MethodException: Invocation of method buttonClick in com.uc4.ecc.ae.commons.content.uc4objectview.UC4ObjectView$2 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)
	... 42 common frames omitted
Caused by: java.lang.NullPointerException: null
	at com.uc4.ecc.ae.sheet.prompts.promptset.PromptsComponentView.updateToDescriptionObjects(PromptsComponentView.java:249)
	at com.uc4.ecc.ae.sheet.prompts.promptset.PromptsSheetComponentPresenter.transferUIStateIntoModel(PromptsSheetComponentPresenter.java:117)
	at com.uc4.ecc.ae.sheet.prompts.promptset.PromptsComponentView.transferUIStateIntoModel(PromptsComponentView.java:192)
	at com.uc4.ecc.ae.sheet.prompts.PromptsSheet.transferUIStateIntoModel(PromptsSheet.java:163)
	at com.uc4.ecc.ae.sheet.prompts.PromptsSheetPresenter.transferUIStateIntoModel(PromptsSheetPresenter.java:61)
	at com.uc4.ecc.ae.commons.content.uc4objectview.UC4ObjectPresenter.requestSave(UC4ObjectPresenter.java:723)
	at com.uc4.ecc.ae.commons.content.uc4objectview.UC4ObjectView$2.buttonClick(UC4ObjectView.java:266)
	at jdk.internal.reflect.GeneratedMethodAccessor120.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
	... 47 common frames omitted

Attachments