NotifyJobCompleted error

Run is not stopping even after “execution ended” messge.
Warnings displayed as below:
Execution: NotifyJobCompleted error System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.ThrowIfFaulted()
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object ins, Object outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at UiPath.Models.IExecutorContract.JobCompleted(String serializedInvokeCompleted)
at UiPath.Executor.RobotRunner.NotifyJobCompleted(Exception exception, IDictionary`2 outputs, ActivityInstanceState state) in: 00:00:26

Hi all,

I am facing the same issue. Have you found a solution for that?

Thanks in advance.

Yes. Main.xml (if from which run starts) should not have arguments in out direction. If there are out arguments, robot is infinitely waiting for outside variables to fetch those values.

4 Likes