Posted: 28 Mar 2019 15:38 EDT Last activity: 30 Apr 2019 22:30 EDT
Error: object reference not set
I have started getting this error a bit randomly saying "object reference not set to an instance of an object". Its occuring in a C# code wherein I am accessing an excel file and writing content to the file. Most recently its occuring on the statement attached in the image.
To add some context, whenever I interrogate this, it is coming up as a new control. and when i try to run automation with this , it gives me an error that the control is not matched. So it is something which is being created every time the page loads.