Example of the Error message:

System.ArgumentNullException: Value cannot be null.
Parameter name: element
at System.Attribute.GetCustomAttributes(MemberInfo element, Boolean inherit)
at Common.EnumAttributesCache2.GetValue(TKey key) at A.l.C(Rooms ) at Hand2NoteCore.Poker.NicknameRoom.ToString() at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args) at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args) at Hand2NoteCore.Database.PsdFromDatabaseProvider.GetPsd(NicknameRoom player) at Hand2NoteCore.Database.PsdCache.LoadItem(NicknameRoom player) at Common.KeyValueCache2.GetItem(TKey key)
at Hand2NoteCore.Database.PsdCache.GetPsd(NicknameRoom player)
at Hand2NoteCore.Database.AliasHelper.GetPlayersPsd(List1 players) at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Hand2NoteCore.Database.AliasHelper.a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Hand2NoteCore.DataView.SessionsWindowViewModel.A.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 


Solution:


Try to delete the PlayerDialog.cg and PlayersList.cg files from the C:\Program Files\Hand2Note\Config folder and create a new database.


________________________________________________________________________________________________________________________________


Попробуйте удалить файлы PlayerDialog.cg и PlayersList.cg из папки C:\Program Files\Hand2Note\Config , а также создать новую базу данных.