Критическая ошибка после запуска реплеера



  • Постоянно возникает критическая ошибка после запуска реплеера и программа крашится. Ниже лог. Посоветуйте, пожалуйста, решение.

    System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> Npgsql.PostgresException: 42601: syntax error at or near "m"
    at Npgsql.NpgsqlConnector.<DoReadMessage>d__148.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 System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult() at Npgsql.NpgsqlConnector.<ReadMessage>d__147.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Npgsql.NpgsqlConnector.<ReadMessage>d__147.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 System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult()
    at Npgsql.NpgsqlConnector.<ReadExpecting>d__1541.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 System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult()
    at Npgsql.NpgsqlDataReader.<NextResult>d__32.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 Npgsql.NpgsqlDataReader.NextResult()
    at Npgsql.NpgsqlCommand.<Execute>d__71.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 System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult() at Npgsql.NpgsqlCommand.<ExecuteNonQuery>d__84.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 Npgsql.NpgsqlCommand.ExecuteNonQuery() at Common.QueryExtensions.ExecuteNonQuery(String q, NpgsqlConnection connection, Session logSession, Level level, NpgsqlParameter[] commandParameters) at Hand2NoteCore.Database.HeroIdProvider.A(NicknameRoom , Byte ) at Hand2NoteCore.Database.HeroIdProvider.SaveHero(NicknameRoom hero) at Hand2NoteCore.Database.HeroIdProvider.GetHeroId(NicknameRoom hero) at R.m..ctor(k , N , ISwitchProfileDialogObserver ) at i.l.a(k ) at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- ---> (Inner Exception #0) Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "m" at Npgsql.NpgsqlConnector.<DoReadMessage>d__148.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 System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult()
    at Npgsql.NpgsqlConnector.<ReadMessage>d__147.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at Npgsql.NpgsqlConnector.<ReadMessage>d__147.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 System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult() at Npgsql.NpgsqlConnector.<ReadExpecting>d__1541.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 System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult() at Npgsql.NpgsqlDataReader.<NextResult>d__32.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 Npgsql.NpgsqlDataReader.NextResult() at Npgsql.NpgsqlCommand.<Execute>d__71.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 System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult()
    at Npgsql.NpgsqlCommand.<ExecuteNonQuery>d__84.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 Npgsql.NpgsqlCommand.ExecuteNonQuery()
    at Common.QueryExtensions.ExecuteNonQuery(String q, NpgsqlConnection connection, Session logSession, Level level, NpgsqlParameter[] commandParameters)
    at Hand2NoteCore.Database.HeroIdProvider.A(NicknameRoom , Byte )
    at Hand2NoteCore.Database.HeroIdProvider.SaveHero(NicknameRoom hero)
    at Hand2NoteCore.Database.HeroIdProvider.GetHeroId(NicknameRoom hero)
    at R.m..ctor(k , N , ISwitchProfileDialogObserver )
    at i.l.a(k )
    at System.Threading.Tasks.Task.Execute()<---

    Inner exception
    Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "m"
    at Npgsql.NpgsqlConnector.<DoReadMessage>d__148.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 System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult() at Npgsql.NpgsqlConnector.<ReadMessage>d__147.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Npgsql.NpgsqlConnector.<ReadMessage>d__147.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 System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult()
    at Npgsql.NpgsqlConnector.<ReadExpecting>d__1541.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 System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult()
    at Npgsql.NpgsqlDataReader.<NextResult>d__32.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 Npgsql.NpgsqlDataReader.NextResult()
    at Npgsql.NpgsqlCommand.<Execute>d__71.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 System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult()
    at Npgsql.NpgsqlCommand.<ExecuteNonQuery>d__84.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 Npgsql.NpgsqlCommand.ExecuteNonQuery()
    at Common.QueryExtensions.ExecuteNonQuery(String q, NpgsqlConnection connection, Session logSession, Level level, NpgsqlParameter[] commandParameters)
    at Hand2NoteCore.Database.HeroIdProvider.A(NicknameRoom , Byte )
    at Hand2NoteCore.Database.HeroIdProvider.SaveHero(NicknameRoom hero)
    at Hand2NoteCore.Database.HeroIdProvider.GetHeroId(NicknameRoom hero)
    at R.m..ctor(k , N , ISwitchProfileDialogObserver )
    at i.l.a(k )
    at System.Threading.Tasks.Task.Execute()


  • Global Moderator

    Нужно создать новую базу данных.



Похоже, подключение к Hand2Note было разорвано, подождите, пока мы пытаемся восстановить соединение.