Closed ike709 closed 4 years ago
UPDATE: This other exception occurred the first time I tried to run it.
[FATL] unhandled: System.Collections.Generic.KeyNotFoundException: The given key '2' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Robust.Shared.Map.MapManager.GetGrid(GridId gridID) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Shared\Map\MapManager.cs:line 496
at Robust.Server.GameObjects.ServerEntityManager.CreateEntityUninitialized(String prototypeName, GridCoordinates coordinates) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\GameObjects\ServerEntityManager.cs:line 71
at Robust.Server.GameObjects.ServerEntityManager.SpawnEntity(String protoName, GridCoordinates coordinates) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\GameObjects\ServerEntityManager.cs:line 121
at Content.Server.GameObjects.Components.Mobs.MindComponent.<>c__DisplayClass14_0.<Shutdown>b__0() in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\Content.Server\GameObjects\Components\Mobs\MindComponent.cs:line 101
at Robust.Shared.Timers.Timer.Update(Single frameTime, IRuntimeLog runtimeLog) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Shared\Timers\Timer.cs:line 58
at Robust.Shared.Timers.TimerManager.UpdateTimers(FrameEventArgs frameEventArgs) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Shared\Timers\TimerManager.cs:line 35
at Robust.Server.BaseServer.Update(FrameEventArgs frameEventArgs) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\BaseServer.cs:line 461
at Robust.Server.BaseServer.<MainLoop>b__40_0(Object sender, FrameEventArgs args) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\BaseServer.cs:line 335
at Robust.Shared.Timing.GameLoop.Run() in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Shared\Timing\GameLoop.cs:line 191
at Robust.Server.BaseServer.MainLoop() in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\BaseServer.cs:line 343
at Robust.Server.Program.ParsedMain(CommandLineArgs args, Boolean contentStart) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\Program.cs:line 89
at Robust.Server.Program.<>c__DisplayClass2_0.<Start>b__0() in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\Program.cs:line 54
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
at Robust.Server.Program.Start(String[] args, Boolean contentStart) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\Program.cs:line 49
at Robust.Server.Program.Main(String[] args) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\Program.cs:line 28
Unhandled exception. System.Collections.Generic.KeyNotFoundException: The given key '2' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Robust.Shared.Map.MapManager.GetGrid(GridId gridID) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Shared\Map\MapManager.cs:line 496
at Robust.Server.GameObjects.ServerEntityManager.CreateEntityUninitialized(String prototypeName, GridCoordinates coordinates) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\GameObjects\ServerEntityManager.cs:line 71
at Robust.Server.GameObjects.ServerEntityManager.SpawnEntity(String protoName, GridCoordinates coordinates) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\GameObjects\ServerEntityManager.cs:line 121
at Content.Server.GameObjects.Components.Mobs.MindComponent.<>c__DisplayClass14_0.<Shutdown>b__0() in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\Content.Server\GameObjects\Components\Mobs\MindComponent.cs:line 101
at Robust.Shared.Timers.Timer.Update(Single frameTime, IRuntimeLog runtimeLog) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Shared\Timers\Timer.cs:line 58
at Robust.Shared.Timers.TimerManager.UpdateTimers(FrameEventArgs frameEventArgs) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Shared\Timers\TimerManager.cs:line 35
at Robust.Server.BaseServer.Update(FrameEventArgs frameEventArgs) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\BaseServer.cs:line 461
at Robust.Server.BaseServer.<MainLoop>b__40_0(Object sender, FrameEventArgs args) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\BaseServer.cs:line 335
at Robust.Shared.Timing.GameLoop.Run() in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Shared\Timing\GameLoop.cs:line 191
at Robust.Server.BaseServer.MainLoop() in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\BaseServer.cs:line 343
at Robust.Server.Program.ParsedMain(CommandLineArgs args, Boolean contentStart) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\Program.cs:line 89
at Robust.Server.Program.<>c__DisplayClass2_0.<Start>b__0() in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\Program.cs:line 54
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
at Robust.Server.Program.Start(String[] args, Boolean contentStart) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\Program.cs:line 49
at Robust.Server.Program.Main(String[] args) in C:\Users\Ike\Documents\GitHub\SS14\space-station-14\RobustToolbox\Robust.Server\Program.cs:line 28
Fixed by #1340
It works fine the first time, but then subsequent times the following error occurs: