Hi!
On my blazor server side webservice i have sometimes the problem that the application quits without any detail logging.
I viewed the system event display and found following exception:
Application: GastonWeb.exe
CoreCLR Version: 5.0.421.11614
.NET Version: 5.0.4
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Blazor.Charts.AccumulationChart.Internal.AccumulationChartTooltip.OnTimeOut(Object source, ElapsedEventArgs e)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_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()
In my developing enviroment i couldnt reproduce the error. Also in the webservice, it works for days, and once i get this error.
I saw a related post which says the solution is to increase the "maximumReceiveMessageSize" from SignalR.
I already have
services.AddServerSideBlazor().AddHubOptions(config => {
config.MaximumReceiveMessageSize = 1024 * 1024 * 128;
});
in my startup.cs
Does the exception message helps?