Error: 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:127)
at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.initialize(RpaUniversalDriver.java:64)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:75)
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: 419 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.(RemoteWebDriver.java:133)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:170)
at com.freedomoss.crowdcontrol.webharvest.selenium.wrapper.RemoteDriverWrapper.(RemoteDriverWrapper.java:44)
at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.connect(RpaUniversalDriver.java:125)
at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.initialize(RpaUniversalDriver.java:64)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:75)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.openqa.selenium.WebDriverException: Can’t get object clsid from progid
Build info: version: ‘9.0.0.4’, revision: ‘e6e278acd9’, time: ‘2018-06-19T14:40:11.651Z’
System info: host: ‘DFDEL000170’, ip: ‘10.10.0.178’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_121’
Driver info: driver.version: AutoItDriver
at com.jacob.com.Dispatch.createInstanceNative(Native Method)
at com.jacob.com.Dispatch.(Dispatch.java:99)
at com.jacob.activeX.ActiveXComponent.(ActiveXComponent.java:58)
at autoitx4java.AutoItX.(AutoItX.java:232)
at com.workfusion.mfw.manupulators.autoit.AutoItDesktopAccessContext.(AutoItDesktopAccessContext.java:24)
at com.workfusion.mfw.manupulators.uiautomation.AutomationDesktopAccessContext.(AutomationDesktopAccessContext.java:32)
at com.workfusion.mfw.manupulators.api.DesktopAccessContext.newInstance(DesktopAccessContext.java:20)
at com.workfusion.autoit.driver.AutoItDriver.(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)

Hi @shanda what version of RPA Express are you using? We used to have this issue in older versions of RPA Express. If you update to version 2.0.6, it should be solved.

Hi @shanda did you have a chance to update to a newer version of RPA Express?

Now it’s working fine.

Thank You.