An Object reference is not set to an instance of an object

hi!
here, I am trying to add ExpenseMonth current rows to months by using activity called add to collection and this is from academy exercise, I have checked with it and everything seems right but I don know, why am I getting “an object reference is not set to an instance of an object”

so, any help could be appreciated
thanks.

@kaavya

Object reference not set error appears if you are passing a null value
Share me the process folder and which exercise are you referring to

Thanks

shared below. kindly, check it out.
calculating monthly percentage of each expenses.zip (17.2 KB)

The list variable Months is not having any values. When you add values into the list variable before you use, you will not face this issue.

thank you,
but i got another error in the same file and the error is Assign: Input string was not in a correct format .

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