I have a bot that runs every few weeks and has been working for years. Today I’m getting an error the above error on an InputDialog.
IsPassword is TRUE, no Options or OptionsString (because IsPassword is TRUE).
The string is set when the variable is declared, and the scope is set to a parent sequence, so I’m confident it’s not a null variable issue. And as I said before, this used to work.
I have cleared the cache. I deleted and recreated the InputDialog step.
Putting the InputDialog in it’s own sequence and I get the following exception error:
in Get XXX company financial data.xaml
at InputDialog “Ask for XXXXXXX password”
at Flowchart “Get_XXX_Co_financial_data”
at Sequence “XXXbot”
at Get_XXX_company_financial_data “Get XXX company financial data”
System.NullReferenceException: Object reference not set to an instance of an object.
at UiPath.Core.Activities.InputDialog.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Thanks for the suggestion @johnny_o. I’ tried that. Sadly, ss it is a password I’m prompting for, I have IsPassword enabled, and with that enabled you can’t also have anything in Options.
Thanks @chinthakayala_karthik and @loginerror.
I was on an earlier version of UiPath.System.Activities - v26.2.1 and v26.2.2
I have just upgraded that package and it looks like it’s fixed in v26.2.3