check datatable contains data or not.
This is basically Null Pointer Exception, you are trying to work with something that is Null
I got the same issue.
Datatable IS initialized but NULL. I would expect that the write range activity would write nothing to the workbook and all good.
How do we tackle this?
P.S.:The datatable I have to write sometimes contains data and sometimes not, this is when it is null.
I faced the same issue. Do we have a solution ?