Help reading error stack

I have the following error stack. It’s obvious what the issue is, I’m just having problems finding it amongst 50 actions in my script. Unfortunately I had made several big changes so unable to isolate the issue by what I had changed. Hints on how to decypher where the issue lies? When I try and run it throws this before even sending to the Robot and there is no line number shown when it errors like normal. I’m executing through RPA Express. Any hints on how to sift through this information appreciated.

java.lang.IllegalArgumentException: Required argument ‘leftOperand’ is missing
com.workfusion.studio.rpa.recorder.player.exception.PlaybackFlowRunningException: java.lang.IllegalArgumentException: Required argument ‘leftOperand’ is missing
at com.workfusion.studio.rpa.recorder.player.PlaybackProcess.start(PlaybackProcess.java:105)
at com.workfusion.studio.recorder.editor.action.AbstractPlayRecordingAction.run(AbstractPlayRecordingAction.java:71)
at com.workfusion.studio.recorder.editor.action.PlayRecordingAction.run(PlayRecordingAction.java:23)
at com.workfusion.studio.recorder.editor.action.RecorderAction.run(RecorderAction.java:27)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$5(ActionContributionItem.java:436)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3931)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3534)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1170)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1059)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:667)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:597)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
Caused by: java.lang.IllegalArgumentException: Required argument ‘leftOperand’ is missing
at com.workfusion.studio.rpa.recorder.playback.AbstractAction.missingArgument(AbstractAction.java:124)
at com.workfusion.studio.rpa.recorder.playback.action.IfAction.lambda$new$0(IfAction.java:43)
at java.util.Optional.orElseThrow(Optional.java:290)
at com.workfusion.studio.rpa.recorder.playback.action.IfAction.(IfAction.java:43)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.lambda$newActionByName$3(FlowLoader.java:93)
at java.util.Optional.map(Optional.java:215)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.newActionByName(FlowLoader.java:93)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.lambda$newAction$2(FlowLoader.java:83)
at java.util.Optional.map(Optional.java:215)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.newAction(FlowLoader.java:83)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.lambda$recursiveAddElements$0(FlowLoader.java:71)
at java.lang.Iterable.forEach(Iterable.java:75)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.recursiveAddElements(FlowLoader.java:69)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.lambda$recursiveAddElements$0(FlowLoader.java:73)
at java.lang.Iterable.forEach(Iterable.java:75)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.recursiveAddElements(FlowLoader.java:69)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.lambda$recursiveAddElements$0(FlowLoader.java:73)
at java.lang.Iterable.forEach(Iterable.java:75)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.recursiveAddElements(FlowLoader.java:69)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.lambda$recursiveAddElements$0(FlowLoader.java:73)
at java.lang.Iterable.forEach(Iterable.java:75)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.recursiveAddElements(FlowLoader.java:69)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.lambda$recursiveAddElements$0(FlowLoader.java:73)
at java.lang.Iterable.forEach(Iterable.java:75)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.recursiveAddElements(FlowLoader.java:69)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.load(FlowLoader.java:63)
at com.workfusion.studio.rpa.recorder.player.PlaybackProcess.start(PlaybackProcess.java:100)
at com.workfusion.studio.recorder.editor.action.AbstractPlayRecordingAction.run(AbstractPlayRecordingAction.java:71)
at com.workfusion.studio.recorder.editor.action.PlayRecordingAction.run(PlayRecordingAction.java:23)
at com.workfusion.studio.recorder.editor.action.RecorderAction.run(RecorderAction.java:27)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$5(ActionContributionItem.java:436)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3931)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3534)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1170)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1059)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:667)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:597)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
at org.eclipse.equinox.launcher.Main.main(Main.java:1471)

Hi @Craigw.
Is this still actual? If yes, could you please share your .rpae file with your code? This file is located in C:\Users<user_name>\workfusion-workspace\rpae_project<your_project_name>. If it contains sensitive information, you can send it to me in personal message.
Thank you in advance.

1 Like

I actually found my issue, but not because of the error stack. As I’ve been able to move on and don’t have the actual code that produced this stack so at this point I would say this is closed. Thanks for checking @Lera!

2 Likes

Thanks for the update. Glad to know that you solved this :slight_smile:. Can you remember what was the root cause?

An if condition with no left or right operand. Got created by accident and so wasn’t evident what the problem was till I eyeballed it and removed.

2 Likes

Thanks for sharing!

1 Like