Assign activity error - Assign: Object reference not set to an instance of an object

Hello,

can anyone have any idea why I am getting error on this particular activity? Please find below what I am exactly assigning:

ls_account_numbers(account_counter) = row(“My_column”).ToString

ls_account_numbers is an array of string.

Regards,

You need to initialize the array. Please refer the below link :grinning:

2 Likes

There might be a chance of row(“My_column”).ToString returning null hence you are getting this error, Check the value before you assign.

1 Like