Triky313 / AlbionOnline-StatisticsAnalysis

A tool with many features for the game Albion Online
https://triky313.github.io/AlbionOnline-StatisticsAnalysis/
GNU General Public License v3.0
327 stars 102 forks source link

Crash to desktop. #115

Closed biship closed 2 years ago

biship commented 2 years ago

Was just playing the game, in a Yellow T5 zone. Running 5.0.1

Settings:

{ "CurrentLanguageCultureName": "en-US", "RefreshRate": 10000, "UpdateItemListByDays": 7, "ItemListSourceUrl": "https://raw.githubusercontent.com/broderickhyman/ao-bin-dumps/master/formatted/items.json", "IsOpenItemWindowInNewWindowChecked": true, "IsInfoWindowShownOnStart": false, "FullItemInformationUpdateCycleDays": 90, "SelectedAlertSound": "", "CityPricesApiUrl": "https://www.albion-online-data.com/api/v2/stats/prices/", "CityPricesHistoryApiUrl": "https://www.albion-online-data.com/api/v2/stats/history/", "GoldStatsApiUrl": "https://www.albion-online-data.com/api/v2/stats/Gold", "MainWindowHeight": 400, "MainWindowWidth": 800, "MainWindowMaximized": true, "IsTrackingResetByMapChangeActive": false, "IsTrackingActiveAtToolStart": true, "IsMainTrackerFilterSilver": true, "IsMainTrackerFilterFame": true, "IsMainTrackerFilterFaction": true, "IsMainTrackerFilterSeasonPoints": true, "IsMainTrackerFilterEquipmentLoot": true, "IsMainTrackerFilterConsumableLoot": true, "IsMainTrackerFilterSimpleLoot": true, "IsMainTrackerFilterUnknownLoot": true, "IsDamageMeterTrackingActive": true, "IsTrackingPartyLootOnly": true, "IsTrackingSilver": true, "IsTrackingFame": true, "SavedPlayerInformationName": "Sofey", "IsLootLoggerSaveReminderActive": false }

ERRO in LOG:

ERROR 2021-12-25 06:18:30 - [1] message:StatisticsAnalysisTool.Common.UserSettings.SettingsController method:Save stacktrace:System.Windows.Window.WmDestroy > System.Windows.Window.OnClosed > StatisticsAnalysisTool.Views.MainWindow.MainWindow_OnClosed > StatisticsAnalysisTool.ViewModels.MainWindowViewModel.SaveSettings > StatisticsAnalysisTool.Common.UserSettings.SettingsController.Save line: 50 System.ArgumentException: .NET number values such as positive and negative infinity cannot be written as valid JSON. at System.Text.Json.ThrowHelper.ThrowArgumentException_ValueNotSupported() at System.Text.Json.Utf8JsonWriter.WriteNumberValue(Double value) at System.Text.Json.Serialization.Converters.DoubleConverter.Write(Utf8JsonWriter writer, Double value, JsonSerializerOptions options) at System.Text.Json.Serialization.JsonConverter1.TryWrite(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.Serialization.Metadata.JsonPropertyInfo1.GetMemberAndWriteJson(Object obj, WriteStack& state, Utf8JsonWriter writer) at System.Text.Json.Serialization.Converters.ObjectDefaultConverter1.OnTryWrite(Utf8JsonWriter writer, T value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.Serialization.JsonConverter1.TryWrite(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.Serialization.JsonConverter1.WriteCore(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.JsonSerializer.WriteUsingSerializer[TValue](Utf8JsonWriter writer, TValue& value, JsonTypeInfo jsonTypeInfo) at System.Text.Json.JsonSerializer.WriteStringUsingSerializer[TValue](TValue& value, JsonTypeInfo jsonTypeInfo) at System.Text.Json.JsonSerializer.Serialize[TValue](TValue value, JsonSerializerOptions options) at StatisticsAnalysisTool.Common.UserSettings.SettingsController.Save() in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Common\UserSettings\SettingsController.cs:line 50 ERROR 2021-12-25 06:36:08 - [.NET ThreadPool Worker] message:StatisticsAnalysisTool.Common.ApiController+d3 method:MoveNext stacktrace:System.Threading.Tasks.Task.RunContinuations > System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction > System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.MoveNext > System.Threading.ExecutionContext.RunInternal > StatisticsAnalysisTool.Common.ApiController+d3.MoveNext line: 113 System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: Authentication failed because the remote party sent a TLS alert: 'IllegalParameter'. ---> System.ComponentModel.Win32Exception (0x80090326): The message received was unexpected or badly formatted. --- End of inner exception stack trace --- at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request) at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at StatisticsAnalysisTool.Common.ApiController.GetCityItemPricesFromJsonAsync(String uniqueName, List1 locations, List1 qualities) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Common\ApiController.cs:line 133 ERROR 2021-12-25 06:38:40 - [.NET ThreadPool Worker] message:StatisticsAnalysisTool.Common.ApiController+<GetCityItemPricesFromJsonAsync>d__3 method:MoveNext stacktrace:System.Threading.Tasks.Task.RunContinuations > System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction > System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.MoveNext > System.Threading.ExecutionContext.RunInternal > StatisticsAnalysisTool.Common.ApiController+<GetCityItemPricesFromJsonAsync>d__3.MoveNext line: 113 System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: Authentication failed because the remote party sent a TLS alert: 'IllegalParameter'. ---> System.ComponentModel.Win32Exception (0x80090326): The message received was unexpected or badly formatted. --- End of inner exception stack trace --- at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request) at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.gCore|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at StatisticsAnalysisTool.Common.ApiController.GetCityItemPricesFromJsonAsync(String uniqueName, List1 locations, List1 qualities) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Common\ApiController.cs:line 133 ERROR 2021-12-25 06:40:49 - [1] message:StatisticsAnalysisTool.Common.UserSettings.SettingsController method:Save stacktrace:System.Windows.Window.WmDestroy > System.Windows.Window.OnClosed > StatisticsAnalysisTool.Views.MainWindow.MainWindow_OnClosed > StatisticsAnalysisTool.ViewModels.MainWindowViewModel.SaveSettings > StatisticsAnalysisTool.Common.UserSettings.SettingsController.Save line: 50 System.ArgumentException: .NET number values such as positive and negative infinity cannot be written as valid JSON. at System.Text.Json.ThrowHelper.ThrowArgumentException_ValueNotSupported() at System.Text.Json.Utf8JsonWriter.WriteNumberValue(Double value) at System.Text.Json.Serialization.Converters.DoubleConverter.Write(Utf8JsonWriter writer, Double value, JsonSerializerOptions options) at System.Text.Json.Serialization.JsonConverter1.TryWrite(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.Serialization.Metadata.JsonPropertyInfo1.GetMemberAndWriteJson(Object obj, WriteStack& state, Utf8JsonWriter writer) at System.Text.Json.Serialization.Converters.ObjectDefaultConverter1.OnTryWrite(Utf8JsonWriter writer, T value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.Serialization.JsonConverter1.TryWrite(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.Serialization.JsonConverter1.WriteCore(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.JsonSerializer.WriteUsingSerializer[TValue](Utf8JsonWriter writer, TValue& value, JsonTypeInfo jsonTypeInfo) at System.Text.Json.JsonSerializer.WriteStringUsingSerializer[TValue](TValue& value, JsonTypeInfo jsonTypeInfo) at System.Text.Json.JsonSerializer.Serialize[TValue](TValue value, JsonSerializerOptions options) at StatisticsAnalysisTool.Common.UserSettings.SettingsController.Save() in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Common\UserSettings\SettingsController.cs:line 50 ERROR 2021-12-25 08:51:13 - [26] message:Device_OnPacketArrival method:Device_OnPacketArrival stacktrace:SharpPcap.LibPcap.LibPcapSafeNativeMethods.pcap_dispatch > SharpPcap.LibPcap.LibPcapSafeNativeMethods.pcap_dispatch > SharpPcap.LibPcap.PcapDevice.PacketHandler > SharpPcap.LibPcap.PcapDevice.SendPacketArrivalEvent > StatisticsAnalysisTool.Network.NetworkManager.Device_OnPacketArrival line: 104 System.OverflowException: Arithmetic operation resulted in an overflow. at PhotonPackageParser.PhotonParser.HandleSendReliable(Byte[] source, Int32& offset, Int32& commandLength) at PhotonPackageParser.PhotonParser.HandleCommand(Byte[] source, Int32& offset) at PhotonPackageParser.PhotonParser.ReceivePacket(Byte[] payload) at StatisticsAnalysisTool.Network.NetworkManager.Device_OnPacketArrival(Object sender, PacketCapture e) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\NetworkManager.cs:line 122 ERROR 2021-12-25 09:56:05 - [.NET ThreadPool Worker] message:StatisticsAnalysisTool.Common.ApiController+<GetCityItemPricesFromJsonAsync>d__3 method:MoveNext stacktrace:System.Threading.Tasks.Task.RunContinuations > System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction > System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.MoveNext > System.Threading.ExecutionContext.RunInternal > StatisticsAnalysisTool.Common.ApiController+<GetCityItemPricesFromJsonAsync>d__3.MoveNext line: 113 System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: Authentication failed because the remote party sent a TLS alert: 'IllegalParameter'. ---> System.ComponentModel.Win32Exception (0x80090326): The message received was unexpected or badly formatted. --- End of inner exception stack trace --- at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request) at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at StatisticsAnalysisTool.Common.ApiController.GetCityItemPricesFromJsonAsync(String uniqueName, List1 locations, List1 qualities) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Common\ApiController.cs:line 133 FATAL 2021-12-25 12:17:54 - [.NET ThreadPool Worker] message:OnUnhandledException method:OnUnhandledException stacktrace:System.Threading.ExecutionContext.RunForThreadPoolUnsafe > System.Threading.QueueUserWorkItemCallback+<>c.<.cctor>b6_0 > System.Threading.Tasks.Task+<>c.b127_1 > System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw > StatisticsAnalysisTool.ViewModels.MainWindowViewModel.OnUnhandledException line: 319 System.ArgumentException: Destination array was not long enough. Check the destination index, length, and the array's lower bounds. (Parameter 'destinationArray') at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length) at System.Collections.Generic.List1.CopyTo(T[] array, Int32 arrayIndex) at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable1 source, Int32& length) at System.Linq.Buffer1..ctor(IEnumerable1 source) at System.Linq.OrderedEnumerable1.ToList() at StatisticsAnalysisTool.Network.Manager.TrackingController.RemovesUnnecessaryNotificationsAsync() at StatisticsAnalysisTool.Network.Manager.TrackingController.AddNotificationAsync(TrackingNotification item) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\Manager\TrackingController.cs:line 177 at StatisticsAnalysisTool.Network.Handler.UpdateFameEventHandler.OnActionAsync(UpdateFameEvent value) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\Handler\UpdateFameEventHandler.cs:line 30 at StatisticsAnalysisTool.Network.AlbionPackageParser.UpdateFameEventHandlerAsync(Dictionary2 parameters) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\AlbionPackageParser.cs:line 285 at StatisticsAnalysisTool.Network.AlbionPackageParser.OnEvent(Byte code, Dictionary`2 parameters) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\AlbionPackageParser.cs:line 173 at System.Threading.Tasks.Task.<>c.b__127_1(Object state) at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b6_0(QueueUserWorkItemCallback quwi) at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action1 callback, TState& state) at System.Threading.QueueUserWorkItemCallback.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

biship commented 2 years ago

There may be 2 issues here. The CTD, and something wrong with the settings as I get that "message:StatisticsAnalysisTool.Common.UserSettings.SettingsController error on every shutdown.

Triky313 commented 2 years ago

These seem to be mainly problems with the connection to the Albion server. Do you have any restrictions on the internet? Do you have admin rights on your PC? Which country are you trying to connect with? Do you use VPN (ExitLag)?

First of all, I would delete the entire folder and download the tool again and see what other errors would come!

biship commented 2 years ago

USA, 18ms, no VPN. Yes, I have admin. The app runs fine for hours, then CTD. Connections to a server should not cause exception errors, however.

biship commented 2 years ago

CTD on the very first mob I killed:

ERROR 2021-12-26 16:09:35 - [57] message:StatisticsAnalysisTool.Common.ApiController+<GetCityItemPricesFromJsonAsync>d__3 method:MoveNext stacktrace:System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.MoveNext > System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.MoveNext > System.Threading.ExecutionContext.RunInternal > System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.ExecutionContextCallback > StatisticsAnalysisTool.Common.ApiController+<GetCityItemPricesFromJsonAsync>d__3.MoveNext line: 113 System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing. ---> System.TimeoutException: The operation was canceled. ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled. ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request.. ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request. --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token) at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter) at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory1 buffer) at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async) at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.gCore|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at StatisticsAnalysisTool.Common.ApiController.GetCityItemPricesFromJsonAsync(String uniqueName, List1 locations, List1 qualities) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Common\ApiController.cs:line 133 ERROR 2021-12-26 16:09:35 - [61] message:StatisticsAnalysisTool.Common.ApiController+d3 method:MoveNext stacktrace:System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.MoveNext > System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.MoveNext > System.Threading.ExecutionContext.RunInternal > System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.ExecutionContextCallback > StatisticsAnalysisTool.Common.ApiController+d3.MoveNext line: 113 System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing. ---> System.TimeoutException: The operation was canceled. ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled. ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request.. ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request. --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter) at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer) at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async) at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.gCore|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.gCore|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at StatisticsAnalysisTool.Common.ApiController.GetCityItemPricesFromJsonAsync(String uniqueName, List1 locations, List1 qualities) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Common\ApiController.cs:line 133 ERROR 2021-12-26 16:09:35 - [42] message:StatisticsAnalysisTool.Common.ApiController+d3 method:MoveNext stacktrace:System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.MoveNext > System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.MoveNext > System.Threading.ExecutionContext.RunInternal > System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.ExecutionContextCallback > StatisticsAnalysisTool.Common.ApiController+d3.MoveNext line: 113 System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing. ---> System.TimeoutException: The operation was canceled. ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled. ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request.. ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request. --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter) at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer) at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async) at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.gCore|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at StatisticsAnalysisTool.Common.ApiController.GetCityItemPricesFromJsonAsync(String uniqueName, List1 locations, List1 qualities) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Common\ApiController.cs:line 133 ERROR 2021-12-26 16:09:35 - [40] message:StatisticsAnalysisTool.Common.ApiController+d3 method:MoveNext stacktrace:System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.MoveNext > System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.MoveNext > System.Threading.ExecutionContext.RunInternal > System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.ExecutionContextCallback > StatisticsAnalysisTool.Common.ApiController+d3.MoveNext line: 113 System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing. ---> System.TimeoutException: The operation was canceled. ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled. ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request.. ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request. --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter) at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory1 buffer) at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async) at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at StatisticsAnalysisTool.Common.ApiController.GetCityItemPricesFromJsonAsync(String uniqueName, List1 locations, List1 qualities) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Common\ApiController.cs:line 133 ERROR 2021-12-26 16:09:35 - [37] message:StatisticsAnalysisTool.Common.ApiController+<GetCityItemPricesFromJsonAsync>d__3 method:MoveNext stacktrace:System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.MoveNext > System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.MoveNext > System.Threading.ExecutionContext.RunInternal > System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.ExecutionContextCallback > StatisticsAnalysisTool.Common.ApiController+<GetCityItemPricesFromJsonAsync>d__3.MoveNext line: 113 System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing. ---> System.TimeoutException: The operation was canceled. ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled. ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request.. ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request. --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token) at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter) at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory1 buffer) at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async) at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.gCore|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at StatisticsAnalysisTool.Common.ApiController.GetCityItemPricesFromJsonAsync(String uniqueName, List1 locations, List1 qualities) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Common\ApiController.cs:line 133 ERROR 2021-12-26 16:09:35 - [36] message:StatisticsAnalysisTool.Common.ApiController+d3 method:MoveNext stacktrace:System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.MoveNext > System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.MoveNext > System.Threading.ExecutionContext.RunInternal > System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1.ExecutionContextCallback > StatisticsAnalysisTool.Common.ApiController+d3.MoveNext line: 113 System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing. ---> System.TimeoutException: The operation was canceled. ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled. ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request.. ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request. --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter) at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer) at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async) at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.gCore|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.gCore|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at StatisticsAnalysisTool.Common.ApiController.GetCityItemPricesFromJsonAsync(String uniqueName, List1 locations, List1 qualities) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Common\ApiController.cs:line 133 FATAL 2021-12-26 16:09:40 - [.NET ThreadPool Worker] message:OnUnhandledException method:OnUnhandledException stacktrace:System.Threading.ExecutionContext.RunForThreadPoolUnsafe > System.Threading.QueueUserWorkItemCallback+<>c.<.cctor>b__6_0 > System.Threading.Tasks.Task+<>c.b127_1 > System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw > StatisticsAnalysisTool.ViewModels.MainWindowViewModel.OnUnhandledException line: 320 System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct. at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at System.Collections.Generic.Dictionary2.set_Item(TKey key, TValue value) at LiveChartsCore.Kernel.LiveChartsSettings.HasMap[TModel](Action2 mapper) at LiveChartsCore.Kernel.LiveChartsSettings.AddDefaultMappers() at LiveChartsCore.SkiaSharpView.LiveChartsSkiaSharp.<>c.<get_DefaultPlatformBuilder>b__4_0(LiveChartsSettings settings) at LiveChartsCore.LiveCharts.Configure(Action1 configuration) at StatisticsAnalysisTool.Network.Manager.StatisticController.UpdateHourChart(ObservableCollection1 stats) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\Manager\StatisticController.cs:line 84 at StatisticsAnalysisTool.Network.Manager.StatisticController.AddValue(ValueType type, Double gainedValue) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\Manager\StatisticController.cs:line 79 at StatisticsAnalysisTool.Network.Handler.UpdateFactionStandingEventHandler.OnActionAsync(UpdateFactionStandingEvent value) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\Handler\UpdateFactionStandingEventHandler.cs:line 25 at StatisticsAnalysisTool.Network.AlbionPackageParser.UpdateFactionStandingEventHandlerAsync(Dictionary2 parameters) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\AlbionPackageParser.cs:line 386 at StatisticsAnalysisTool.Network.AlbionPackageParser.OnEvent(Byte code, Dictionary2 parameters) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\AlbionPackageParser.cs:line 173 at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__127_1(Object state) at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi) at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action1 callback, TState& state) at System.Threading.QueueUserWorkItemCallback.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() FATAL 2021-12-26 16:09:40 - [.NET ThreadPool Worker] message:OnUnhandledException method:OnUnhandledException stacktrace:System.Threading.ExecutionContext.RunForThreadPoolUnsafe > System.Threading.QueueUserWorkItemCallback+<>c.<.cctor>b6_0 > System.Threading.Tasks.Task+<>c.b__127_1 > System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw > StatisticsAnalysisTool.ViewModels.MainWindowViewModel.OnUnhandledException line: 320 System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct. at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at System.Collections.Generic.Dictionary2.set_Item(TKey key, TValue value) at LiveChartsCore.Kernel.LiveChartsSettings.HasMap[TModel](Action`2 mapper) at LiveChartsCore.Kernel.LiveChartsSettings.AddDefaultMappers() at LiveChartsCore.SkiaSharpView.LiveChartsSkiaSharp.<>c.b4_0(LiveChartsSettings settings) at LiveChartsCore.LiveCharts.Configure(Action1 configuration) at StatisticsAnalysisTool.Network.Manager.StatisticController.UpdateHourChart(ObservableCollection1 stats) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\Manager\StatisticController.cs:line 84 at StatisticsAnalysisTool.Network.Manager.StatisticController.AddValue(ValueType type, Double gainedValue) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\Manager\StatisticController.cs:line 79 at StatisticsAnalysisTool.Network.Handler.UpdateCurrencyEventHandler.OnActionAsync(UpdateCurrencyEvent value) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\Handler\UpdateCurrencyEventHandler.cs:line 32 at StatisticsAnalysisTool.Network.AlbionPackageParser.UpdateCurrencyEventHandlerAsync(Dictionary2 parameters) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\AlbionPackageParser.cs:line 302 at StatisticsAnalysisTool.Network.AlbionPackageParser.OnEvent(Byte code, Dictionary2 parameters) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\AlbionPackageParser.cs:line 173 at System.Threading.Tasks.Task.<>c.b127_1(Object state) at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi) at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state) at System.Threading.QueueUserWorkItemCallback.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() FATAL 2021-12-26 16:09:40 - [.NET ThreadPool Worker] message:OnUnhandledException method:OnUnhandledException stacktrace:System.Threading.ExecutionContext.RunForThreadPoolUnsafe > System.Threading.QueueUserWorkItemCallback+<>c.<.cctor>b6_0 > System.Threading.Tasks.Task+<>c.b127_1 > System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw > StatisticsAnalysisTool.ViewModels.MainWindowViewModel.OnUnhandledException line: 320 System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct. at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at System.Collections.Generic.Dictionary2.set_Item(TKey key, TValue value) at LiveChartsCore.Kernel.LiveChartsSettings.HasMap[TModel](Action2 mapper) at LiveChartsCore.Kernel.LiveChartsSettings.AddDefaultMappers() at LiveChartsCore.SkiaSharpView.LiveChartsSkiaSharp.<>c.<get_DefaultPlatformBuilder>b__4_0(LiveChartsSettings settings) at LiveChartsCore.LiveCharts.Configure(Action1 configuration) at StatisticsAnalysisTool.Network.Manager.StatisticController.UpdateHourChart(ObservableCollection1 stats) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\Manager\StatisticController.cs:line 84 at StatisticsAnalysisTool.Network.Manager.StatisticController.AddValue(ValueType type, Double gainedValue) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\Manager\StatisticController.cs:line 79 at StatisticsAnalysisTool.Network.Handler.UpdateFameEventHandler.OnActionAsync(UpdateFameEvent value) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\Handler\UpdateFameEventHandler.cs:line 29 at StatisticsAnalysisTool.Network.AlbionPackageParser.UpdateFameEventHandlerAsync(Dictionary2 parameters) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\AlbionPackageParser.cs:line 284 at StatisticsAnalysisTool.Network.AlbionPackageParser.OnEvent(Byte code, Dictionary`2 parameters) in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Network\AlbionPackageParser.cs:line 173 at System.Threading.Tasks.Task.<>c.b127_1(Object state) at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi) at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action1 callback, TState& state) at System.Threading.QueueUserWorkItemCallback.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback()

biship commented 2 years ago

I restarted the app, the next mob the app crashed again :( I've put the log into this folder. https://drive.google.com/drive/folders/1--sVzwJAOB2AZajgUcvMhuU_RsIHkbha?usp=sharing

Triky313 commented 2 years ago

I've uploaded a new version for you, please try it and give me feedback! If all of this still doesn't work, please check the following things... StatisticsAnalysis-AlbionOnline-v5.1.1-x64.zip

Are you using Windows 10? Install .net 6 from scratch!

Try an older version with .net 5 e.g. this one here: https://github.com/Triky313/AlbionOnline-StatisticsAnalysis/releases/tag/4.6.7

Reinstall NPCap, you may have also installed WinPCap, then uninstall that!

biship commented 2 years ago

Windows 11 x64. I reinstalled NPCAP 1.60, and did not have WinPCap installed. I installed .NET 6.01 from the URL & rebooted. If I start and close SAT without runing Albion, I get the below error. The alert sound setting is always empty, despite what i change it to in the app. I'm running this new version & will let you know if it crashes again.

ERROR 2021-12-27 12:48:49 - [1] message:StatisticsAnalysisTool.Common.UserSettings.SettingsController method:Save stacktrace:System.Windows.Window.WmDestroy > System.Windows.Window.OnClosed > StatisticsAnalysisTool.Views.MainWindow.MainWindow_OnClosed > StatisticsAnalysisTool.ViewModels.MainWindowViewModel.SaveSettings > StatisticsAnalysisTool.Common.UserSettings.SettingsController.Save line: 49 System.ArgumentException: .NET number values such as positive and negative infinity cannot be written as valid JSON. at System.Text.Json.ThrowHelper.ThrowArgumentException_ValueNotSupported() at System.Text.Json.Utf8JsonWriter.WriteNumberValue(Double value) at System.Text.Json.Serialization.Converters.DoubleConverter.Write(Utf8JsonWriter writer, Double value, JsonSerializerOptions options) at System.Text.Json.Serialization.JsonConverter1.TryWrite(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.Serialization.Metadata.JsonPropertyInfo1.GetMemberAndWriteJson(Object obj, WriteStack& state, Utf8JsonWriter writer) at System.Text.Json.Serialization.Converters.ObjectDefaultConverter1.OnTryWrite(Utf8JsonWriter writer, T value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.Serialization.JsonConverter1.TryWrite(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.Serialization.JsonConverter1.WriteCore(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.JsonSerializer.WriteUsingSerializer[TValue](Utf8JsonWriter writer, TValue& value, JsonTypeInfo jsonTypeInfo) at System.Text.Json.JsonSerializer.WriteStringUsingSerializer[TValue](TValue& value, JsonTypeInfo jsonTypeInfo) at System.Text.Json.JsonSerializer.Serialize[TValue](TValue value, JsonSerializerOptions options) at StatisticsAnalysisTool.Common.UserSettings.SettingsController.Save() in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Common\UserSettings\SettingsController.cs:line 49 `

biship commented 2 years ago

Crashed 5 mins into playing. Log uploaded in the same place. :(

Triky313 commented 2 years ago

Have you activated item alerts? Maybe there is a problem with. The best thing to do is to deactivate everything that can be deactivated and then test it piece by piece.

Okay I tested Windows 11. No problem. Have you also reset all settings? The best thing to do is to reset and delete everything, if you haven't already done so.

biship commented 2 years ago

When the app window is maximized, then CurrentSettings.MainWindowHeight & CurrentSettings.MainWindowWidth are "-infinity", so Save() in SettingsController.cs exceptions on program exit.

' ERROR 2021-12-27 20:51:17 - [1] message:StatisticsAnalysisTool.Common.UserSettings.SettingsController method:Save stacktrace:System.Windows.Window.WmDestroy > System.Windows.Window.OnClosed > StatisticsAnalysisTool.Views.MainWindow.MainWindow_OnClosed > StatisticsAnalysisTool.ViewModels.MainWindowViewModel.SaveSettings > StatisticsAnalysisTool.Common.UserSettings.SettingsController.Save line: 49 System.ArgumentException: .NET number values such as positive and negative infinity cannot be written as valid JSON. at System.Text.Json.ThrowHelper.ThrowArgumentException_ValueNotSupported() at System.Text.Json.Utf8JsonWriter.WriteNumberValue(Double value) at System.Text.Json.Serialization.Converters.DoubleConverter.Write(Utf8JsonWriter writer, Double value, JsonSerializerOptions options) at System.Text.Json.Serialization.JsonConverter1.TryWrite(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.Serialization.Metadata.JsonPropertyInfo1.GetMemberAndWriteJson(Object obj, WriteStack& state, Utf8JsonWriter writer) at System.Text.Json.Serialization.Converters.ObjectDefaultConverter1.OnTryWrite(Utf8JsonWriter writer, T value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.Serialization.JsonConverter1.TryWrite(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.Serialization.JsonConverter`1.WriteCore(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state) at System.Text.Json.JsonSerializer.WriteUsingSerializer[TValue](Utf8JsonWriter writer, TValue& value, JsonTypeInfo jsonTypeInfo) at System.Text.Json.JsonSerializer.WriteStringUsingSerializer[TValue](TValue& value, JsonTypeInfo jsonTypeInfo) at System.Text.Json.JsonSerializer.Serialize[TValue](TValue value, JsonSerializerOptions options) at StatisticsAnalysisTool.Common.UserSettings.SettingsController.Save() in C:\Users\schul\Documents\GitHub\AlbionOnline-StatisticsAnalysis\src\StatisticsAnalysisTool\Common\UserSettings\SettingsController.cs:line 49 '

Triky313 commented 2 years ago

I fixed the problem. Please test the following version: StatisticsAnalysis-AlbionOnline-v5.1.1-x64.zip

biship commented 2 years ago

Testing.

biship commented 2 years ago

No crashes. I've be using it for about 8 hours.

Triky313 commented 2 years ago

I will close the issue for now, should you have any problems again, please open an issue again.

biship commented 2 years ago

@Triky313 I was in a yellow zone. I started the app. About 15s later fought a group of mobs. Mid fight, the app crashed. Google drive file updated.

Triky313 commented 2 years ago

Please test this version: StatisticsAnalysis-AlbionOnline-v5.1.1-protocol-change-x64.zip

biship commented 2 years ago

No crashes so far. The move when maximized is broken. My code I pasted in Discord works better.

Yours: I open and it is not maximized. I double click the title and it doesnt maximize. It seems to center it, and move it to the top row -3 pixels. The normal/max button stays as unmaximized.
I click the maximize button and it maximizes, the normal/max button stays as unmaximized.
In fact, the normal/maximize button doesn't seem to change anymore.

This is without even testing moving to another monitor.

Triky313 commented 2 years ago

In the last update I changed the button. The button now always stays with the same icon, this is a standard that many programs have and that I have now adopted.

But I have another small bug fix for the maximized window when it is saved and you want it to be in its normal size again after restarting.

If you have further problems, please write an issue.