Unable to connect with robot - selenium.WebDriverException: Can't get object clsid from progid

Hi,

I’m getting the error message shown below, when trying to start any recording. I have already tried running RPAExpress\RPA\registry\register_rpa_x64.bat as an administrator (as instructed here Unable to connect to Robot), but it doesn’t help. I’m still getting the same error.
Maybe this could be fixed by modifying the .project file, but I’m not sure how it should be modified. The Bot Manager is running, so that shouldn’t be a problem.

Unable to connect with robot
  com.workfusion.studio.rpa.recorder.player.driver.DriverInitializationException: Unable to connect with robot
      at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.connect(RpaUniversalDriver.java:115)
      at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.initialize(RpaUniversalDriver.java:46)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:71)
      at java.lang.Thread.run(Thread.java:745)
  Caused by: org.openqa.selenium.WebDriverException: Can't get object clsid from progid
Command duration or timeout: 19 milliseconds
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'LNOR041108', ip: '10.38.114.34', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_121'
Driver info: com.freedomoss.crowdcontrol.webharvest.selenium.wrapper.RemoteDriverWrapper
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
      at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
      at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:646)
      at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:212)
      at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:94)
      at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:121)
      at com.freedomoss.crowdcontrol.webharvest.selenium.wrapper.RemoteDriverWrapper.<init>(RemoteDriverWrapper.java:44)
      at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.connect(RpaUniversalDriver.java:113)
      at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.initialize(RpaUniversalDriver.java:46)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:71)
      at java.lang.Thread.run(Thread.java:745)
  Caused by: org.openqa.selenium.WebDriverException: Can't get object clsid from progid
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'LNOR041108', ip: '10.38.114.34', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_121'
Driver info: driver.version: AutoItDriver
      at com.jacob.com.Dispatch.createInstanceNative(Native Method)
      at com.jacob.com.Dispatch.<init>(Dispatch.java:99)
      at com.jacob.activeX.ActiveXComponent.<init>(ActiveXComponent.java:58)
      at autoitx4java.AutoItX.<init>(AutoItX.java:231)
      at com.workfusion.autoit.driver.AutoItDriver.<init>(AutoItDriver.java:53)
      at com.workfusion.autoit.driver.AutoItDriverProvider.newInstance(AutoItDriverProvider.java:29)
      at com.workfusion.universal.factory.UniversalDriverFactory.createDesktopDriver(UniversalDriverFactory.java:34)
      at com.workfusion.universal.UniversalDriverModuleConfig.state(UniversalDriverModuleConfig.java:49)
      at com.workfusion.universal.UniversalDriverModuleConfig.createDriver(UniversalDriverModuleConfig.java:24)
      at com.workfusion.universal.UniversalDriverProvider.newInstance(UniversalDriverProvider.java:33)
      at org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:60)
      at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:222)
      at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:209)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:176)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)

please try to restart the Hub and Node:

Or better try to relaunch all RPAx components or restart your PC

Bot Manager—Running
OCR----Runing
Open Control Tower----Running

I have downloaded the latest version of RPA.
My sytem has 16GB RAM,500 GB space, 64 Bit


Unable to connect with robot
  com.workfusion.studio.rpa.recorder.player.driver.DriverInitializationException: Unable to connect with robot
      at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.connect(RpaUniversalDriver.java:121)
      at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.initialize(RpaUniversalDriver.java:49)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:76)
      at java.lang.Thread.run(Thread.java:745)
  Caused by: org.openqa.selenium.WebDriverException: Can't get object clsid from progid
Command duration or timeout: 513 milliseconds
Build info: version: '8.5.0-SNAPSHOT', revision: 'dd175a8f1d9977592532d2433dae654424e07ce4', time: '2017-11-16 10:21:05'
System info: host: 'LAPIN2RTYFD2', ip: '10.242.67.159', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_121'
Driver info: com.freedomoss.crowdcontrol.webharvest.selenium.wrapper.RemoteDriverWrapper
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
      at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
      at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:646)
      at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:212)
      at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:94)
      at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:121)
      at com.freedomoss.crowdcontrol.webharvest.selenium.wrapper.RemoteDriverWrapper.<init>(RemoteDriverWrapper.java:44)
      at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.connect(RpaUniversalDriver.java:119)
      at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.initialize(RpaUniversalDriver.java:49)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:76)
      at java.lang.Thread.run(Thread.java:745)
  Caused by: org.openqa.selenium.WebDriverException: Can't get object clsid from progid
Build info: version: '8.5.0-SNAPSHOT', revision: 'dd175a8f1d9977592532d2433dae654424e07ce4', time: '2017-11-16 10:21:05'
System info: host: 'LAPIN2RTYFD2', ip: '10.242.67.159', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_121'
Driver info: driver.version: AutoItDriver
      at com.jacob.com.Dispatch.createInstanceNative(Native Method)
      at com.jacob.com.Dispatch.<init>(Dispatch.java:99)
      at com.jacob.activeX.ActiveXComponent.<init>(ActiveXComponent.java:58)
      at autoitx4java.AutoItX.<init>(AutoItX.java:231)
      at com.workfusion.autoit.driver.AutoItDriver.<init>(AutoItDriver.java:53)
      at com.workfusion.autoit.driver.AutoItDriverProvider.newInstance(AutoItDriverProvider.java:29)
      at com.workfusion.universal.factory.UniversalDriverFactory.createDesktopDriver(UniversalDriverFactory.java:34)
      at com.workfusion.universal.UniversalDriverModuleConfig.state(UniversalDriverModuleConfig.java:49)
      at com.workfusion.universal.UniversalDriverModuleConfig.createDriver(UniversalDriverModuleConfig.java:24)
      at com.workfusion.universal.UniversalDriverProvider.newInstance(UniversalDriverProvider.java:33)
      at org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:60)
      at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:222)
      at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:209)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:176)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)

@prashant_sriFs
Hi Prashant,
Please try the solution provided above. Let me know if that doesn’t work.

Alesia

I have tried the above solution but still facing the same problem.

When i start hub this screen comes…
hub

i am getting this specific error if i see in details :— Can’t get object clsid from progid

@prashant_sriFs Thank you, our support team will investigate.

Hi all

I am facing the same issue “Unable to connect with robot” can anyone clearly specify the steps,I tried different solutions provided and still getting the same issue

WorkFusion version:1.1.9
Ram:12GB
64bit machine

Hi I am also getting this error, tried with restarting the hub and node but still no luck. Can someone please help me with this?

Hi, Is there any further update on this ? Still getting the above error.

When trying to play any recording the it is getting error out even though Bot Manager is started.

Cannot start execution
Reason: Unable to connect with robot

Unable to connect with robot
  com.workfusion.studio.rpa.recorder.player.driver.DriverInitializationException: Unable to connect with robot
      at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.connect(RpaUniversalDriver.java:128)
      at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.initialize(RpaUniversalDriver.java:64)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:76)
      at java.lang.Thread.run(Thread.java:745)
  Caused by: org.openqa.selenium.WebDriverException: Can't get object clsid from progid
Command duration or timeout: 53 milliseconds
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:216)
      at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168)
      at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(JsonWireProtocolResponse.java:53)
      at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:91)
      at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$24(ProtocolHandshake.java:359)
      at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
      at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
      at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
      at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
      at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
      at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
      at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:362)
      at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:135)
      at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
      at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:656)
      at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)
      at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:232)
      at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:133)
      at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:170)
      at com.freedomoss.crowdcontrol.webharvest.selenium.wrapper.RemoteDriverWrapper.<init>(RemoteDriverWrapper.java:44)
      at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.connect(RpaUniversalDriver.java:126)
      at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.initialize(RpaUniversalDriver.java:64)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:76)
      at java.lang.Thread.run(Thread.java:745)
  Caused by: org.openqa.selenium.WebDriverException: Can't get object clsid from progid
Build info: version: '8.5.0.3', revision: 'd87d4f32f3', time: '2018-02-23T12:31:39.262Z'
System info: host: '01HW1010793', ip: '3.209.189.178', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_121'
Driver info: driver.version: AutoItDriver
      at com.jacob.com.Dispatch.createInstanceNative(Native Method)
      at com.jacob.com.Dispatch.<init>(Dispatch.java:99)
      at com.jacob.activeX.ActiveXComponent.<init>(ActiveXComponent.java:58)
      at autoitx4java.AutoItX.<init>(AutoItX.java:232)
      at com.workfusion.mfw.manupulators.autoit.AutoItDesktopAccessContext.<init>(AutoItDesktopAccessContext.java:33)
      at com.workfusion.mfw.manupulators.api.DesktopAccessContext.newInstance(DesktopAccessContext.java:18)
      at com.workfusion.autoit.driver.AutoItDriver.<init>(AutoItDriver.java:65)
      at com.workfusion.autoit.driver.AutoItDriverProvider.newInstance(AutoItDriverProvider.java:29)
      at org.openqa.selenium.remote.server.InMemorySession$Factory.apply(InMemorySession.java:183)
      at org.openqa.selenium.remote.server.ActiveSessionFactory.lambda$createSession$16(ActiveSessionFactory.java:171)
      at java.util.Optional.map(Optional.java:215)
      at org.openqa.selenium.remote.server.ActiveSessionFactory.createSession(ActiveSessionFactory.java:171)
      at com.workfusion.universal.factory.UniversalDriverFactory.createDriverSession(UniversalDriverFactory.java:58)
      at com.workfusion.universal.factory.UniversalDriverFactory.createDriver(UniversalDriverFactory.java:38)
      at com.workfusion.universal.UniversalDriverModuleConfig.state(UniversalDriverModuleConfig.java:49)
      at com.workfusion.universal.UniversalDriverModuleConfig.createDriver(UniversalDriverModuleConfig.java:24)
      at com.workfusion.universal.UniversalDriverProvider.newInstance(UniversalDriverProvider.java:33)
      at org.openqa.selenium.remote.server.InMemorySession$Factory.apply(InMemorySession.java:183)
      at org.openqa.selenium.remote.server.ActiveSessionFactory.lambda$createSession$16(ActiveSessionFactory.java:171)
      at java.util.Optional.map(Optional.java:215)
      at org.openqa.selenium.remote.server.ActiveSessionFactory.createSession(ActiveSessionFactory.java:171)
      at org.openqa.selenium.remote.server.BeginSession.execute(BeginSession.java:67)
      at org.openqa.selenium.remote.server.WebDriverServlet.lambda$handle$0(WebDriverServlet.java:231)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)

@nilay_amarpLeK Try restarting hub and node as shown here.

@ashapkina I tried the given steps but still facing issue. When tried to run the batch the attached screen appears.
Capture

Hi any updates on this? its been a month now and I am not able to play my first recording. Please help.

@aswinimOXrFEpt Have you tried uninstalling RPA Express and installing a new version?

I did that today but still no luck…immediate help on this would be much appreciated…

Hi,
Is this issue resolved? I am also facing same issue.

Nope, I have tried installing the latest version and it still throws the same error. Will update you if it works.

Hi, Do you have any updates on this please ?