Object reference not set to an instance of an object - Message Box

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.

I show you the error and the context:

It is very frustrating, there is no way I can use a simple activity.

Any ideas?

Hmm
Fine
Can u create a new project and try the same again
Let’s see whether this is getting repeated

Cheers @andres.enriquez

Hi Palaniyappan, thanks for the quick reply.

Look, I created a new project, and I discovered a weird behaviour:

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.

give a try on downgrading the following packages to lower version e.g. 22.10.X level
grafik

I tried different versions, the error persist

please repeat the step on a new fresh project including UiPath Studio close and reopening.

When the issue persists also share with us the

  • UiPath Studio Version
  • Error log / message

So it can be decided if

  • a issue replication or
  • feedback to the technical team

is to do as one of the next actions

Hi

Is any other property of message box is filled with a variable that doesn’t have any value
Check that once

Cheers @andres.enriquez

Hi Peter, I share with you those details:

Version
image

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

Oh no, there are no variables at all, just a string type in the message box.

Can you shift the UiPath Languague to English and repeat the tests?

I changed the language:

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.

Thanks