Can not load recording file

Dear Team,

I am trying to run action flow but it show cannot load recording file. I have checked bot manager and its running. Also I have checked all variables. Till its gives error… below is the snap error snapshots.

image

Also variable shows highlighted. please see below snapshots

image

also please find attached project
Network_PM.zip (28.0 KB)

@amol_sonavane for some reason, the default value in the table variable “command_list” was a string, so, naturally, the recording didn’t work.

did you edit the xml of the file manually?

We removed the variable from xml and created it anew, so the recording has to work now :slightly_smiling_face:
Network_PM.zip (25.0 KB)

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:173)
          at com.workfusion.studio.rpa.recorder.player.PlaybackProcess.start(PlaybackProcess.java:88)
          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: supplied value '[' is not wrapped in ]%s
          at com.google.common.base.Preconditions.checkArgument(Preconditions.java:120)
          at com.workfusion.studio.rpa.recorder.utils.WrappedString.unwrap(WrappedString.java:37)
          at com.workfusion.studio.rpa.recorder.api.internal.representation.RListRepresentation.getValue(RListRepresentation.java:135)
          at com.workfusion.studio.rpa.recorder.api.types.RList.fromCanonical(RList.java:133)
          at com.workfusion.studio.rpa.recorder.api.types.RecorderDataType$5.instantiate(RecorderDataType.java:69)
          at com.workfusion.studio.rpa.recorder.api.types.RecorderDataType$5.instantiate(RecorderDataType.java:65)
          at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.convertToContextVariables(FlowLoader.java:98)
          at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.load(FlowLoader.java:61)
          at com.workfusion.studio.rpa.recorder.player.PlaybackProcess.loadActionTree(PlaybackProcess.java:168)
          at com.workfusion.studio.rpa.recorder.player.PlaybackProcess.start(PlaybackProcess.java:88)
          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)

@yangyanz looks like it is the same issue @amol_sonavane had.
Open the recording file with a text editor and check if any weird variable value is hardcoded there.

Dear Ashapkina,

thanks. I have checked script. There is error in script so it gives error.

Thanks for support :slight_smile:

1 Like

Hi,
i am getting an error like this…can anyone can
suggest some solution??

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.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$4(ActionContributionItem.java:397)
      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: supplied value '[' is not wrapped in ]%s**
      at com.google.common.base.Preconditions.checkArgument(Preconditions.java:120)
      at com.workfusion.studio.rpa.recorder.utils.WrappedString.unwrap(WrappedString.java:37)
      at com.workfusion.studio.rpa.recorder.api.internal.representation.RTableRepresentation.getValue(RTableRepresentation.java:156)
      at com.workfusion.studio.rpa.recorder.api.types.RTable.fromCanonical(RTable.java:109)
      at com.workfusion.studio.rpa.recorder.api.types.RecorderDataType$6.instantiate(RecorderDataType.java:81)
      at com.workfusion.studio.rpa.recorder.api.types.RecorderDataType$6.instantiate(RecorderDataType.java:77)
      at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.convertToContextVariables(FlowLoader.java:98)
      at com.workfusion.studio.rpa.recorder.playback.loader.FlowLoader.load(FlowLoader.java:61)
      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.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$4(ActionContributionItem.java:397)
      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 @saranya_p the error you have is similar to the one @amol_sonavane used to have.

Open your .rpae file with a text editor and check if any wrong values are hardcoded there.

3 posts were split to a new topic: Getting data from Excel