I am having some issues with a process I have build UiPath and run through the Orcherstrator. Basically, I had a process that had a very low error rate (Application Error) but last Monday the process started throwing the same exception, “Value does not fall within the expected range”. I could normally use this information to debug the process and solve the issue but in this case it threw the error on an “Element Exists” activity, which returns a boolean value. This is the full error:
InnerException: System.ArgumentException: Value does not fall within the expected range. at UiPath.UiBrowserClass.get_node() at UiPath.Core.Browser.get_Element() at UiPath.Core.Activities.Target.<>c__DisplayClass2.<GetBaseElement>b__0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute()
Naturally I did what any VB.NET/UiPath developer would do and try/catch the activity in question. This fixed the issue, but the only issue now is that I am getting the same error one day later (After a whole day of the error not showing up on the new build) on the next activity in the the sequence on my UiPath.Core.Activities.Click which simulates a double left click on the selector:
<webctrl id='DataTable_tblProduct' tag='TABLE' /> <webctrl isleaf='1' tableCol='3' tag='TD' />
I am starting to lose hair over this issue, please do tell if any of you have any clue how this happens or if it has happened to you.