Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Core.Security.CryptoHelper.ComputeSHA256Hash(String input, Byte[] salt) +156
Core.Services.Auth.TokenManager.ValidateJwtToken(String tokenString, JwtSecurityToken& validatedToken) +312
Core.Services.Auth.TokenManager.GetAuthenticatedUser(String token) +89
Web.Controllers.Api.BaseApiController.ValidateRequestAuthentication() +217
Web.Controllers.Api.UserController.GetUserSensitiveData(Int64 userId, Boolean includePrivateInfo) +145
Web.Controllers.Api.UserController.GetUserDetails(Int64 uid) +56
lambda_method(Closure , ControllerBase , Object[] ) +93
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +261
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +33
System.Web.Mvc.Async.AsyncControllerActionInvoker.b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +12
System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +65
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +42
System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.b__3d() +98
System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.b__3f() +414
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42
System.Web.Mvc.Controller.ExecuteCore() +155
System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +97
System.Web.Mvc.MvcHandler.b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +31
System.Web.HttpContextUtil.GetCurrentContextNoAssert() +56
System.Web.HttpResponseWrapper.get_IsClientConnected() +15
System.Web.WebPages.WebPageHttpModule.Application_BeginRequest(Object sender, EventArgs e) +247
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +215
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +263
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +160
System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) +1127
System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) +113
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +723
System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationRoot(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) +47
System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) +28
Server & Request Information:
| Module | ManagedPipelineHandler |
| Notification | ExecuteRequestHandler |
| Handler | System.Web.Mvc.MvcHandler |
| Error Code | 0x80070008 |
| Requested URL | https://127.0.0.1:443/api/user/details?uid=1001&private=true |
| Physical Path | C:\inetpub\wwwroot\api\user\details.ashx |
| Logon User | NT AUTHORITY\NETWORK SERVICE |
| Logon Method | Bearer Token |
| Authentication | JWT Bearer |
| User Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/124.0.0.0 |
| HTTPS | On | TLS 1.2 |
| Process ID | w3wp.exe (3842) |
| Application Pool | DefaultAppPool (v4.0 Integrated) |
| Instance ID | 31654872 |
| Request ID | 9f2e7d1c-8a7b-6c5d-4e3f-2a1b0c9d8e7f |
| Activity ID | {8F76E123-4567-890A-BCDE-F123456789AB} |
| Version Information | Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4661.0 |
| Server | Microsoft-IIS/10.0.19041.1 |
| OS Version | Windows NT 10.0.19041.0 |
| Runtime | clr.dll 4.8.4661.0 |