Has anyone run into Error
“Object reference not set to an instance of an object”
The program will not run
Has anyone run into Error
“Object reference not set to an instance of an object”
The program will not run
Hi @Danables
This very usually happens when we forget to provide value for a variable or argument which needs a default value. This is also one reason of getting this error. Firstly, check all your variable and argument values that are used in that workflow.
Regards,
Looks like “Element Exists” is the problem,
Does anyone know how to downgrade?
Hi @Danables
Go to Manage Packages and click on the package which you want to downgrade and you can downgrade to the version you want and work with that.
Hope it helps!!
Regards,
@Danables are you using element Exist outside of Attach browser, if yes please use it inside attach browser or open browser activity.
If you are using ‘On Element Appear’ activity anywhere in project? This isn’t compatible with new UiPath studio. If you remove this activity/disable it, save the project and then this should work and you shouldn’t get this error anymore.
Object reference not set to an instance of an object also occurs when you pass NULL values at runtime but if you are getting this while using studio then try above solution. Let us know if any issue?
Hi @Danables
Downgrade UiPath.UiAutomation.Activites to make Element Exists activity work.
Hope it helps!!
Regards,
@irtetala Even managing UiPath.UIAutomation.Activites to V23.4.5 I still get the error
@snehal.dave instead of using On Element Appear, what would be your best solution to use?
Thank You
You can use Check App State activity rather than On element appear or Element exists activity.
Hope it helps!!
Regards,
Yes @Danables , as @Parvathy said, Check App State (modern) activity should work.
There is one property you can set if you want the element visible or not which is pretty similar to On Element Appear. It will also work as Element Exist.
@Danables
I did not know you were using “On Element Appear Activity”. This Activity Crashed and Already reported to UiPath Maintenance. Please remove it and use other option:
Remove from all the places:
@Danables
Please Check Now:
Think (2).zip (2.0 MB)
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.