System.NullReferenceException: Object reference not set to an instance of an object. at RealEstateAgent.Core.Managers.CommercialPropertyManager.GetCommercialProperty(Int32 Id) in D:\Clients\Orchard\Code\RealEstateAgent.Core\Managers\CommercialPropertyManager.cs:line 67 at App.UI.Pages.CommercialPropertyModel.FillData() in D:\Clients\Orchard\Code\App.UI\Pages\Commercial-details.cshtml.cs:line 64 at lambda_method8680(Closure, Object, Object[]) at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.VoidHandlerMethod.Execute(Object receiver, Object[] arguments) at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeHandlerMethodAsync() at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeNextPageFilterAsync() at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Rethrow(PageHandlerExecutedContext context) at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeInnerFilterAsync() 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.InvokeFilterPipelineAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at App.UI.InfraStructure.RequestCultureMiddleware.InvokeAsync(HttpContext context) in D:\Clients\Orchard\Code\App.UI\InfraStructure\RequestCultureMiddleware.cs:line 50 at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context) HEADERS ======= Accept: */* Accept-Encoding: gzip, br Connection: close Host: orchardeg.com User-Agent: claudebot cdn-loop: cloudflare cf-ipcountry: US x-forwarded-for: 54.204.142.235 cf-ray: 86be52efded16f9d-IAD x-forwarded-proto: https cf-visitor: {"scheme":"https"} cf-connecting-ip: 54.204.142.235