<?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 How to avoid ArcGIS Pro crash when add-in has a visible DockPane and cannot initialize? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-avoid-arcgis-pro-crash-when-add-in-has-a/m-p/1662042#M99837</link>
    <description>&lt;P&gt;NB! Just realized I posted to wrong community, please ignore this post (did not find a way to delete it).&lt;/P&gt;&lt;P&gt;If an ArcGIS Pro add-in has a DockPane that is currently visible and the add-in's overridden Module.Initialize() method returns false because it for some reason cannot initialize properly, ArcGIS Pro crashes.&lt;/P&gt;&lt;P&gt;How can that be avoided? I have tried to hide the DockPane in either&amp;nbsp;Module.Initialize() or Module.Uninitialize(), but nothing seems to help.&lt;/P&gt;&lt;P&gt;I'm using ArcGIS Pro 3.5.3.&lt;/P&gt;&lt;P&gt;Steps to reproduce:&lt;/P&gt;&lt;P&gt;1. Start Visual Studio 2022 (17.14.18 in my case)&lt;BR /&gt;2. Create new project of type ArcGIS Pro Module Add-in&lt;BR /&gt;3. Right-click project in Solution Explorer, select Add-&amp;gt;New Item...&lt;BR /&gt;4. In the Add New Item dialog select 'ArcGIS Pro Dockpane' and click Add&lt;BR /&gt;5. Press Ctrl+F5 to build and run the project&lt;BR /&gt;6. When ArcGIS Pro starts create a new Map project&lt;BR /&gt;7. Click on the Add-In tab and click the 'Show Dockpane 1' button in 'Group 1'&lt;BR /&gt;8. Press Ctrl+S to save the project and close ArcGIS Pro&lt;BR /&gt;9. Open Module1.cs in Solution Explorer, override the Initialize() method, and make it return false.&lt;BR /&gt;10. Press Ctrl+F5 to build and run the project&lt;BR /&gt;11. When ArcGIS Pro starts, open the saved project&lt;BR /&gt;12. ArcGIS Pro crashes and displays the "ArcGIS Application has stopped working" dialog&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;</description>
    <pubDate>Wed, 29 Oct 2025 20:42:43 GMT</pubDate>
    <dc:creator>mahj</dc:creator>
    <dc:date>2025-10-29T20:42:43Z</dc:date>
    <item>
      <title>How to avoid ArcGIS Pro crash when add-in has a visible DockPane and cannot initialize?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-avoid-arcgis-pro-crash-when-add-in-has-a/m-p/1662042#M99837</link>
      <description>&lt;P&gt;NB! Just realized I posted to wrong community, please ignore this post (did not find a way to delete it).&lt;/P&gt;&lt;P&gt;If an ArcGIS Pro add-in has a DockPane that is currently visible and the add-in's overridden Module.Initialize() method returns false because it for some reason cannot initialize properly, ArcGIS Pro crashes.&lt;/P&gt;&lt;P&gt;How can that be avoided? I have tried to hide the DockPane in either&amp;nbsp;Module.Initialize() or Module.Uninitialize(), but nothing seems to help.&lt;/P&gt;&lt;P&gt;I'm using ArcGIS Pro 3.5.3.&lt;/P&gt;&lt;P&gt;Steps to reproduce:&lt;/P&gt;&lt;P&gt;1. Start Visual Studio 2022 (17.14.18 in my case)&lt;BR /&gt;2. Create new project of type ArcGIS Pro Module Add-in&lt;BR /&gt;3. Right-click project in Solution Explorer, select Add-&amp;gt;New Item...&lt;BR /&gt;4. In the Add New Item dialog select 'ArcGIS Pro Dockpane' and click Add&lt;BR /&gt;5. Press Ctrl+F5 to build and run the project&lt;BR /&gt;6. When ArcGIS Pro starts create a new Map project&lt;BR /&gt;7. Click on the Add-In tab and click the 'Show Dockpane 1' button in 'Group 1'&lt;BR /&gt;8. Press Ctrl+S to save the project and close ArcGIS Pro&lt;BR /&gt;9. Open Module1.cs in Solution Explorer, override the Initialize() method, and make it return false.&lt;BR /&gt;10. Press Ctrl+F5 to build and run the project&lt;BR /&gt;11. When ArcGIS Pro starts, open the saved project&lt;BR /&gt;12. ArcGIS Pro crashes and displays the "ArcGIS Application has stopped working" dialog&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 20:42:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-avoid-arcgis-pro-crash-when-add-in-has-a/m-p/1662042#M99837</guid>
      <dc:creator>mahj</dc:creator>
      <dc:date>2025-10-29T20:42:43Z</dc:date>
    </item>
  </channel>
</rss>

