Project

General

Profile

Actions

Bug #1142

closed

System.NullReferenceException: Object reference not set to an instance of an object.

Added by Axel "Elanis" Soupé almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Start date:
05/12/2021
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1]
An unhandled exception has occurred while executing the request.
System.NullReferenceException: Object reference not set to an instance of an object.
at Dysnomia.AchieveGames.Common.ShuffleHelper.ShuffleT in /app/Dysnomia.AchieveGames.Common/ShuffleHelper.cs:line 9
at Dysnomia.AchieveGames.Business.Implementations.SteamApplications.GetRandomAchievementForCurrentUser(String steamid) in /app/Dysnomia.AchieveGames.Business/Implementations/SteamApplications.cs:line 106
at Dysnomia.AchieveGames.WebApp.Controllers.HomeController.GetRandomAchievement(List1 games) in /app/Dysnomia.AchieveGames.WebApp/Controllers/HomeController.cs:line 54
at Dysnomia.AchieveGames.WebApp.Controllers.HomeController.RandomAchievement() in /app/Dysnomia.AchieveGames.WebApp/Controllers/HomeController.cs:line 60
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask
1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.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.g
Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g
Awaited|24_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|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
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 Dysnomia.AchieveGames.WebApp.Startup.<>c.<b
5_1>d.MoveNext() in /app/Dysnomia.AchieveGames.WebApp/Startup.cs:line 117
--- End of stack trace from previous location ---
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 Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.g
_Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)

Actions #1

Updated by Axel "Elanis" Soupé almost 3 years ago

  • Status changed from Pending to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF