[VMWare Activities] Error Message "An Error Has Occurred: Object Reference Not Set To An Instance Of An Object" Appears When Running VMWare Activities In UiPath Studio 2019.10.x And 2020.4.x

Error message "An error has occured: Object reference not set to an instance of an object" appears when running VMWare activities in UiPath Studio 2019.10.x and 2020.4.x .

Issue Description: Error message “An error has occured: Object reference not set to an instance of an object” appears when running VMWare activities in UiPath Studio 2019.10.x and 2020.4.x:


But same workflow runs successfully in some other machines.


Root Cause: This is because the trusted root CA certificates from vSphere is not installed on the machine where the Robot is running.


Resolution: Install the trusted root CA certificates from vSphere on the machine where the Robot is running, as shown below,