While I’m performing on Read CSV Activity with a google form getting error as
“For Each Row in Data Table: Object reference not set to an instance of an object.”,
if I mention Default value VB Expression as “new DataTable” it’s debugging without errror but no output, So this is a kind request from my end. Can anyone solve the issue!..
If the datatable have no values in it, it will throw this error. Before for each check the datatable contains any data by using a message box and give the expression
Datatable.Rows.count which gives the rows count in the datatable.
I did same thing @Usha_Jyothi, after step into getting error as like “Use Browser Edge: Application form: Object reference not set to an instance of an object.”
@KuruvaJayaPrakash
in such case we do debug and using techniques like step into / out, brekapoints
(there are good courses at the UiPath Academy offered)
Along with this we can use also the debugging panels
Now we are prepared with tools and techniques, can trace and identify the location where it is breaking and will fix it with the needful.