Error in assignment2 assignment to level3

In workitem, a number button below is not clicked. If: Object reference not set to an instance of an object. How do I fix a bug?

Generate_Yearly_Report_Dispatcher.zip (819.5 KB)

@hanchanhee

This error usually occurs when you are trying to assign any Null value.

I guess TransactionItem doesn’t hold any value here and because of that it’s giving error.

If you want to check for Null value try like this.

          String.IsNullOrEmpty("TransactionItem")
1 Like

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