Hello everyone. I just reinstalled UiPath Studio. I had some projects finished before but after the reinstallation it happened that I am unable to execute anything without the “Object reference not set to an instance of an object.” sign showing up.
It happened the same to a colleage.
I tried creating a new project from zero, I’m just using a single variable that contains one string and a “message box” activity. That is the project all about.
I also got the log:
12:02:03.7668 => [ERROR] [UiPath.Studio] [1] 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.SelectEnumerableIterator
2.MoveNext()
at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext() at System.Linq.Enumerable.DistinctIterator
1.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, IEnumerable
1 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
We are also unable to use our old projects, the same error appears.
Any hint on what it could be?
Thanks in advance