Sometimes this error is caught on the server (out of hundreds of instances, 1-2 times every 2-3 days).
I looked through the sourcecode and this NRE exception doesn't seem to be possible. 😢
{
"exception": {
"Type": "System.NullReferenceException",
"TargetSite": "Boolean WaitAllIgnoreErrors(System.Threading.Tasks.Task[])",
"Message": "Object reference not set to an instance of an object.",
"Data": {},
"Source": "StackExchange.Redis",
"HResult": -2147467261,
"StackTrace": "
at StackExchange.Redis.ConnectionMultiplexer.WaitAllIgnoreErrors(Task[] tasks)
in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 463\n
at StackExchange.Redis.ConnectionMultiplexer.Close(Boolean allowCommandsToComplete)
in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2301\n
at StackExchange.Redis.ConnectionMultiplexer.Dispose()
in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2259\n
in mycode stacks..."
}
}
Sometimes this error is caught on the server (out of hundreds of instances, 1-2 times every 2-3 days). I looked through the sourcecode and this NRE exception doesn't seem to be possible. 😢
version: 2.7.33.41805