Error after moving packages to Production

Hello,

After moving a new package from the QA tenant to Prod tenant, I get the error “Value cannot be null. (Parameter ‘path1’)” whenever the bot tries to interact with UI of apps like IE, Chrome, SAP. This is not happening for any existing automations.

The new packages are working fine in unattended mode on QA VM but not on PROD VM. I even hardcoded the values, still it is showing same error messages. Any idea what I’m missing?

Thanks!

Hi @DGA

Try updating the UiPath.System.activities package to the latest version and select the Lowestasapplicable option in the runtime.

Hope it helps!!

@DGA,

What’s the role of this variable path1 in these activities? Is it path of the application?

Look if the correct config file and arguments are passed correctly.

Thanks,
Ashok :slight_smile:

After updating the system activities, the project is no longer opening. My studio version is 2022.10.3

image

Its not working even with hardcoded values. The activities used are SAP Logon which needs SAP app path. But its also not working with attach browser activity which doesn’t need any path

Hie @DGA have you enable the server side encryption … because if not the bot is not able to interact with SAP…

Cheers Happy Automation :grinning:

Scripting is already enabled. We have many SAP based automations and all are working fine. Moreover, I’m getting this error for all UI based activities like attach browser, start process etc.

Hello

Could you try and update UiPath Studio to a more recent version?
Sometimes it helps on these sort of errors.

Regards
Soren

I’ve finally fixed it! It was happening due to Windows framework. Everything started working after I changed the project back to Legacy. UiPath support team confirmed that there is bug in Studio 2022.10.3 which has been resolved in later versions.

Thanks everyone for your help!

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