Closed jdduh closed 5 years ago
Here is the error message in a text file. set_aoi_utilities_error.txt
I have encountered the surface.gdb error before, even on AOI's that I work with every day. I don't think this has anything to do with eBAGIS. The subroutine that generated the error initially uses classes from the GeoAnalyst ArcObjects library which seems to work less reliably with each new version of ArcMap.
I found that we are not explicitly setting the outWorkspace in the rasterAnalysis environment. I will fix this and maybe it will help.
It seems that once the subroutine fails once, it continues to fail which is what generated the ongoing exception and crash. From the stacktrace you provided, I can add some error handling that will prevent the crash but I don't know how well BAGIS will continue to function avoiding the crash. It won't be able to access the dem info.
I have made and tested the changes outlined above. Let me know when you are ready for a new add-in.
I got this error message today. Restarted ArcMap and I was fine. This is a head scratcher.
This is done in ArcGIS 10.4.1.
I got this error message when accessing the AOI downloaded from eBAGIS the first time.
Subsequently, when using the AOI utilities tool to set the AOI to any AOI, I got this error message.
After restarting ArcMap, the problem went away and everything is back to normal until the next time I set the AOI to an AOI that is freshly downloaded from eBAGIS.