Package installtion failure "UiPath.UIAutomation.Activities v18.4.1"

package installation failure “UiPath.UIAutomation.Activities v18.4.1”

Is the studio is also at the same level. I think there is a dependency with the studio.
please check.

Yes all the version 18.4.1
this is the latest community version

Hi @dura3k

Have you tried going to your package manager and trying to update the packages from there?

Uipath V18.4 - package installtion failure.pdf (399.5 KB)

Could you try removing the current package from this folder and restart Studio and your project. It will then be downloaded again:
%userprofile%\.nuget\packages

1 Like

Hello and thanks
I just did - I deleted the failing packages and restarted the UIPath Studio and still the same issue

UiPath-2.pdf (133.4 KB)

It looks like the installation might have become corrupted. Any chance you could try reinstalling the Studio. Please make sure only 1 version of the UiPath software is installed on the machine.

Also, could you copy the details of your error message by using the “Copy to Clipboard” button and paste it here?

18.4.1+Branch.master.Sha.bc66386dd8e2160b6d35f31d5ce934a5aa4cf4bd

Object reference not set to an instance of an object.

Error: System.NullReferenceException: Object reference not set to an instance of an object.
at UiPath.Studio.Shell.Packaging.PackageOperationUpdate.<>c__DisplayClass7_0.b__0(ProjectPackage req)
at UiPath.Studio.Shared.MVVM.CollectionExtensions.ForEach[TItem](IEnumerable1 collection, Action1 action)
at UiPath.Studio.Shell.Packaging.PackageOperationUpdate.GetResult(IEnumerable1 requestedPackages, IEnumerable1 installedPackages)
at UiPath.Studio.Shell.Packaging.PackageOperationWithReload.<>c__DisplayClass5_0.<b__0>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shared.MVVM.Services.DispatcherService.<>c__DisplayClass13_0.<b__0>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shared.MVVM.Services.DispatcherService.d__13.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.Packaging.PackageOperationWithReload.d__5.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at UiPath.Studio.Shell.Packaging.PackageOperationUpdate.d__3.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.Packaging.PackageService.<>c__DisplayClass30_0.<b__0>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shared.Utilities.WindowCommandsExtensions.d__3`1.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.PackageExplorer.UI.ViewModels.PackageExplorerViewModel.d__134.MoveNext(), HResult -2147467261