UiPath.Vision.Host has stopped working


#1

I’m getting this error on one of my machines with running a process in Studio. This same process works fine on another machine. The error is thrown as soon as the MS OCR part of the process is invoked.

The error also states: Unhandled win32 exception occurred in UiPath.Vision.Host.Exe

Any ideas on what is causing this?

Please note that this is only occurring with previously created sequences/flowcharts. If I create a new sequence/flowchart, the OCR will work as it should and doesn’t crash the robot.

I’m running Windows 7 Professional with Service pack 1, 64 bit OS with 4 GB of RAM.

I reinstalled Sharepoint Designer and it worked for one day, but then today I received the same error again today.

Below is the error details:

Problem signature:
Problem Event Name: BEX
Application Name: UiPath.Vision.Host.exe
Application Version: 2016.2.6165.19716
Application Timestamp: 582d8d08
Fault Module Name: MSVCR80.dll
Fault Module Version: 8.0.50727.6229
Fault Module Timestamp: 4ec352ab
Exception Offset: 00008aa0
Exception Code: c000000d
Exception Data: 00000000
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 8447
Additional Information 2: 84476acff3778a077baac020bca55fa2
Additional Information 3: 4172
Additional Information 4: 41726a1dbb19cd577ffdab323b8fbe6c


#2

Additional information. The sequence/workflow works on a machine with version 2016.1.6057, but does not on the machine running 2016.2.6165


#3

I re-recorded the scrape that I invoke and tried to run it by itself (not being invoked by the primary process) and it crashed and threw threw the following exception:

Scrape Member Detail 1.1 on 290 has thrown an exception

Message: One or more errors occurred.

Source: Microsoft OCR

Exception Type: AggregateException

System.AggregateException: One or more errors occurred. —> System.Exception: Error scraping using host process. Service is not available. —> System.ServiceModel.CommunicationException: There was an error reading from the pipe: Unrecognized error 109 (0x6d). —> System.IO.PipeException: There was an error reading from the pipe: Unrecognized error 109 (0x6d).
at System.ServiceModel.Channels.PipeConnection.FinishSyncRead(Boolean traceExceptionsAsErrors)
at System.ServiceModel.Channels.PipeConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
— End of inner exception stack trace —

Server stack trace:
at System.ServiceModel.Channels.PipeConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at System.ServiceModel.Channels.DelegatingConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at System.ServiceModel.Channels.SessionConnectionReader.Receive(TimeSpan timeout)
at System.ServiceModel.Channels.SynchronizedMessageSource.Receive(TimeSpan timeout)
at System.ServiceModel.Channels.TransportDuplexSessionChannel.Receive(TimeSpan timeout)
at System.ServiceModel.Channels.TransportDuplexSessionChannel.TryReceive(TimeSpan timeout, Message& message)
at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at UiPath.Vision.OCR.Service.IHostService.Scrape(OCRInput input, OCROptions options, OCROutput& output)
at UiPath.Vision.OCR.Service.HostServiceProxy.Scrape(OCRInput input, OCROptions options, OCROutput& output)
— End of inner exception stack trace —
at UiPath.Vision.OCR.Service.HostServiceProxy.Scrape(OCRInput input, OCROptions options, OCROutput& output)
at UiPath.Vision.OCR.OCRClient.<>c__DisplayClass4_0.b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
— End of inner exception stack trace —

Server stack trace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at UiPath.Vision.OCR.OCRClient.ScrapeUsingHostService(OCRInput input, OCROptions options, CancellationToken cancelToken)
at UiPath.Vision.OCR.OCRClient.Scrape(OCRInput input, OCROptions options, CancellationToken cancelToken, Boolean useHostProcess)
at UiPath.Vision.UiImage.ScrapeOCR(OCROptions options, CancellationToken cancellationToken)
at UiPath.Core.Activities.OCREngineActivity.<>c__DisplayClass36_0.b__0()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
at UiPath.Core.Activities.ScopeActivity.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)
—> (Inner Exception #0) System.Exception: Error scraping using host process. Service is not available. —> System.ServiceModel.CommunicationException: There was an error reading from the pipe: Unrecognized error 109 (0x6d). —> System.IO.PipeException: There was an error reading from the pipe: Unrecognized error 109 (0x6d).
at System.ServiceModel.Channels.PipeConnection.FinishSyncRead(Boolean traceExceptionsAsErrors)
at System.ServiceModel.Channels.PipeConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
— End of inner exception stack trace —

Server stack trace:
at System.ServiceModel.Channels.PipeConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at System.ServiceModel.Channels.DelegatingConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at System.ServiceModel.Channels.SessionConnectionReader.Receive(TimeSpan timeout)
at System.ServiceModel.Channels.SynchronizedMessageSource.Receive(TimeSpan timeout)
at System.ServiceModel.Channels.TransportDuplexSessionChannel.Receive(TimeSpan timeout)
at System.ServiceModel.Channels.TransportDuplexSessionChannel.TryReceive(TimeSpan timeout, Message& message)
at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at UiPath.Vision.OCR.Service.IHostService.Scrape(OCRInput input, OCROptions options, OCROutput& output)
at UiPath.Vision.OCR.Service.HostServiceProxy.Scrape(OCRInput input, OCROptions options, OCROutput& output)
— End of inner exception stack trace —
at UiPath.Vision.OCR.Service.HostServiceProxy.Scrape(OCRInput input, OCROptions options, OCROutput& output)
at UiPath.Vision.OCR.OCRClient.<>c__DisplayClass4_0.b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<—


#4

I installed a new version of MS Sharepoint (2013) and now the Microsoft OCR option for screen scraping is no longer present.

Not sure what to do next, need assistance.


#5

Hi Dan,

Please uninstall MS Sharepoint 2013 and restart the machine. Followed by install the SharePointDesigner from below link. This should work.
http://download.microsoft.com/download/0/4/B/04BC3569-93D6-449C-B817-A91BFBA2D9F3/SharePointDesigner.exe

Let me know if this works.

Thanks

Regards
Tejus V


#6

I followed your instructions above. The MS OCR option is now present in the drop down menu when recording screen scraping. However, as soon as the I rescrape the selected area using the MS OCR, I get an error message that the Vision Host has stopped working.

This is the same problem I had before I tried using the 2013 version. I need to know why the MS OCR is crashing and how to fix it. Everything I’ve built in UiPath needs to use the MS OCR and the software becomes useless to me if it doesn’t work.


#7

Tejus,

I followed your instructions below. The MS OCR option is now present in the drop down menu when recording screen scraping. However, as soon as the I rescrape the selected area using the MS OCR, I get an error message that the Vision Host has stopped working.

This is the same problem I had before I tried using the 2013 version. I need to know why the MS OCR is crashing and how to fix it. Everything I’ve built in UiPath needs to use the MS OCR and the software becomes useless to me if it doesn’t work.

Thank you,

Dan W.

Dan Wilson
Data Analyst
p 781-305-2381
dwilson@omniclaim.com

[cid:Omni_sig2_851ce27a-3eba-4fe1-9fc4-e49e24449b1a.png]http://www.omniclaim.com/

This email, including attachments, may include confidential and/or proprietary information, and may be
used only by the person or entity to which it is addressed. If the reader of this email is not the intended
recipient or his/her authorized agent, the reader is hereby notified that any review, dissemination, distribution
of this communication is prohibited by the sender. To do so might constitute a violation of the Electronic
Communications Privacy Act., U.S.C. Section 2510-2521. If you receive this email in error, please notify
the sender by replying to this message and delete this email immediately.


Error while using Google OCR in read pdf content
#8

I got the same error when I am running the Robot in server by using the task scheduler to run the task in Windows Server.

but if I run the Robot manually then the workflow runs fine finishes the job.

UiPath.Core.Activities.ScopeActivity.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)