Cannot load recording file error! Just from one change

Hi guys.

I just spent the last 2 days building this bot and all of sudden I got this error. See picture below.

Error

Cannot Load Recording File XYZ.rpae

Reason: Unable to read file

There was one change I did! Which was the following - In the copy file/folder action I have the path from:
C:\Users\paulo.scholle\Dropbox (Prodigy)\Legal Folder Management\InformationSheet.xlsx

to

C:\Users\paulo.scholle\Dropbox (Prodigy)\Legal Folder Management\InformationSheet.xls

I have since undone this action. But the file is corrupted.

See picture.

I have undone my last 10 actions - but my file still won’t load. I wouldn’t be desperate about this if I couldn’t copy and paste actions into a new rpae project.

Any assistance will be much appreciated.

Hi @paulo_scholle please click on Details>> on the error pop-up and share the text of the error here, it should contain the reason (usually a variable of path is missing in some action)

https://kb.workfusion.com/display/RPAe/Troubleshooting#expand-RecordingisnotplayingUnabletoreadfile

Unable to read file
com.workfusion.studio.rpa.recorder.player.exception.PlaybackActionLoadingException: Unable to read file
at com.workfusion.studio.rpa.recorder.player.PlaybackProcess.loadActionTree(PlaybackProcess.java:178)
at com.workfusion.studio.rpa.recorder.player.PlaybackProcess.start(PlaybackProcess.java:92)
at com.workfusion.studio.recorder.editor.action.AbstractPlayRecordingAction.run(AbstractPlayRecordingAction.java:73)
at com.workfusion.studio.recorder.editor.action.PlayRecordingAction.run(PlayRecordingAction.java:23)
at com.workfusion.studio.recorder.editor.action.RecorderAction.run(RecorderAction.java:28)
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:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
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:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
Caused by: java.lang.IllegalArgumentException: Required argument ‘filePath’ is missing
at com.workfusion.studio.rpa.recorder.playback.AbstractAction.missingArgument(AbstractAction.java:124)
at com.workfusion.studio.rpa.recorder.playback.action.OpenSpreadsheetAction.lambda$new$0(OpenSpreadsheetAction.java:29)
at java.util.Optional.orElseThrow(Optional.java:290)
at com.workfusion.studio.rpa.recorder.playback.action.OpenSpreadsheetAction.(OpenSpreadsheetAction.java:29)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.lambda$newActionByName$3(FlowLoader.java:89)
at java.util.Optional.map(Optional.java:215)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.newActionByName(FlowLoader.java:89)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.lambda$newAction$2(FlowLoader.java:79)
at java.util.Optional.map(Optional.java:215)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.newAction(FlowLoader.java:79)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.lambda$recursiveAddElements$0(FlowLoader.java:67)
at java.lang.Iterable.forEach(Iterable.java:75)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.recursiveAddElements(FlowLoader.java:65)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.lambda$recursiveAddElements$0(FlowLoader.java:69)
at java.lang.Iterable.forEach(Iterable.java:75)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.recursiveAddElements(FlowLoader.java:65)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.lambda$recursiveAddElements$0(FlowLoader.java:69)
at java.lang.Iterable.forEach(Iterable.java:75)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.recursiveAddElements(FlowLoader.java:65)
at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.load(FlowLoader.java:59)
at com.workfusion.studio.rpa.recorder.player.PlaybackProcess.loadActionTree(PlaybackProcess.java:173)
at com.workfusion.studio.rpa.recorder.player.PlaybackProcess.start(PlaybackProcess.java:92)
at com.workfusion.studio.recorder.editor.action.AbstractPlayRecordingAction.run(AbstractPlayRecordingAction.java:73)
at com.workfusion.studio.recorder.editor.action.PlayRecordingAction.run(PlayRecordingAction.java:23)
at com.workfusion.studio.recorder.editor.action.RecorderAction.run(RecorderAction.java:28)
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:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
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:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

Thank you.

I figured it out. I had an Open Spreadsheet action that had not specified path.

:blush:

2 Likes

A post was merged into an existing topic: Can not load recording file