<?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 AccessViolationException in PolylineBuilder in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/accessviolationexception-in-polylinebuilder/m-p/862733#M4819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found that &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic8669.html"&gt;PolylineBuilder&lt;/A&gt; throws the &lt;STRONG&gt;AccessViolationException&lt;/STRONG&gt; when the builder is used after multiple &lt;A href="https://msdn.microsoft.com/library/hh199416(v=vs.110).aspx"&gt;Dispatcher.Invoke&lt;/A&gt; calls. If I use &lt;A href="https://msdn.microsoft.com/library/ms591206(v=vs.110).aspx"&gt;BeginInvoke&lt;/A&gt;&amp;nbsp;instead of Invoke, everything goes fine, so it is the workaround. But I believe you should fix this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached VS solution with simple test add-in (&lt;STRONG&gt;TestAddIn.zip&lt;/STRONG&gt;) and test data (&lt;STRONG&gt;test.gdb.zip&lt;/STRONG&gt;, place it in Debug folder after solution building). This test add-in contains one button (&lt;EM&gt;Click Me!&lt;/EM&gt;) which opens a dialog. In this dialog click the &lt;EM&gt;Start&lt;/EM&gt; button and you'll get &lt;STRONG&gt;AccessViolationException at line #35 in FeatureClassIterator.cs&lt;/STRONG&gt; file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2016 03:27:11 GMT</pubDate>
    <dc:creator>MaxMax2</dc:creator>
    <dc:date>2016-12-06T03:27:11Z</dc:date>
    <item>
      <title>AccessViolationException in PolylineBuilder</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/accessviolationexception-in-polylinebuilder/m-p/862733#M4819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found that &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic8669.html"&gt;PolylineBuilder&lt;/A&gt; throws the &lt;STRONG&gt;AccessViolationException&lt;/STRONG&gt; when the builder is used after multiple &lt;A href="https://msdn.microsoft.com/library/hh199416(v=vs.110).aspx"&gt;Dispatcher.Invoke&lt;/A&gt; calls. If I use &lt;A href="https://msdn.microsoft.com/library/ms591206(v=vs.110).aspx"&gt;BeginInvoke&lt;/A&gt;&amp;nbsp;instead of Invoke, everything goes fine, so it is the workaround. But I believe you should fix this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached VS solution with simple test add-in (&lt;STRONG&gt;TestAddIn.zip&lt;/STRONG&gt;) and test data (&lt;STRONG&gt;test.gdb.zip&lt;/STRONG&gt;, place it in Debug folder after solution building). This test add-in contains one button (&lt;EM&gt;Click Me!&lt;/EM&gt;) which opens a dialog. In this dialog click the &lt;EM&gt;Start&lt;/EM&gt; button and you'll get &lt;STRONG&gt;AccessViolationException at line #35 in FeatureClassIterator.cs&lt;/STRONG&gt; file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 03:27:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/accessviolationexception-in-polylinebuilder/m-p/862733#M4819</guid>
      <dc:creator>MaxMax2</dc:creator>
      <dc:date>2016-12-06T03:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: AccessViolationException in PolylineBuilder</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/accessviolationexception-in-polylinebuilder/m-p/862734#M4820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Max,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for finding this bug and for the clear reproducible case. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are fixing this issue for the 1.4 release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Narelle Chedzey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 22:03:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/accessviolationexception-in-polylinebuilder/m-p/862734#M4820</guid>
      <dc:creator>NarelleChedzey</dc:creator>
      <dc:date>2016-12-13T22:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: AccessViolationException in PolylineBuilder</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/accessviolationexception-in-polylinebuilder/m-p/862735#M4821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narelle,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see it is fixed now (1.4). Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 09:03:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/accessviolationexception-in-polylinebuilder/m-p/862735#M4821</guid>
      <dc:creator>MaxMax2</dc:creator>
      <dc:date>2017-01-13T09:03:27Z</dc:date>
    </item>
  </channel>
</rss>

