Error executing FileWriteAction

Hello!

I just moved a bot from Workfusion Studio on my laptop to a VM. Both are Windows 10, running WFS 2.3.0.

The bot, which works without issue on the laptop, crashes on the VM:

Execution error
Execution failed on step 285
Reason:
Error executing FileWriteAction

The bot appends lines to a log file while it runs. This helps with debugging, since WFS Recorder lacks a console.

The odd thing is that the bot is able to write to the log at first. But then, after five lines of output, it throws the “FileWriteAction”. It always happens on the 6th line.

I was initially logging to a network location. This worked without issue when the bot ran from my laptop. After moving the bot to the VM and seeing the error, I redirected the log to the .\rpae_project. folder structure on C:\ to see if that would make a difference. No change; same error.

The Recorder action causing the error:

Write to File:
Input [${log_file}]
File content: [--- ${bot_aid} | ${log_now_string} | ${log_text_add}${log_text_crlf}]
Options: Write mode: [Append] Character encoding [UTF-8]

Operative bit from the debug dump:

Caused by: org.openqa.selenium.WebDriverException: unknown error: com is not defined

Associated variables:

"bot_aid","STRING","FBR 2.21a"
"log_file","STRING","C:\Users\John.Grant.bot\workfusion-workspace\rpae_project\acct\fbr\FBR_rpae.log"
"log_now_date","DATE","2020-01-10T12:50:44-05:00[America/New_York]"
"log_now_string","STRING","2020.01.10 12:50:44"
"log_text_add","STRING","Chrome. Citrix Detect Receiver"
"log_text_crlf","STRING","""

The log file gets just this far each time:

-------------------------------------------------------------------------------------------------
--- FBR 2.21a | 2020.01.10 12:50:40 | Log start: C:\Users\John.Grant.bot\workfusion-workspace\rpae_project\acct\fbr\FBR_rpae.log
--- FBR 2.21a | 2020.01.10 12:50:40 | Check environment semaphore
--- FBR 2.21a | 2020.01.10 12:50:41 | Check environment semaphore (PRD, FPMM01PR)
--- FBR 2.21a | 2020.01.10 12:50:41 | Chrome. Launch with Citrix URL

And then throws the “FileWriteAction” error.

Error executing FileWriteAction
  com.workfusion.studio.rpa.recorder.playback.PlaybackException: Error executing TemplateAction[templateName=FileWriteAction.ftl,id=284,name=Optional[FileWriteAction],parent=281,arguments=ActionArguments[path=[${log_file}],delay=[0],timeoutMs=[10000],xsi:type=[recorder:FileWriteAction, recorder:FileWriteAction],pollingInterval=[300],active=[true],encoding=[UTF-8],overwrite=[false],content=[--- ${bot_aid} | ${log_now_string} | ${log_text_add}${log_text_crlf}],awaitTimeout=[5000]]]
      at com.workfusion.studio.rpa.recorder.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:54)
      at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:28)
      at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:15)
      at com.workfusion.studio.rpa.recorder.playback.player.ActionPlayer.next(ActionPlayer.java:81)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:154)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:112)
      at java.lang.Thread.run(Thread.java:745)
  Caused by: org.openqa.selenium.WebDriverException: unknown error: com is not defined
  (Session info: chrome=79.0.3945.117)
  (Driver info: chromedriver=2.44.609538 (b655c5a60b0b544917107a59d4153d4bf78e1b90),platform=Windows NT 10.0.17763 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: '9.3.0.5', revision: '63553f3f1c', time: '2019-03-15T13:41:27.26Z'
System info: host: 'CTCVM0027', ip: '10.126.224.24', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Capabilities [{mobileEmulationEnabled=false, hasTouchScreen=false, platform=XP, acceptSslCerts=false, goog:chromeOptions={debuggerAddress=localhost:55727}, acceptInsecureCerts=false, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, platformName=XP, setWindowRect=true, unexpectedAlertBehaviour=ignore, applicationCacheEnabled=false, rotatable=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.44.609538 (b655c5a60b0b544917107a59d4153d4bf78e1b90), userDataDir=C:\Users\John.Grant.bot\AppData\Local\Temp\2\scoped_dir117012_6168}, takesHeapSnapshot=true, unhandledPromptBehavior=ignore, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, version=79.0.3945.117, browserConnectionEnabled=false, nativeEvents=true, locationContextEnabled=true, cssSelectorsEnabled=true}]
Session ID: a49b4e7e7c1a34de781299e271e93285
      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.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:41)
      at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:82)
      at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:45)
      at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
      at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:741)
      at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:677)
      at com.workfusion.rpa.helpers.Resource.append(Resource.java:278)
      at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326)
      at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite$StaticMetaMethodSiteNoUnwrap.invoke(StaticMetaMethodSite.java:133)
      at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.call(StaticMetaMethodSite.java:91)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:144)
      at Script20.run(Script20.groovy:8)
      at com.workfusion.studio.rpa.recorder.playback.shell.GroovyShellWrapper.executeScript(GroovyShellWrapper.java:48)
      at com.workfusion.studio.rpa.recorder.playback.player.PlaybackContext.executeScript(PlaybackContext.java:108)
      at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.executeBehavior(TemplateAction.java:33)
      at com.workfusion.studio.rpa.recorder.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:46)
      at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:28)
      at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:15)
      at com.workfusion.studio.rpa.recorder.playback.player.ActionPlayer.next(ActionPlayer.java:81)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:154)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:112)
      at java.lang.Thread.run(Thread.java:745)
  Caused by: org.openqa.selenium.WebDriverException: unknown error: com is not defined
  (Session info: chrome=79.0.3945.117)
  (Driver info: chromedriver=2.44.609538 (b655c5a60b0b544917107a59d4153d4bf78e1b90),platform=Windows NT 10.0.17763 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: '9.3.0.5', revision: '63553f3f1c', time: '2019-03-15T13:41:27.26Z'
System info: host: 'CTCVM0027', ip: '10.126.224.24', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Capabilities [{mobileEmulationEnabled=false, hasTouchScreen=false, platform=XP, acceptSslCerts=false, goog:chromeOptions={debuggerAddress=localhost:55727}, acceptInsecureCerts=false, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, platformName=XP, setWindowRect=true, unexpectedAlertBehaviour=ignore, applicationCacheEnabled=false, rotatable=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.44.609538 (b655c5a60b0b544917107a59d4153d4bf78e1b90), userDataDir=C:\Users\John.Grant.bot\AppData\Local\Temp\2\scoped_dir117012_6168}, takesHeapSnapshot=true, unhandledPromptBehavior=ignore, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, version=79.0.3945.117, browserConnectionEnabled=false, nativeEvents=true, locationContextEnabled=true, cssSelectorsEnabled=true}]
Session ID: a49b4e7e7c1a34de781299e271e93285
Build info: version: '9.3.0.5', revision: '63553f3f1c', time: '2019-03-15T13:41:27.26Z'
System info: host: 'CTCVM0027', ip: '10.126.224.24', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121'
Driver info: driver.version: UniversalDriver
      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.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:41)
      at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:82)
      at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:45)
      at org.openqa.selenium.remote.server.ActiveSessionCommandExecutor.execute(ActiveSessionCommandExecutor.java:43)
      at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:741)
      at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:677)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.openqa.selenium.remote.Augmenter$CompoundHandler.intercept(Augmenter.java:189)
      at org.openqa.selenium.remote.RemoteWebDriver$$EnhancerByCGLIB$$a29d45ec.executeScript(<generated>)
      at com.workfusion.universal.driver.UniversalDriver.executeScript(UniversalDriver.java:151)
      at org.openqa.selenium.remote.server.handler.ExecuteScript.call(ExecuteScript.java:54)
      at org.openqa.selenium.remote.server.handler.WebDriverHandler.handle(WebDriverHandler.java:41)
      at org.openqa.selenium.remote.server.rest.ResultConfig.handle(ResultConfig.java:134)
      at org.openqa.selenium.remote.server.JsonHttpCommandHandler.handleRequest(JsonHttpCommandHandler.java:206)
      at org.openqa.selenium.remote.server.InMemorySession.execute(InMemorySession.java:98)
      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)

@john_grant what text is recorded in the file in the 6th iteration?

Here’s the code to set up the log:

FWA_1 Log start_cr.png

I use copy / paste on the Constant Value (to log_text_add … and Log append (v2) group action pair to create new logging points through the recording. Only the text for Constant Value (to log_text_add … is customized; the Log append (v2) group is a straight-up copy.

Here’s a subsequent functional group checking for files. I use a copy of the log actions with a customized log_text_add variable:

FWA_2 Check environment semaphore_cr.png

This works as expected.

The problem is that the Write to File action starts failing after I issue an Open Website action. The same logging points that work earlier in the recording start throwing Error executing FileWriteAction errors.

I modified my recording to highlight this:

You can see the Open Website action in the middle of the block. The standard logging point before Open Website works as expected. The The standard logging point immediately after Open Website throws a Error executing FileWriteAction error. But it’s the same code; it’s a copy / paste block, with only the log_text_add variable customized.

This is what the log file looks like after a post-Open Website crash:

If I disable the Open Website action and run the recording, everything works as expected and the log file looks like this:

The recording contains a lot of functional groups that check files, load an Excel worksheet, etc. Each functional group contains one or two logging points, and they all work as expected. When I introduced the Open Website action last week, things started failing.

Note: I added the IF (log_state = “true”) conditions after the Error executing FileWriteAction errors started appearing, because I am otherwise blocked and cannot work on the recording. But they’re otherwise useless, and I’ll remove them when the crashing stops.

Do you know what’s causing Write to File actions to fail after I call Open Website?

I created a script to test the interaction between Write to File and Open Website actions:

And … the Error executing FileWriteAction crash doesn’t happen in the test script.

More: I returned to my original Recording, enabled the section with the Open Website action, and tried running it again. It did crash, at the same place, with Error executing FileWriteAction. But the details are different. Instead of:

Caused by: org.openqa.selenium.WebDriverException: unknown error: com is not defined

It now throws:

Caused by: org.openqa.selenium.JavascriptException: JavaScript error

Here’s the whole error message:

Error executing FileWriteAction
  com.workfusion.studio.rpa.recorder.playback.PlaybackException: Error executing TemplateAction[templateName=FileWriteAction.ftl,id=485,name=Optional[FileWriteAction],parent=-173,arguments=ActionArguments[path=[${log_file}],delay=[0],timeoutMs=[10000],xsi:type=[recorder:FileWriteAction, recorder:FileWriteAction],pollingInterval=[300],active=[true],encoding=[UTF-8],overwrite=[false],content=[--- ${bot_aid} | ${log_now_string} | ${log_text_add}${log_text_crlf}],awaitTimeout=[5000]]]
	  at com.workfusion.studio.rpa.recorder.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:54)
	  at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:28)
	  at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:15)
	  at com.workfusion.studio.rpa.recorder.playback.player.ActionPlayer.next(ActionPlayer.java:81)
	  at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:154)
	  at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:112)
	  at java.lang.Thread.run(Thread.java:745)
  Caused by: org.openqa.selenium.JavascriptException: JavaScript error
Build info: version: '9.3.0.5', revision: '63553f3f1c', time: '2019-03-15T13:41:27.26Z'
System info: host: 'CTCVM0027', ip: '10.126.224.24', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Capabilities [{proxy=Proxy(), acceptInsecureCerts=false, browserVersion=11, se:ieOptions={nativeEvents=true, browserAttachTimeout=0, ie.ensureCleanSession=false, elementScrollBehavior=0, enablePersistentHover=false, ie.browserCommandLineSwitches=, ie.forceCreateProcessApi=false, requireWindowFocus=true, initialBrowserUrl=http://localhost:33181/, ignoreZoomSetting=false, ie.fileUploadDialogTimeout=3000, ignoreProtectedModeSettings=false}, timeouts={implicit=0, pageLoad=300000, script=30000}, browserName=internet explorer, pageLoadStrategy=normal, javascriptEnabled=true, platformName=XP, setWindowRect=true, platform=XP}]
Session ID: fb90fefc-d75c-4ef8-ac77-7484e545fbf1
Command duration or timeout: 0 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.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:41)
	  at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:82)
	  at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:45)
	  at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	  at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:741)
	  at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:677)
	  at com.workfusion.rpa.helpers.Resource.append(Resource.java:278)
	  at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
	  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	  at java.lang.reflect.Method.invoke(Method.java:498)
	  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104)
	  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326)
	  at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite$StaticMetaMethodSiteNoUnwrap.invoke(StaticMetaMethodSite.java:133)
	  at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.call(StaticMetaMethodSite.java:91)
	  at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:144)
	  at Script22.run(Script22.groovy:8)
	  at com.workfusion.studio.rpa.recorder.playback.shell.GroovyShellWrapper.executeScript(GroovyShellWrapper.java:48)
	  at com.workfusion.studio.rpa.recorder.playback.player.PlaybackContext.executeScript(PlaybackContext.java:108)
	  at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.executeBehavior(TemplateAction.java:33)
	  at com.workfusion.studio.rpa.recorder.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:46)
	  at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:28)
	  at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:15)
	  at com.workfusion.studio.rpa.recorder.playback.player.ActionPlayer.next(ActionPlayer.java:81)
	  at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:154)
	  at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:112)
	  at java.lang.Thread.run(Thread.java:745)
  Caused by: org.openqa.selenium.JavascriptException: JavaScript error
Build info: version: '9.3.0.5', revision: '63553f3f1c', time: '2019-03-15T13:41:27.26Z'
System info: host: 'CTCVM0027', ip: '10.126.224.24', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Capabilities [{proxy=Proxy(), acceptInsecureCerts=false, browserVersion=11, se:ieOptions={nativeEvents=true, browserAttachTimeout=0, ie.ensureCleanSession=false, elementScrollBehavior=0, enablePersistentHover=false, ie.browserCommandLineSwitches=, ie.forceCreateProcessApi=false, requireWindowFocus=true, initialBrowserUrl=http://localhost:33181/, ignoreZoomSetting=false, ie.fileUploadDialogTimeout=3000, ignoreProtectedModeSettings=false}, timeouts={implicit=0, pageLoad=300000, script=30000}, browserName=internet explorer, pageLoadStrategy=normal, javascriptEnabled=true, platformName=XP, setWindowRect=true, platform=XP}]
Session ID: fb90fefc-d75c-4ef8-ac77-7484e545fbf1
Build info: version: '9.3.0.5', revision: '63553f3f1c', time: '2019-03-15T13:41:27.26Z'
System info: host: 'CTCVM0027', ip: '10.126.224.24', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121'
Driver info: driver.version: UniversalDriver
	  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.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:186)
	  at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:121)
	  at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:50)
	  at org.openqa.selenium.remote.server.ActiveSessionCommandExecutor.execute(ActiveSessionCommandExecutor.java:43)
	  at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:741)
	  at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:677)
	  at com.workfusion.universal.driver.UniversalDriver.executeScript(UniversalDriver.java:151)
	  at org.openqa.selenium.remote.server.handler.ExecuteScript.call(ExecuteScript.java:54)
	  at org.openqa.selenium.remote.server.handler.WebDriverHandler.handle(WebDriverHandler.java:41)
	  at org.openqa.selenium.remote.server.rest.ResultConfig.handle(ResultConfig.java:134)
	  at org.openqa.selenium.remote.server.JsonHttpCommandHandler.handleRequest(JsonHttpCommandHandler.java:206)
	  at org.openqa.selenium.remote.server.InMemorySession.execute(InMemorySession.java:98)
	  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)

Can you tell me why this is happening?