I have a query I had a workflow which was working fine. Now suddenly it is giving the below error
Object reference not set to an instance
I checked if there is any empty variable, there is nothing
I commented the entire workflow and gave just one write line even that gives me same error. Please help.
Looking in to this from a while now. Hence requesting help.
@vinodcrimson there are no dependencies present in this json file,
it should contain like this dependencies": {
âUiPath.UIAutomation.Activitiesâ: â[19.3.0]â,
âUiPath.System.Activitiesâ: â[19.3.0]â,
âUiPath.Excel.Activitiesâ: â[2.5.2]â,
âUiPath.Mail.Activitiesâ: â[1.3.0]â
},like the way the dependencies should show in json file.
@TimK and @venkatmalla6 - Issue is fixed - It was a datatype problem hence one variable was not getting assigned to a value. I tried hardcoding the value. This fixed the issue.
@venkatmalla6 - I understand that the project.json should be that way, but it is still the same. Donât know how to fix if thatâs an error.
Thanks alot to both for such a quick help.
Thanks
Vinod
Usually âObject reference not set to an instanceâ error occurs when you are trying to access a variable / argument that doesnât hold a value or hasnt been declared correctly.