I just created a framework and added few conditions while debugging or running its showing the below error.
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
Analyzer won’t find these error types, since they only occur runtime.
At some point, somewhere in your workflow you want to do some action on an object (most often arrays, dictionaries or datatables), which hasn’t been initialised. Therefor the object is null and this very common error occurs.
Make sure that you initialize your objects before invoking them.
since you invoke loads of other files there are many broken invoke links in it. The error might be in those
We must have a studio - versio mismatch, because opening the main file yields me this error:
But how I would have analyzed it: If you run your project in debug mode, it will pause on the activity once the error occurs. So then you know exactly which object is null. Then trace back that object to it’s beginning and verify (or add) its initialization.
No Exceptions @Anil_G . while clicking debug itself its showing error
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
Request you to look into this and spread this to all the developers…and @UiPath_Community please fix this or provide a proper documentation , why there are two invoke with same names.