Screen scrape catastrophic error

Hi,

Just started getting this error on a workflow that previously worked perfectly:

Message: Scrape round table: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

Source: Scrape round table

Exception Type: ActivityException

UiPath.Activities.ActivityException: Scrape round table: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) ---> System.Runtime.InteropServices.COMException: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
   at UiPath.UiScrapeOptionsClass.Set(String bstrAttr, Object attrVal)
   at UiPath.Library.ScrapeOptions.Set(String attribute, Object value)
   at UiPath.Activities.ScreenScraping.SetScrapeOptions(Object method, OCREngine ocrEngine, String ocrLanguage, String allowedChars, String deniedChars, Boolean invert, CorrectionMode correction, Boolean formattedText)
   at UiPath.Activities.ScreenScraping.ExecuteAsync()
   --- End of inner exception stack trace ---

Server stack trace: 
   at UiPath.Activities.UiPathActivity.HandleException(Exception ex, Boolean continueOnError)
   at UiPath.Activities.UiPathActivity.HandleException(Exception ex)
   at UiPath.Activities.ScreenScraping.ExecuteAsync()
   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 System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
   at System.Action.EndInvoke(IAsyncResult result)
   at UiPath.Activities.AsyncActivity.EndExecute(NativeActivityContext context, IAsyncResult result)
   at UiPath.Activities.AsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
   at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
   at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Please can anyone help?

Thanks,

Rob

Fixed - seems the “Screen Scrape” activity has gone. Replaced it with “Get Full Text” and it worked.

Please note that there never was a Screen Scrape activity but a wizard.

The wizard generates depending on the target application:

  • Get Full Text
  • Get Visible Text
  • Get OCR Text

More here:

Thanks Badita, are you sure about that though?

Here were the properties for this step before I fixed the “catastrophic error” (this used to work perfectly):

And here’s what I had to change it to (as no longer a “Screen Scraping” activity in the toolbox):