Error: RemoteException wrapping System.NullReferenceException: Object reference not set to an instance of an object.
at UiPath.Studio.Plugin.Workflow.LocalTriggers.Transforms.ParallelTransform.BuildBookmarkInitializationActivity()
at UiPath.Studio.Plugin.Workflow.LocalTriggers.Transforms.ParallelTransform.Transform(TransformArgs args)
at UiPath.Studio.Plugin.Workflow.LocalTriggers.Transforms.StartTransform.GenerateBigParallel(TransformArgs args)
at UiPath.Studio.Plugin.Workflow.LocalTriggers.Transforms.StartTransform.d__9.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Plugin.Workflow.LocalTriggers.Services.LocalTriggersTransformServiceProjectEndpoint.d__5.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<<-ctor>g__InvokeMethod|6>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Server.<>c__DisplayClass7_1.<<-ctor>g__HandleRequest|3>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Server.<>c__DisplayClass7_2.<<-ctor>b__5>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Helpers.d__9`1.MoveNext(), HResult -2146233088
How to overcome this as I cannot run/debug any xaml in the project.
Hi gowthamashwath.reddy,
This error usually occurs when an activity that is trying to access an object (string, datatable, etc,) finds the variable to have no value, i.e. null or empty.
Best way I’d suggest to debug this is by going through the following:
Check your arguments. Your input arguments should be IN and output arguments should be OUT.
Check assign activities. You might have jumbled up some variables due to similar names or simply as a mistake.
Check data scrapes. A data scrape activity might not have found any data in a page due to improper selectors. Have personally faced this problem a lot.
Use the Debug mode with proper breakpoints and Slow Step to make sure that the values passing among variables and arguments are doing so as necessary. Keep an eye on the variable values pane on the left.
Problem is I can’t even debug the code.
As Soon as i hit on debug/Run button, the error is popping up.
Looks like there is a bug in the latest version in UiPath, I right clicked on INIT State and used “Run from this activity”, its working fine there is no issue.
To solve this you might have to open your workflow files to see if there are any errors. In my case the errors were from my trigger activities and all I needed to do was reinstall Form.Activites and FormActivityLibrary dependencies.