RedGate Monitor Blocking Processes Overview

Hi,
In the Blocking Processes section in the Overview, I'm getting this error message for the "Blocking processes (top 10 by time)" and "SQL user processes (top 10 by CPU)" sections...I checked the event log on the Windows server where the Base Monitor is installed and found this repeated error message...I'm currently using version 14.0.43.6273. Thanks.



2025-01-27 21:27:05,905 [   30] ERROR RedGate.Monitor.UI.Website.Middlewares.CustomErrorHandlingMiddleware - Responding to unhandled exception with JSend error
System.NullReferenceException: Object reference not set to an instance of an object.
   at RedGate.Monitor.Common.Collections.BinaryExtensions.ToHexString(Binary binary, String prefix)
   at RedGate.Monitor.UI.Website.Dtos.Web.SharedOverview.BlockingProcessModel..ctor(ISqlInstance_SqlProcess process, DateTime collectionTime, String fullCommand, ChannelInstanceRef sqlServerCir, IJobRepository jobRepository)
   at RedGate.Monitor.UI.Website.Models.Overview.SqlInstanceOverview.BlockingTreesConstructor.ConstructBlockingModelTreeFromNode(BlockingTreeNode node, DateTime collectionTime, IDictionary`2 handlesToTextStream, ChannelInstanceRef sqlServerCir)
   at RedGate.Monitor.UI.Website.Models.Overview.SqlInstanceOverview.BlockingTreesConstructor.<>c__DisplayClass9_0.<ConstructBlockingModelTrees>b__0(BlockingTreeHeadNode headNode)
   at System.Linq.Enumerable.SelectListIterator`2.Fill(ReadOnlySpan`1 source, Span`1 destination, Func`2 func)
   at System.Linq.Enumerable.SelectListIterator`2.ToList()
   at RedGate.Monitor.UI.Website.ViewModelBuilders.SqlProcessesViewModelBuilder.CreateSqlProcessesViewModel(IReadOnlyCollection`1 sqlProcesses, Func`2 getTextStream, ChannelInstanceRef sqlServerCir, DateTime minDate, DateTime maxDate)
   at RedGate.Monitor.UI.Website.ViewModelBuilders.SqlProcessesViewModelBuilder.CreateViewModel(ChannelInstanceRef`1 dbmsCir, DateTime minDate, DateTime maxDate)
   at RedGate.Monitor.UI.Website.Controllers.SqlProcessesController.Index(ChannelInstanceRef`1 dbmsCir, Int64 startTime, Int64 endTime)
   at lambda_method1948(Closure, Object, Object[])
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ExceptionContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeNextResourceFilter()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at RedGate.Monitor.UI.Website.Authentication.AuthenticationSchemeInitializationMiddleware.Invoke(HttpContext context)
   at RedGate.Monitor.UI.Website.Middlewares.BaseMonitorSetUpMiddleware.Invoke(HttpContext context)
   at RedGate.Monitor.UI.Website.Middlewares.RequestPerformanceLoggingMiddleware.Invoke(HttpContext context)
   at RedGate.Monitor.UI.Website.Middlewares.ApplicationInsightsRequestLoggingMiddleware.Invoke(HttpContext context)
   at StackExchange.Profiling.MiniProfilerMiddleware.Invoke(HttpContext context) in C:\projects\dotnet\src\MiniProfiler.AspNetCore\MiniProfilerMiddleware.cs:line 112
   at RedGate.Monitor.UI.Website.Middlewares.MiniProfilerAddNonceToScriptsMiddleware.Invoke(HttpContext context)
   at RedGate.Monitor.UI.Website.Middlewares.CustomErrorHandlingMiddleware.Invoke(HttpContext context)
Tagged:

Answers

Sign In or Register to comment.