Invoking Bot through RobotJS is not working within UiPath Robot

Invoking Robot thru RobotJS is not working as giving errors as below; And it works fine if systems has UiPath Studio. It seems some dependencies missing running in client machines.

Errors are below;

11:16:53.3174 => [ERROR] [UiPath.BrowserInvocation.RobotAPI.Listener.RequestHandlers.RobotProcesses] [6] Method:Handle - Message:Object reference not set to an instance of an object. - StackTrace: at UiPath.BrowserInvocation.Shared.Utilities.UiPathStudioUtility.GetServicePath()
at UiPath.BrowserInvocation.Shared.Utilities.UiPathStudioUtility.EnsureService()
at UiPath.BrowserInvocation.RobotAPI.Listener.Impl.RobotProcess.GetProcesses(GetProcessesParameters parameters)
at UiPath.BrowserInvocation.RobotAPI.Listener.RequestHandlers.RobotProcesses.Handle(IHttpListenerContext context) Object reference not set to an instance of an object.

Hi @raveendranath.r.nare ,

Could you try running the RobotJS as administrator and try invoking the robot through RobotJS and see if that resolves the issue. thanks

Regards,
Kirankumar.

Hi @raveendranath.r.nare,

Can you share more details please? What are you trying to achieve? what do you invoke with RobotJS? Can you also attach the Diagnostic Tool report?

Thanks,
Andrei

@erghe , We are invoking Robot through RobotJS and it is working fine in my machine. Since I have UiPath Studio. Once we install Robot in client machine (machine has no UiPath Studio), when I try to invoke Robot it is giving 500 internal server error as below;
11:16:53.3174 => [ERROR] [UiPath.BrowserInvocation.RobotAPI.Listener.RequestHandlers.RobotProcesses] [6] Method:Handle - Message:Object reference not set to an instance of an object. - StackTrace: at UiPath.BrowserInvocation.Shared.Utilities.UiPathStudioUtility.GetServicePath()
at UiPath.BrowserInvocation.Shared.Utilities.UiPathStudioUtility.EnsureService()
at UiPath.BrowserInvocation.RobotAPI.Listener.Impl.RobotProcess.GetProcesses(GetProcessesParameters parameters)
at UiPath.BrowserInvocation.RobotAPI.Listener.RequestHandlers.RobotProcesses.Handle(IHttpListenerContext context) Object reference not set to an instance of an object.

But in client machine we can invoke Robot manually and it is fine. Only we invoke thru RobotJS it fails to get list of robots call.

@raveendranath.r.nare, please provide the Diagnostic tool report in order to understand better what is happening on your end.

BR,
Andrei