After Upgrade Object reference not set to an instance of an object

After upgrade to Studio 2023.6.0 i am now faced with error prompt each and every time i click on something in studio apart from the main.

Unable to perform virtually any work moving forward.

image
project.json (1.6 KB)
Spouse.xaml (65.6 KB)

Hi @MKF_Motor_Sdn_Bhd

There is a issue in passing the variable to the activity. Check the Variables and argument passage.
When updating studio some of the variables got removed automatically from the activity.

Hope it helps!!

@MKF_Motor_Sdn_Bhd
To clear the cache in UiPath, you can follow these steps:

  1. Close all UiPath Studio instances.
  2. Open the Run dialog by pressing the “Windows key” + “R”.
  3. Type %localappdata%\UiPath and press Enter. This will open the UiPath cache folder.
  4. Delete the contents of the folder.
  5. Restart UiPath Studio.

I had to delete one by one each one of the activities in order to find out which activity was causing the issue.

The issue is cause by Element Appear activity.

As long as there is an Element Appear activity, no matter an existing one of a new Element Appear activity is added, it causes this issue.

The update broke the Element Appear activity.
There is another prompt for an update today for Studio, but did not resolve the issue.

Tried the clear cache suggestion but no to no avail.

Here is a blank sequence with only 1 activity added: Element Appear

Upon release of mouse button after dragging activity to main sequence

Voila!

Can confirm, I’m having the same issue with Element Exists activity.

@MKF_Motor_Sdn_Bhd @dominic44 Try to use Ui automation activities inside attach browser/open browser.

The recent upgrade broke the activity.

Kindly refer to the forum below:-