Hi, I’m facing Object reference not set to an instance of an object.
it’s running fine in my system but not able to execute in unattended session.
other thing is it used to work fine previously but throwing this error now, Have used Extract table data activity and tried to initialize it in variable too in variable field
Hi @jaswanthvarma.gottumukkal
Can you try once initializing the datatable variable before you use it, probably in an assign activity and not initialize it in variable panel.
Sometimes this solves the error
Hope this helps anyway or the other
thanks for the reply
while debugging there is no issue so if i add any breakpoint also it’s no use, it’s passing fine
There is no duplicate variable as i have added a screenshot i have created only one variable
in the last execution (a month ago) it worked fine but now it’s throwing this error.
Is it failing on this step only or the step before or after?
Because inthis step it is extracting and cannot fail with object ref if extracttable variable is blank as it can be blank or null there…there must be some other variable or it is failing at a later or previous activity
Then please verify what you are doing there…I believe the table is empty and you are trying to eprform aome query there so it fails…or a where condition is used where all the rows are removed and then you are trying to copytable