we are facing an issue with a process that uses intensively the the OCR because interacts with an application using Flash.
From today the process has a strange behaviour. I report below the errors returned in the last 4 executions (from the oldest one):
After 6 hours running (but the strange thing is that after 5 minutes that the job was running it was actually stuck but the exception was given after 6 hours) the job ended with the following exception: “Job stopped with an unexpected exit code: 0xC00000FD”
In this run no logs are stored and it ended in exception after 1 minute with the following exception: “Could not start executor. A specified logon session does not exist. It may already have been terminated. (Exception from HRESULT: 0x80070520)”
In this run, after 3 minutes the job ended with the following exception: “Exception message: System.Exception: OpenCV: u != 0 —> Emgu.CV.Util.CvException: OpenCV: u != 0 at Emgu.CV.CvInvoke.CvErrorHandler(Int32 status, IntPtr funcName, IntPtr errMsg, IntPtr fileName, Int32 line, IntPtr userData) at Emgu.CV.CvInvoke.cveMatchTemplate(IntPtr image, IntPtr templ, IntPtr result, TemplateMatchingType method, IntPtr mask) at Emgu.CV.CvInvoke.MatchTemplate(IInputArray image, IInputArray templ, IOutputArray result, TemplateMatchingType method, IInputArray mask) at Emgu.CV.Image
2.MatchTemplate(Image2 template, TemplateMatchingType method) at UiPath.Vision.Detectors.ImageDetector.FindAll(Bitmap template, Double accuracy, Int32 maxMatches, Boolean fastSearch, Boolean scaledSearch) at UiPath.Vision.UiImage.FindAll(UiImage target, Double accuracy) — End of inner exception stack trace — at UiPath.Vision.UiImage.FindAll(UiImage target, Double accuracy) at UiPath.Core.Image.<>c__DisplayClass25_0.b__0() at UiPath.Core.Image.FindAll(ImageFindCriteria criteria) Exception source: UiPath.UiAutomation.Activities Exception stack trace: at UiPath.Core.Activities.AnchorBase.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom) at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom) at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)”
In this run, after 4 minutes running regularly, the job was stuck but like in the point 1, seem to run indefinitely but basically without doing nothing.