Hi, I have an Automation where I execute a set of Queries in an Excel Workbook, to wait all queries are done I use the “On Element Appear” activity for a popup to appear mentioning a phrase and then perform the actions to click it away, plus another popup behind it.
First I had no problem and Published it, but now I get all the time the Error “Object reference not set to an instance of an object” with below details, almost each time I select something. However, it does run and I am still able to Publish it and the Automation also runs via the Assistant. Only when I delete the "On Element Appear"the Error stays away, but even when adding it again, while still empty I get the Error popping up. I did read some topics referencing the same Error, but they did not help me out.
Here the On Element Appear settings and Error popup:
I thought I upload the XAML file, but I am yet restricted in uploading files, so below a link (to the part of the automation that contains the issue.
Link to the file in my Google Drive
Hope someone can help, as it is very annoying.
Thank you in advacne!
Roger
Error Details:
23.6.1-beta.13324+Branch.release-v23.6.1.Sha.52787b786620e97cba5555379da6e6bb423b3e6b
Object reference not set to an instance of an object.
Error: System.Exception: Object reference not set to an instance of an object.
at System.Activities.Presentation.Validation.ValidationService.MarkParents(ValidationError validationError, IEnumerable1 errorParents, ModelItem source) at System.Activities.Presentation.Validation.ValidationService.MarkError(ValidationError validationError, List
1 errorSourcePath, ModelItem source)
at System.Activities.Presentation.Validation.ValidationService.MarkErrors(ICollection1 errors, ValidationReason reason, Activity rootActivity) at System.Activities.Presentation.Validation.ValidationService.OnValidationWorkCompleted(Tuple
3 input)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2147467261