Hello everyone, I have an issue with the following error:
“Object reference not set to an instance of an object”
Context: I am just trying to use a simple activity “message box” and I am unable to use it, as per the other activities, this error persist in every other activities, that results in not being able to use UiPath at all.
I am not using any variables.
When I use the “main.xaml” file, and execute it, it works…
When I create any other sequence or workflow it fails, then it shows up the “Object reference not set to an instance of an object” error.
error log:
Error: UiPath.WorkflowProcessor.Common.Exceptions.UiPathLocalizedException: Object reference not set to an instance of an object.
at UiPath.WorkflowProcessor.Common.Preprocessing.WorkflowDocumentPreprocessor.GetDependencyTree(LoggingScope scope, String xamlFilePath, IDictionary2 codeSourceFiles) at UiPath.Studio.ProjectCompiler.Services.ProjectCompilerService.<>c__DisplayClass9_0.<CalculateCompilationDependencies>b__1(String wf) at System.Linq.Enumerable.SelectEnumerableIterator2.MoveNext()
at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext() at System.Linq.Enumerable.DistinctIterator1.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator1.ToArray() at UiPath.Studio.Plugin.Workflow.Execution.Services.ExecutionCompilationService.CompileInternal(Boolean calculateWorkflowDependencies) at UiPath.Studio.Plugin.Workflow.Execution.Services.ExecutionCompilationService.Compile(String entryWorkflow) at UiPath.Studio.Plugin.Workflow.Execution.Services.ExecutionStartConfigurator.ConfigureAsync(Boolean firstExecutionInBatch, Boolean lastExecutionInBatch, IEnumerable1 batchedDocuments, String entryWorkflow)
at UiPath.Studio.Plugin.Workflow.Execution.Services.WorkflowExecutor.StartExecution(ExecutionConfig config)
at UiPath.Studio.Shell.Execution.Services.ExecutionManagerBaseService.TryStartExecution(ExecutionConfig executionConfig, Boolean validate)
at UiPath.Studio.Shell.Execution.Services.ExecutionManagerService.<>c__DisplayClass27_0.<g__StartExecutionAsync|1>d.MoveNext()
— End of stack trace from previous location —
at UiPath.Studio.Shell.Execution.Services.ExecutionManagerService.ProcessExecutionCommand(ExecutionCommand command, Object item, ExecutionParameters executionParameters)
at UiPath.Studio.Shell.ViewModels.DebugTabViewModel.ExecuteRunProjectAsync()
at UiPath.Studio.App.Desktop.MVVM.Commands.TaskCommand`3.Execute(TExecuteParameter parameter, Boolean ignoreCanExecuteCheck)
at System.Threading.Tasks.Task.<>c.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
not the same (as not Community version) but a little bit similar
We would recommend to provide a feedback here and share the issue with the technical team. Do not miss to vote also on the vote button. Maybe it can be collected also additional feedback from others.