There is already a thread with this… but there is no solution on it. Not sure if I’m doing something wrong or its a bug.
Create a new project, Add a Trigger Scope, and some trigger, for example hotkeys or process start. Add some action like a message log. The automation works but if i try to publish it throws this error
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.ProjectPackager.Packager.Services.LocalTriggersPublishConfigurator.ProcessTriggers(IWorkflowProjectModel projectModel, CancellationToken ct)
at UiPath.Studio.ProjectPackager.Packager.Services.LocalTriggersPublishConfigurator.SetupAsync(IWorkflowProjectModel projectModel, IWorkflowProject project, CancellationToken ct)
at UiPath.Studio.ProjectPackager.Publish.Services.ProcessPublishProcessor.SetupAsync(IWorkflowProjectModel projectModel, ProjectPublishSettings settings)
at UiPath.Studio.ProjectPackager.Publish.Services.PublishService.PublishAsync(IWorkflowProjectModel projectModel, IPublishSettings settings), HResult -2147467261
thanks in advance