Hi all, I am trying to do For Each: Object reference not set to an instance of an object.
but still I can’t resolve it, Please help me with this.
Do you have any activities below log message which has an error. Please specify or please share the screenshots of workflow. Generally Object reference not set to instance of object error occurs when the value is null.
Regards
When the issue cannot be solved by code review then debug it. Use breakpoint and debugging panels for the variable trace and inspections
There also good courses to this topic in the UiPath Academy
About:
Have a look at the OOTB functionality:
My guess here would be that the entire object is null. so not faulty in the underlying activities, but be sure to validate the EUWlist object first of existing and having content.
As for troubleshooting, the null object one is always an anoying one, since it gives little information. Use the debugger tools, breakpoints and apply various writelines in between several actvities to pinpoint the problem.
Welcome to the community
Looks like the list you provided in for loop is null…please assign values or initialize that variable
Cheers
This means your variable is not initialized and has no data. Check why EUWList isn’t initialized.