Space Engineers

Space Engineers

MA PocketGear
Prozon 4 Dec, 2022 @ 3:35pm
Torch Server Crash
Not sure of the cause exactly but this was causing a server crash on restart every time. It's been happening for awhile, apparently it's been going unnoticed. Removing the mod stopped the crash. If you need anything else from me, let me know.

17:19:18.0083 [FATAL] Initializer: System.NullReferenceException: Object reference not set to an instance of an object. at Sisk.PocketGear.DamageSystem.ProtectInfo.<>c.<CalculateMass>b__19_0(IMyCubeGrid x) at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() at System.Linq.Enumerable.Sum(IEnumerable`1 source) at Sisk.PocketGear.DamageSystem.ProtectInfo.CalculateMass(IMyCubeGrid cubeGrid) at Sisk.PocketGear.DamageSystem.ProtectInfo.OnBlockRemoved(IMySlimBlock block) at System.Action`1.Invoke(T obj) at System.DelegateExtensions.InvokeIfNotNull[T1](Action`1 handler, T1 arg1) at Sandbox.Game.Entities.MyCubeGrid.NotifyBlockRemoved(MySlimBlock block) at Sandbox.Game.Entities.Cube.MyMotorAdvancedStator.Detach(MyCubeGrid topGrid, Boolean updateGroup) at System.DelegateExtensions.InvokeIfNotNull[T1](Action`1 handler, T1 arg1) at VRage.Game.Entity.MyEntity.Delete() at VRage.Game.Components.MyHierarchyComponentBase.Delete() at VRage.Game.Entity.MyEntity.Delete() at Sandbox.Game.Entities.MyEntities.CloseAll() at Sandbox.Game.Entities.MyEntities.UnloadData() at Sandbox.Game.World.MySector.UnloadData() at Sandbox.Game.World.MySession.UnloadDataComponents(Boolean beforeLoadWorld) at Sandbox.Game.World.MySession.Unload() at Sandbox.MySandboxGame.UnloadData_UpdateThread() at Sandbox.MySandboxGame.EndLoop() at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen) at Torch.VRageGame.DoStart() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 316 at Torch.VRageGame.Run() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 123 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() System.NullReferenceException: Object reference not set to an instance of an object. at Sisk.PocketGear.DamageSystem.ProtectInfo.<>c.<CalculateMass>b__19_0(IMyCubeGrid x) at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() at System.Linq.Enumerable.Sum(IEnumerable`1 source) at Sisk.PocketGear.DamageSystem.ProtectInfo.CalculateMass(IMyCubeGrid cubeGrid) at Sisk.PocketGear.DamageSystem.ProtectInfo.OnBlockRemoved(IMySlimBlock block) at System.Action`1.Invoke(T obj) at System.DelegateExtensions.InvokeIfNotNull[T1](Action`1 handler, T1 arg1) at Sandbox.Game.Entities.MyCubeGrid.NotifyBlockRemoved(MySlimBlock block) at Sandbox.Game.Entities.Cube.MyMotorAdvancedStator.Detach(MyCubeGrid topGrid, Boolean updateGroup) at System.DelegateExtensions.InvokeIfNotNull[T1](Action`1 handler, T1 arg1) at VRage.Game.Entity.MyEntity.Delete() at VRage.Game.Components.MyHierarchyComponentBase.Delete() at VRage.Game.Entity.MyEntity.Delete() at Sandbox.Game.Entities.MyEntities.CloseAll() at Sandbox.Game.Entities.MyEntities.UnloadData() at Sandbox.Game.World.MySector.UnloadData() at Sandbox.Game.World.MySession.UnloadDataComponents(Boolean beforeLoadWorld) at Sandbox.Game.World.MySession.Unload() at Sandbox.MySandboxGame.UnloadData_UpdateThread() at Sandbox.MySandboxGame.EndLoop() at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen) at Torch.VRageGame.DoStart() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 316 at Torch.VRageGame.Run() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 123 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()