System.NullReferenceException: Object reference not set to an instance of an object. at AspNetCoreGeneratedDocument.Views_Badge_Details.b__58_0() in C:\Users\elisa.betz\source\repos\PDT\MvcClient\Views\Badge\Details.cshtml:line 1506 at Microsoft.AspNetCore.Mvc.Razor.RazorPage.RenderSectionAsyncCore(String sectionName, Boolean required) at Microsoft.AspNetCore.Mvc.Razor.RazorPage.RenderSection(String name, Boolean required) at AspNetCoreGeneratedDocument.Views_Shared__Layout.b__41_1() in C:\Users\elisa.betz\source\repos\PDT\MvcClient\Views\Shared\_Layout.cshtml:line 187 at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync() at AspNetCoreGeneratedDocument.Views_Shared__Layout.ExecuteAsync() in C:\Users\elisa.betz\source\repos\PDT\MvcClient\Views\Shared\_Layout.cshtml:line 4 at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderLayoutAsync(ViewContext context, ViewBufferTextWriter bodyWriter) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ActionContext actionContext, IView view, ViewDataDictionary viewData, ITempDataDictionary tempData, String contentType, Nullable`1 statusCode) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync(ActionContext context, ViewResult result) at Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync(ActionContext context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 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.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context) HEADERS ======= Accept: */* Host: www.iqcpdt.com Max-Forwards: 10 Referer: https://iqcpdt.com/badge/detail/2261 User-Agent: claudebot X-FORWARDED-PROTO: https X-FORWARDED-PORT: 443 X-Forwarded-For: 44.221.83.121:57270, [fde4:8dba:1100:15c6:6c11:100:a03:5]:26110 X-Original-URL: /badge/detail/2261 X-AppGW-Trace-Id: 0bbcc59828ec114f4c1df1f3ce61425d X-ORIGINAL-HOST: www.iqcpdt.com X-ARR-LOG-ID: 22721f42-cfd1-4f75-a599-999509eb0b0f CLIENT-IP: [fde4:8dba:1100:15c6:6c11:100:a03:5]:26110 DISGUISED-HOST: www.iqcpdt.com X-SITE-DEPLOYMENT-ID: pdtprod WAS-DEFAULT-HOSTNAME: pdtprod.azurewebsites.net X-AppService-Proto: https X-ARR-SSL: 2048|256|CN=Sectigo RSA Organization Validation Secure Server CA, O=Sectigo Limited, L=Salford, S=Greater Manchester, C=GB|CN=*.iqcpdt.com, O=Italian Quality Company, S=Emilia-Romagna, C=IT X-Forwarded-TlsVersion: 1.2 X-WAWS-Unencoded-URL: /badge/detail/2261