So I tried using the UI Explorer to see if there were any patterns in the selectors, but I couldn’t find any.
Then I decided to use the “Data Scraping” tool. In which I set it up to only scrape the text fields
However, when i try to perform any actions with the data table that contains the information I get the error “Object reference not set to an instance of object”
Does this mean that my data scraping is not working?
If yes, why, and how could I set it up to work?
“Object reference not set to an instance of object” means the datatable you need has not been initialized , in other way it means your data scraping is not working.
And sorry I cannot access to the website and give a try…
If you are able to fetch data in preview it should give data. The output variable datatype should be a DATATABLE - just check. If possible can you please share xaml file or selector inside the respective activity.
I managed to solve that problem, instead of using a data table I found a value in the selector which I could increment. SO that problem is now solve. Thank you!
But anyways, now I am using a data table for something else, scraping usernames and storin ginto data table for later us. But I am now getting this error:
What does it mean?
form the screenshot i got to know that “usernameCoulmn” is alerady contain "@martininNN’.
I think while using Build Data table activity to create data table you should have checked Unique Check box which won’t allow any duplicate values in to that column.
I should also mention that it works compeltely fine on my computer, however when send it to my Virtual Machine, which also has UiPath downloaded, only then it throws this error.
I have uplodaed the file. Please take a look for me.
The sequence “get member username” contains the “add data row” activity which is causing problems. Main.xaml (58.4 KB)
I see what you mean, but either way the data coming into the data table from the “add data row” is different every time. But for some reason UiPath is thinking its duplicated when it’s not. You could even check my logic.
So if UiPath thinks its duplicated, when its not, it will not add be adding the data to new rows anyways
You see what I mean?
And like I said the error only comes up on my other computer for some odd reason…
I don’t see anything wrong with the workflow you uploaded. Just this one.
If you tried it unchecked and it is still not adding a data row, it is really odd
Now there are no errors but now when the add data row happens in a loop, the table outputs nothing (meaning its empty). This takes us right back to this issue:
Another thing I want to mention again, is that this exact workflow works perfectly without any problems on my other computer, for some reason it is causing problems on this computer??