Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
2.9 kB
11
Indexable
Never
fail: Microsoft.AspNetCore.Server.Kestrel[13]
      Connection id "0HMVPVV0QAOA5", Request id "0HMVPVV0QAOA5:00000001": An unhandled exception was thrown by the application.
System.Collections.Generic.KeyNotFoundException: The given key '' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at CombatServiceAPI.Modules.Battle.ProccessDisasterEffect(Dictionary`2 targets, Int32 currentTurn, Int32 currentOrder) in D:\BountyKinds\bountykind_combat_server\Combat_Logic_DLL\Modules\Battle.cs:line 695
   at CombatServiceAPI.Modules.Battle.GetDisasterEffectOutputs(Int32 currentTurn, Int32 currentOrder) in D:\BountyKinds\bountykind_combat_server\Combat_Logic_DLL\Modules\Battle.cs:line 645
   at CombatServiceAPI.Modules.Battle.GetCombatData() in D:\BountyKinds\bountykind_combat_server\Combat_Logic_DLL\Modules\Battle.cs:line 235
   at CombatServiceAPI.Controllers.CombatController.GetCombat(GetBattleInput battleInput) in D:\BountyKinds\bountykind_combat_server\CombatServiceAPI\Controllers\CombatController.cs:line 39
   at lambda_method(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.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.<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 where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
Leave a Comment