UiStudio Not Working Properly Suddenly Even Though Updated

Dear Community,

I tried using UiStudio to run one of my projects I run periodically.
It had been working every time but for some reason it was not running and throwing a runtime error.
So I saw that all of a sudden the sequences I had in the project (each XAML file had a sequence which had activities in it) suddenly was not showing.
I then checked another UiStudio project and saw that the sequences were also missing.
So I tried to run that project too which always works, but that project too showed an error when running.
I made sure all my packages were updated.
I saw that my UiStudio version was 2023.04.00.
Then I even uninstalled UiStudio, went to my Automation Cloud Center and reinstalled UiPath Studio Community Edition.
The version is now 2023.10.0 Community Edition.
But still the sequences I previously had were missing and the programs which previously could run to completion now have runtime errors.
For example a type into activity which previously worked in my Chrome browser now throws a runtime error even though I have the UiPath extension for my Chrome browser.
Can someone please help me to fix this issue?


Hi @Divik

Check the scope of the variable arrayAreaFormatted
and delete the variable and recreate it.

@Divik

Which si the studio version you developed on?

Did you try with the actual package versions you used while developing

Also as per exception looks like dome variables are missing…in new .net versions even case sensitivity matters…check if the variable name is of same case

Cheers

Hi,

you not created arrayAreaFormatted variable or else please check scope of variable, in error there is directly shown variable is not declared.

Please check once.

@supriya117
Thank you for your message.
I checked again the project and specifically the Type Into activity in the screenshot I attached.
I do not have that variable “arrayAreaFormatted”.
So I am not sure why that error is showing.

@Divik

If you’re encountering an error related to a missing variable (“arrayAreaFormatted”) in your UiPath project, it typically means that there is a reference to this variable somewhere in your workflow, but it has not been defined or initialized before being used. Check and validate your workflow once.
Remove unused variables and arguments in the workflow.

@Anil_G
Thank you for your reply.
As I mentioned in the original post description, my UiStudio I now am working on is 2023.10.0.
image

Also the packages are the ones I have had and made sure to update to the latest version.

Additionally I made sure to type all the variables are of the same case and that they are all declared. The program was working fine to completion without runtime errors until a couple days ago.

Can you please advise if there possible is an issue from my Chrome Browser end when using the type into activity?
I have shown my UiPath Chrome extension below in a screenshot.

@neha.upase
Thank you for your support.
I have checked the project and do not see an arrayAreaFormatted variable.
Also I checked unused variables and it is not there.
I am not sure why all of a sudden recently that was shown in a runtime errror.

image

@Divik

is it developed also on 23.10?

and particularly after what changes it stopped working

also which activity id failing?

cheers

@Anil_G
I developed this and other programs a couple years ago.
They have been working fine until last week.
Then after I ran the programs at the end of last week, they were suddenly not working and showing runtime errors and missing the sequences as I previously mentioned.
So yesterday as mentioned I reinstalled my UiPath studio to version 2023.10.0.

Some changes were recently I added the Merlin AI Chat assistant extension to my Chrome extensions. Also I added the Internal Labs ChatGPT activities to my UiStudio which I downloaded from UiPath marketplace. It is now installed in my packages.

image

@Divik

Looks like the developed program is in windoes legacy then…if before couple of years

If so did you perform the migration? after that are you facing the issue?

also when error occurs try to open studio logs and check the errors

cheers

@Anil_G
Thank you for your continued support.
No I did not do the migration.
Yes when errors occurs I try to open studio logs and check the errors.

Anyways, can you please send me information about how to do the migration correctly?
Some of my information which might be relevant to what migration I should do is below.

Current UiPath Information:
Studio 2023.10.0
Community Edition
Community License
Per-user Installation

Current device I use UiStudio on: PC (Windows 11 OS)
Language: English (United States)

Thanks.

@Divik

Ideally if you open windows legacy automation then it prompt for conversion as well

Or gou can right click on project and select convert to windows

https://docs.uipath.com/studio/standalone/2023.4/user-guide/deprecation-of-the-windows-legacy-compatibility#converting-windows-legacy-projects-to-the-windows-compatibility

Cheers

@Anil_G
Thank you for your response.
I checked that article you sent.
Actually as mentioned in the description here, I had reinstalled UiStudio from the UiPath Automation Cloud Center at the end of last week.
Because of that, currently it shows my UiPath in the Windows version now, not Windows-Legacy version.
But it seems like there are still some runtime errors with this project which did not appear before.
As shown in the below example of a project, the dependencies are now Windows.

image

@Anil_G
@supriya117

Thank you for your responses.
Actually when checking further I had done the re-installation of UiStudio but not correctly.
Also the arrayAreaFormatted error was as a result of my incorrect configuration when I reinstalled UiStudio the first time.

So I followed all of the steps in the below video and did the re-installation of UiStudio.
Now the missing sequences are showing in my projects and there was no errorr related to arrayAreaFormatted.
I had not created that.

Anyways, I will check my UiStudio projects and see if this has solved this.
Also that channel has a video for how to enable auto-update in UiPath.
I will try also checking that in the future as a proactive measure to reduce the possibility of my UiStudio having the outdated version.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.