Hello
Recently, I’ve encountered an interesting bug (I suppose).
While using Data Manager / Resources Panel, while easy-dropping Assets / Queues etc. from Resources Panel, I am unable to do so. UiPath Studio throws “Object reference not set to an instance of an object”.
Detailed error log:
22.10.3+Branch.master.Sha.def2351dc828ccfbcddb6e9e07c9cf71b5bf55da
Object reference not set to an instance of an object.
Error: System.Exception: Object reference not set to an instance of an object.
at UiPath.CoreIpc.Response.CheckError()
at UiPath.CoreIpc.ServiceClient`1.<>c__DisplayClass21_1`1.<<Invoke>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List`1 cancellationTokens, Func`2 func, String message, Func`2 exceptionHandler)
at UiPath.CoreIpc.ServiceClient`1.<>c__DisplayClass21_1`1.<Invoke>b__2(Exception ex)
at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List`1 cancellationTokens, Func`2 func, String message, Func`2 exceptionHandler)
at UiPath.Studio.Plugin.Workflow.Toolbox.ToolboxControlViewModel.<>c__DisplayClass61_0.<<OnExecuteItem>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at UiPath.Studio.Shared.MVVM.Services.DispatcherService.<>c__DisplayClass18_0.<<BeginInvokeAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146233088
It does not seem as a problem with the Resources, as the error is thrown for EVERY ONE of them. It is possible to manually ad e.g., “Get Transaction Items” and fill it with properties tough, but that is definitely less convenient.
What is more, the same problem applies to the Sequences, but… not always. I’ve noticed that after trying drag & dropping a Resource from Data Manager Panel to a Flowchart, it destroys the Sequence-Type-Workflows too!
However, I’ve found a stupid solution for that matter. It turns out that when I add another activity to the Workflow (e.g., Log Message) and THEN try to drag & drop my Queue - it works as expected:
Has anyone also encountered similar bug and was able to solve it? If someone can reproduce this issue (While connected to the Orchestrator, try to drag & drop resources to the Flowchart-Type-Workflow I believe), should it be rewieved by UiPath Developers?
P.S. I was going to upload more screenshots of the issues, but as a new community user, I am allowed to post only one media file at once