<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Surface Automation and PDF document in Chrome - Error occurred while retrieving screenshot / regions in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Surface-Automation-and-PDF-document-in-Chrome-Error-occurred/m-p/52350#M7246</link>
    <description>I am using BP version 6.4 and have been experiencing an issue when I attempt to modify
the surface automation after selecting the option from the Application Modeller window:

Regions --&amp;gt; View overlaid on existing screenshot

When I go back in and attempt to modify/add previously spied elements using surface automation
in the Blue Prism Region Editor (selecting&amp;nbsp;Regions --&amp;gt; View overlaid on existing screenshot),
and return back to the Application Modeller window, I receive the following error message:

"Error occurred while retrieving screenshot / regions"

At&amp;nbsp;this point, most, if not all, of my previously spied elements disappear from the Application Explorer
tree.

Here is the error message:

Error occurred while retrieving screenshot / regions

System.NullReferenceException: Object reference not set to an instance of an object.
&amp;nbsp; &amp;nbsp;at AutomateUI.clsRegionConvert.SetRelativeParentRegions(List`1&amp;amp; spyRegions, clsApplicationRegion appRegion, ICollection`1 appRegions)
&amp;nbsp; &amp;nbsp;at AutomateUI.clsRegionConvert.SetRelativeParentRegions(List`1&amp;amp; spyRegions, clsApplicationRegion appRegion, ICollection`1 appRegions)
&amp;nbsp; &amp;nbsp;at AutomateUI.clsRegionConvert.ToSpyRegions(ISpyRegionContainer cont, ICollection`1 appRegs)
&amp;nbsp; &amp;nbsp;at AutomateUI.frmRegionEditor.GetRegions(IWin32Window owner, Bitmap img, ICollection`1 currRegions, EventHandler apply)
&amp;nbsp; &amp;nbsp;at AutomateUI.frmIntegrationAssistant.CaptureRegions(clsRegionContainer cont)
&amp;nbsp; &amp;nbsp;at AutomateUI.frmIntegrationAssistant.HandleOpenScreenshotClick(Object sender, EventArgs e)

&amp;nbsp;</description>
    <pubDate>Wed, 28 Nov 2018 19:37:00 GMT</pubDate>
    <dc:creator>JohnMonastra</dc:creator>
    <dc:date>2018-11-28T19:37:00Z</dc:date>
    <item>
      <title>Surface Automation and PDF document in Chrome - Error occurred while retrieving screenshot / regions</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Surface-Automation-and-PDF-document-in-Chrome-Error-occurred/m-p/52350#M7246</link>
      <description>I am using BP version 6.4 and have been experiencing an issue when I attempt to modify
the surface automation after selecting the option from the Application Modeller window:

Regions --&amp;gt; View overlaid on existing screenshot

When I go back in and attempt to modify/add previously spied elements using surface automation
in the Blue Prism Region Editor (selecting&amp;nbsp;Regions --&amp;gt; View overlaid on existing screenshot),
and return back to the Application Modeller window, I receive the following error message:

"Error occurred while retrieving screenshot / regions"

At&amp;nbsp;this point, most, if not all, of my previously spied elements disappear from the Application Explorer
tree.

Here is the error message:

Error occurred while retrieving screenshot / regions

System.NullReferenceException: Object reference not set to an instance of an object.
&amp;nbsp; &amp;nbsp;at AutomateUI.clsRegionConvert.SetRelativeParentRegions(List`1&amp;amp; spyRegions, clsApplicationRegion appRegion, ICollection`1 appRegions)
&amp;nbsp; &amp;nbsp;at AutomateUI.clsRegionConvert.SetRelativeParentRegions(List`1&amp;amp; spyRegions, clsApplicationRegion appRegion, ICollection`1 appRegions)
&amp;nbsp; &amp;nbsp;at AutomateUI.clsRegionConvert.ToSpyRegions(ISpyRegionContainer cont, ICollection`1 appRegs)
&amp;nbsp; &amp;nbsp;at AutomateUI.frmRegionEditor.GetRegions(IWin32Window owner, Bitmap img, ICollection`1 currRegions, EventHandler apply)
&amp;nbsp; &amp;nbsp;at AutomateUI.frmIntegrationAssistant.CaptureRegions(clsRegionContainer cont)
&amp;nbsp; &amp;nbsp;at AutomateUI.frmIntegrationAssistant.HandleOpenScreenshotClick(Object sender, EventArgs e)

&amp;nbsp;</description>
      <pubDate>Wed, 28 Nov 2018 19:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Surface-Automation-and-PDF-document-in-Chrome-Error-occurred/m-p/52350#M7246</guid>
      <dc:creator>JohnMonastra</dc:creator>
      <dc:date>2018-11-28T19:37:00Z</dc:date>
    </item>
    <item>
      <title>RE: Surface Automation and PDF document in Chrome - Error occurred while retrieving screenshot / regions</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Surface-Automation-and-PDF-document-in-Chrome-Error-occurred/m-p/52351#M7247</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;Sorry for the very late reply, and I'm sure you've found the answer to your question now.&lt;BR /&gt;&lt;BR /&gt;However, in case you haven't or if someone else is looking for an answer to this: in my experience this error will occur when trying to re-spy element at parent levels. To keep this from happening again, ensure that all elements spied using the region mode are child level elements in the application modeller.&lt;BR /&gt;&lt;BR /&gt;Hanne&lt;BR /&gt;Blue Prism Developer&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Hanne Bakken&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Aug 2020 09:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Surface-Automation-and-PDF-document-in-Chrome-Error-occurred/m-p/52351#M7247</guid>
      <dc:creator>HanneBakken</dc:creator>
      <dc:date>2020-08-19T09:03:00Z</dc:date>
    </item>
  </channel>
</rss>

