When logging in for the first time or adding an account for the first time or logging out, the app crashes.
This is the error that was given by Visual Studio:DirectoryNotFoundException was unhandled by the user code
Severity
Blocker
Suggestion
We recommend catching the exception and displaying an error message so that the program more gracefully alerts the user of the error rather than crashing.
Description/Stack Trace
An exception of type 'System.IO.DirectoryNotFoundException' occurred in mscorlib.dll but was not handled in user code
Additional information: Could not find a part of the path '\\wfs1\users$\graf\Downloads\guqu-4853cb4\guqu-4853cb4\Guqu\Guqu\bin\GuquMetaDataStorageLocation\CommonDescriptor\One Drive'.
MetaDataController.cs line 161
System.IO.DirectoryNotFoundException was unhandled by user code
HResult=-2147024893
Message=Could not find a part of the path '\\wfs1\users$\graf\Downloads\guqu-4853cb4\guqu-4853cb4\Guqu\Guqu\bin\GuquMetaDataStorageLocation\CommonDescriptor\One Drive'.
Source=mscorlib
StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
at Guqu.Models.MetaDataController.createTree(TreeNode rootNode, String rootFilePath) in \\wfs1\users$\graf\Downloads\guqu-4853cb4\guqu-4853cb4\Guqu\Guqu\Models\MetaDataController.cs:line 161
at Guqu.Models.MetaDataController.getRoot(String accountName, String rootID, String accountType) in \\wfs1\users$\graf\Downloads\guqu-4853cb4\guqu-4853cb4\Guqu\Guqu\Models\MetaDataController.cs:line 154
at Guqu.MainWindow.<mimicLogin>d__14.MoveNext() in \\wfs1\users$\graf\Downloads\guqu-4853cb4\guqu-4853cb4\Guqu\Guqu\MainWindow.xaml.cs:line 100
InnerException:
Summary
When logging in for the first time or adding an account for the first time or logging out, the app crashes.
This is the error that was given by Visual Studio:
DirectoryNotFoundException was unhandled by the user code
Severity
Blocker
Suggestion
We recommend catching the exception and displaying an error message so that the program more gracefully alerts the user of the error rather than crashing.
Description/Stack Trace