Esri / distance-direction-addin-dotnet

Add-in provides the ability to easily and quickly create geodesy lines, circles, ellipses and range rings.
Apache License 2.0
17 stars 22 forks source link

ArcGIS Pro becomes unresponsive after adding multiple DD line input points quick succession #621

Closed BobBooth closed 5 years ago

BobBooth commented 6 years ago

When first using the Distance and Direction Line tool after having used the visibility tools (RLOS or LLOS on the visibility tab) if you click the input points button and click on the map multiple times in quick succession to add a few points (as if making two or three lines in a hurry), Pro locks up with the Loading Required Layer Package message.

Steps: 1) Add a raster (I used the UTM Zone 10N elevation raster in the test data). 2) Open Visibility tab and click LLOS. 3) Add an observer and a target point, run the LLOS operation. 4) Click the Distance and Direction tab. 5) Click the line tab. 6) Click the point input tool and click on the map multiple times in quick succession to add a few points, as if making two or three lines in a hurry. Pro locks up with the Loading Required Layer Package message.

CPU usage varies up and down by about a percentage point, in fractions of a percent. RAM does not seem to change. Oddly, it seems like the layer package gets loaded, because my first line actually shows up on the display. image

This does not seem to happen if the package has been loaded before, even if you remove the layers from the TOC. It does happen again if you delete the feature datasets containing the schema from the project GDB. It does not seem to affect circle, ellipse, or rings tabs.

Using ArcGIS Pro 2.2.0 and Military Tools 3.0.0.76

lfunkhouser commented 6 years ago

I'm not able to reproduce this issue. Tested on ArcGIS Pro 2.1 (MT 3.0.0.75) and ArcGIS Pro 2.2 (MT 3.0.0.76) Closing.

BobBooth commented 6 years ago

I'm still seeing it. It seems to happen after you've used the Visibility tools (both RLOS and LLOS). I suspect some sort of GDB locking issue. It is sort of like https://github.com/Esri/visibility-addin-dotnet/issues/290 in that respect. LLOS: image RLOS: image

lfunkhouser commented 6 years ago

@BobBooth Please update the original description for clarity with the listed steps to reproduce.

BobBooth commented 6 years ago

@lfunkhouser - done

topowright-zz commented 6 years ago

@CTLocalGovTeam now that we are using the same default project database the open edit session that ArcGIS Pro has by default is possibly creating this issue. We need to make sure when we are done with analysis we have to make sure to save the edits. This should be enough.

dfoll commented 6 years ago

MT build 126 or later should be able to be used to test this

dfoll commented 6 years ago

I cannot replicate this with MT build 126. @BobBooth can you please try to repro with MT build 126. And see if this is no longer happening, given you originally experienced this? If it looks to be fixed, we can proceed with the doc tasks

BobBooth commented 6 years ago

@dfoll - I cannot replicate this on MT build 126. I think OK to proceed with the doc tasks.

BobBooth commented 5 years ago

Military Tools What's new Moved Issue 621 from know issues to issues addressed. h

Distance and Direction January 2019 Moved Issue 621 from know issues to issues addressed.

dfoll commented 5 years ago

verified @BobBooth changes in pdf and of dev pages. noticed the navigation.yml for DD needed updated while I was there, created PR.