I used data scraping to extract from a website a table of data.
After which, used excel application scope to create a new excel sheet called Dcon.xlsx, and write range to copy the data into the excel.
However, i keep getting an error: Object reference not set to an instance of an object. This error usually occurs when using a variable with no set value (not initialized)
I;m not sure why this is happening and have tried to search online for a solution however to no avail.
Can anyone assist?
I don’t quite get it.
Have attached a screenshot of the error that I got, as well as the sequence I used.
Does this mean for the variable ExtractDataTable, I will have to assign a default value?
I don’t think its something to do with excel or studio version .
Can you try with other excel file.
If still the same then download new version 2017 moonlight from uipath site .
My requirement is Name have to divide as First name, Last name and Middle name based on space. I have done split string it was divided and assigned to 3 variables. But some time I didn’t have all 3 names and if one name is null it is throwing an error.
After dividing I am passing to another task these 3 values.
got the same error ,while iam using type into activity. i have read cell from excel and trying to write into a combo box using type into.please help me solving the isssue
I too was scraping data from a website, i too get this error, after doing some troubleshooting, i found the default value of ExtractDataTable Variable was behind this issue, i removed the default value and it worked like butter
Hi all, I have this error : “Object reference not set to an instance of an object” when I try to write the data table in an excel file, so write range activity throw this exception, anyone have the issue please?