During the end of holistic on 8/9, tester was able to a hang app while attempting to open up a project template after already working in an existing project.
To Reproduce: The hang is hard to reproduce, but these steps were performed:
open a project in Pro
navigate to the project page and click "New" project.
click on one of the default project templates.
App hangs
Versions:
Pro 2.5.21273
Pro Intel 1333
Issue originally recorded as: /ArcGISPro/intel/issues/1436 by @Dbarnes1 :
Additional context
Team has not been able to consistently reproduce this hang as of yet. But Russel from Core did an analysis of the hang at ArcGISPro/intel/files/14228/hang-analysis.txt and identified these issues in the DistanceAndDirection Pro Addin Code. Specifically:
Code on the GUI thread is calling get result on a task (illegal) which is queued behind the current task running on the main CIM thread. This results in a deadlock.
Task.Wait and Task.Result should never be called on the GUI thread (use await).
During the end of holistic on 8/9, tester was able to a hang app while attempting to open up a project template after already working in an existing project.
To Reproduce: The hang is hard to reproduce, but these steps were performed:
Versions: Pro 2.5.21273 Pro Intel 1333
Issue originally recorded as:
/ArcGISPro/intel/issues/1436
by @Dbarnes1 :Additional context Team has not been able to consistently reproduce this hang as of yet. But Russel from Core did an analysis of the hang at
ArcGISPro/intel/files/14228/hang-analysis.txt
and identified these issues in the DistanceAndDirection Pro Addin Code. Specifically:Happening here in DistanceAndDirection Pro Addin called from here