I am facing an error when i execute the task through input dialouge box

26.0.188-cloud.22252+Branch.release-s188.Sha.0e963c82108b60a5b59b17985655444bf8c9094a.0e963c82108b60a5b59b17985655444bf8c9094a

Source: Input Dialog

Message: Object reference not set to an instance of an object.

Exception Type: System.NullReferenceException

in Main.xaml
at InputDialog “Input Dialog”
at Sequence “Sequence”
at Sequence “Sequence”
at Main “Main”

Below is the error

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)

Can anyone please help me with this

@umesh.pillai1 It means the Input Dialog activity is getting a null value in one of its properties.

Please check these once:

Title is not empty/null

Label / message text is not null

Options collection is not null if you are using list/dropdown mode

default value is not coming from an uninitialized variable
If the activity was working before, try replacing that Input Dialog with a fresh one

Hi @umesh.pillai1

Pls ensure all fields have actual values: set Title, Label, and Placeholder as non‑empty strings, initialize the Options list before assigning it, and map the Result to a valid string variable.

Happy Automation

Thank you for your reponse, let me try

I am still getting the same error

@umesh.pillai1 I checked this with my system which is working.

Please show me the variable pannel. Also, is there any other acitivity on main.xaml. Please share me SS


Here is teh screenshot

There is no other activity, i was just trying to practice what i learned, but stuck with this

@umesh.pillai1 please share me the SS of maim.xaml workflow

@umesh.pillai1 From the screenshot the configuration looks correct. I tested the same setup and it is working on my side.

One thing you can try is removing the Input Dialog and adding a new one again, then map the Result to the same Prompt variable.

Also check once:

  • Clear cache and run or
  • try running it in a new blank project just to confirm

Sometimes the activity gets corrupted in the workflow and recreating it fixes the issue.

Hi~我遇到跟你一樣的問題
不過在【Options String】填入預設值(我是填 “”),讓他型態是String後就可以順利執行了!

Hello @umesh.pillai1,

There is an issue with the System activities version. Please upgrade UiPath.System.Activities to v26.2.3

Thanks,
Karthik