<?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 Re: ArcGIS Pro 3.3 Regression/Unit Tests not running in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1550403#M12200</link>
    <description>&lt;P&gt;Hello Marco, I am having a similar issue except on Pro 3.2, did you ever find a fix for this?&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2024 12:29:55 GMT</pubDate>
    <dc:creator>xander-carruth</dc:creator>
    <dc:date>2024-10-21T12:29:55Z</dc:date>
    <item>
      <title>ArcGIS Pro 3.3 Regression/Unit Tests not running</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1465784#M11527</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am currently try to run some integration/unit tests with the headless pro instance.&lt;/P&gt;&lt;P&gt;I followed the steps described in the guide (&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Regression-Testing" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Regression-Testing&lt;/A&gt;) and even tried to replicate the exact same sample, without any success. I also tried to use the Extension30 nuget instead of the dlls directly (&lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/any-suggestion-on-setting-up-unit-test-project-to/m-p/1425869#M11504" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-sdk-questions/any-suggestion-on-setting-up-unit-test-project-to/m-p/1425869#M11504&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The start up process of the headless test client always throws a null pointer exception:&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;Object reference not set to an instance of an object.&lt;/LI-CODE&gt;&lt;P&gt;The stack trace implies that it has something to do with the licensing&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;   at ArcGIS.Desktop.Core.Licensing.LicensedApplication.&amp;lt;CheckForLicenseAsync&amp;gt;d__12.MoveNext()
   at ArcGIS.Desktop.Core.ProApp.&amp;lt;TestModeInitialize&amp;gt;d__15.MoveNext()
   at GetSymbolSwatchTests.TestEnvironment.&amp;lt;StartApplication&amp;gt;d__2.MoveNext() in C:\Daten\repos\sandbox\GetSymbolWatchTests\TestEnvironment.cs:line 68&lt;/LI-CODE&gt;&lt;P&gt;I got an ArcGIS Pro 3.3 installation on my host with a valid concurrent use license fetched from a server. Are there any requirements to the licensing level? I also completely reinstalled the ArcGIS Pro installation without any effect. The sample project which I used is attached (sandbox.zip).&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 10:52:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1465784#M11527</guid>
      <dc:creator>marco_vertigis</dc:creator>
      <dc:date>2024-05-14T10:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.3 Regression/Unit Tests not running</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1472949#M11539</link>
      <description>&lt;P&gt;I was about to post about a very similar situation with the following differences:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I'm stuck at version 3.2.2, and&lt;/LI&gt;&lt;LI&gt;I've got an advanced named user license authorized to work offline.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I get the very same stack trace as OP when running any test that uses any classes in the ArcGIS SDK, but these tests work as intended for the person who created them (using the same guidance doc).&amp;nbsp; That person's environment is identical to mine (as far as either of us knows) except I'm running Windows 10 and he's running Windows 11.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 15:57:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1472949#M11539</guid>
      <dc:creator>DanNarsavage_IDWR</dc:creator>
      <dc:date>2024-05-15T15:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.3 Regression/Unit Tests not running</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1473623#M11544</link>
      <description>&lt;P&gt;I did some further testing. I changed my Concurrent license to a Single Use license without any effect. After digging a bit deeper to find the cause. I get a weird error popup when initializing the 'ProApp' object, see image below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marco_vertigis_0-1715845047032.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104314i32E139DEC486EC8E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marco_vertigis_0-1715845047032.png" alt="marco_vertigis_0-1715845047032.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Afer that I get various null pointer exceptions while instantiating the ProApp object at:&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;   at ArcGIS.Desktop.Internal.Core.SignOn.SetSignOnDlgCallback() in ArcGIS.Desktop.Internal.Core\SignOn.cs:line 77&lt;/LI-CODE&gt;&lt;LI-CODE lang="markdown"&gt;   at ArcGIS.Desktop.Internal.Core.LicenseManager.InitProLicense() in ArcGIS.Desktop.Internal.Core\LicenseManager.cs:line 355&lt;/LI-CODE&gt;&lt;LI-CODE lang="markdown"&gt;   at ArcGIS.Desktop.Internal.Core.LicenseManager.CreateLicenseManager(Progressor progressor) in ArcGIS.Desktop.Internal.Core\LicenseManager.cs:line 191&lt;/LI-CODE&gt;&lt;LI-CODE lang="markdown"&gt;   at ArcGIS.Desktop.Internal.Core.LicenseManager.GetFulfillmentSource() in ArcGIS.Desktop.Internal.Core\LicenseManager.cs:line 547&lt;/LI-CODE&gt;&lt;P&gt;And finally:&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;   at ArcGIS.Desktop.Core.Licensing.LicensedApplication.&amp;lt;CheckForLicenseAsync&amp;gt;d__12.MoveNext() in ArcGIS.Desktop.Core.Licensing\LicensedApplication.cs:line 67&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The cause of all these null pointer seems to be the 'LicensingService' to be null after initializing the test mode. Unfortunately I am unable to debug this further and need some help here.&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;ArcGIS.Desktop.Internal.Core.LicenseManager.LicensingService&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 07:43:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1473623#M11544</guid>
      <dc:creator>marco_vertigis</dc:creator>
      <dc:date>2024-05-16T07:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.3 Regression/Unit Tests not running</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1473678#M11545</link>
      <description>&lt;P&gt;I did the same test with a colleague and the exact same unit test project seems to run with his Windows 11 installation. So I guess the Windows version matters?! I wonder if ESRI just tested this on Windows 11 clients..&lt;/P&gt;&lt;P&gt;Thanks for the hint, appreciate it!&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 11:05:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1473678#M11545</guid>
      <dc:creator>marco_vertigis</dc:creator>
      <dc:date>2024-05-16T11:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.3 Regression/Unit Tests not running</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1473839#M11547</link>
      <description>&lt;P&gt;I've tried our tests on a Win11 machine without success. The errors are different, but still related to spinning up Esri classes.&amp;nbsp; That led me to rule out the OS being the issue, but your experience makes it clear that it's at least a contributing factor.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 14:10:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1473839#M11547</guid>
      <dc:creator>DanNarsavage_IDWR</dc:creator>
      <dc:date>2024-05-16T14:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.3 Regression/Unit Tests not running</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1476275#M11559</link>
      <description>&lt;P&gt;Nice sleuthing! I've pivoted toward abandoning my Win10 machine in favor of a Win11 laptop so (once I figure out a few more issues with the tests) I should be able to continue development.&amp;nbsp; Our CI server is on an older server so I anticipate the same issues there (once I get the licensing for such a server figured out) so I'm still quite interested in this thread and I'll put any new pertinent observations here as well.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 14:35:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1476275#M11559</guid>
      <dc:creator>DanNarsavage_IDWR</dc:creator>
      <dc:date>2024-05-21T14:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.3 Regression/Unit Tests not running</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1476536#M11562</link>
      <description>&lt;P&gt;Could you try adding C:\Program Files\ArcGIS\Pro\bin to your system's PATH environment variable and also make sure this is the very first entry in PATH.&amp;nbsp; Then restart Visual Studio and try executing any test&lt;/P&gt;&lt;P&gt;PS: Do not add it to User PATH environment variable, select System PATH&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 20:37:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1476536#M11562</guid>
      <dc:creator>SrinivasVinnakota</dc:creator>
      <dc:date>2024-05-21T20:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.3 Regression/Unit Tests not running</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1476758#M11566</link>
      <description>&lt;P&gt;Already tried this, no effect at all.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 05:56:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1476758#M11566</guid>
      <dc:creator>marco_vertigis</dc:creator>
      <dc:date>2024-05-22T05:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.3 Regression/Unit Tests not running</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1550403#M12200</link>
      <description>&lt;P&gt;Hello Marco, I am having a similar issue except on Pro 3.2, did you ever find a fix for this?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 12:29:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1550403#M12200</guid>
      <dc:creator>xander-carruth</dc:creator>
      <dc:date>2024-10-21T12:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.3 Regression/Unit Tests not running</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1550753#M12202</link>
      <description>&lt;P&gt;Unfortunately not, I invested a lot of time in here and came to the conclusion that it is not worth the effort until ESRI makes the headless pro test more stable/usable. Stick to the Core.Host tests would be my recommendation for now.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 06:26:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1550753#M12202</guid>
      <dc:creator>marco_vertigis</dc:creator>
      <dc:date>2024-10-22T06:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.3 Regression/Unit Tests not running</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1647585#M13109</link>
      <description>&lt;P&gt;Finally got it running with another try based on the Pro Guide here:&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Regression-Testing" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Regression-Testing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The solution (atleast for me) seems to be to not sign the assemblies in the debug build.&lt;/P&gt;&lt;P&gt;Working with Pro 3.5 now.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 12:42:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-3-regression-unit-tests-not-running/m-p/1647585#M13109</guid>
      <dc:creator>marco_vertigis</dc:creator>
      <dc:date>2025-09-03T12:42:57Z</dc:date>
    </item>
  </channel>
</rss>

