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)
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)
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")
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.