Switch : object reference not set to an instance of an object

Hi uipath community

i debug my file at the studio suddenly the switch throw an error output "object reference not set to an instance of an object "

can someone assist me with this?
thank you all

Hi @Mohamad_Izudin_Bin_Abdul

Can u check any varaibles are null or not ?

1 Like

Hello,

In the Local panel, you can check if the variable values are not blank for the variables that are used in Switch activity.

BR,
Chaitanya

1 Like

Hi @Mohamad_Izudin_Bin_Abdul

Before switch activity, kindly print all the variables used in switch condition and check whether the variables contains value or not.

Thanks.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.