OpenCV: Bad input roi on Click Image


#1

Hi,

while running a Robot in Microsoft NAV the following error came up when asked to click an image:


Main has thrown an exception

Message: OpenCV: Bad input roi

Source: Invoke workflow file: Click image ‘Microsoft.Dynamics.Nav…’

Exception Type: ImageOperationException

UiPath.Core.ImageOperationException: OpenCV: Bad input roi —> System.Exception: OpenCV: Bad input roi
at UiPath.Vision.UiImage.Find(UiImage target, Double accuracy)
at UiPath.Core.Image.Find(Image image, Double accuracy)
— End of inner exception stack trace —
at UiPath.Core.Activities.InvokeWorkflowFile.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)


Capturing the image again throws the same exception again. Click Text/OCR/Element doesn’t work either. This hasn’t had any issues the last days, and there hasn’t been any changes in Microsoft NAV.

Can anyone explain to me what this error means & how this can be solved?


#2

Hi! it seems we have the exactly same error. I got this one when using a Click Image activity. I would like to know if you had solved this problem or have idea of what it is ASAP because i have less than 4 weeks to deliver my project.

Regards.