OwendB1 / SE-Ship_Class_System

Blue's SE Ship Class Mod
2 stars 3 forks source link

Possible Issue arising from ownership transfer from NPC (ie player hostile takeover) #15

Closed Blues-Hailfire closed 5 months ago

Blues-Hailfire commented 5 months ago

07:16:12.3646 [FATAL] Initializer: System.NullReferenceException: Object reference not set to an instance of an object. at Sandbox.Game.GameSystems.MyGridConveyorSystem.PullItem(MyDefinitionId itemId, Nullable1 amount, IMyConveyorEndpointBlock start, MyInventory destinationInventory, Boolean remove, Boolean calcImmediately) at Sandbox.Game.Entities.Blocks.MyGasGenerator.GetIceFromConveyorSystem() at Sandbox.Game.Entities.Blocks.MyGasGenerator.UpdateAfterSimulation100() at Patched_Sandbox.Game.Entities.MyParallelEntityUpdateOrchestratorUpdateAfterSimulation100_0(Object ) at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.DispatchAfterSimulation() at Sandbox.Game.Entities.MyEntities.UpdateAfterSimulation() at Sandbox.Game.World.MySector.UpdateAfterSimulation() at Patched_Sandbox.Game.World.MySessionUpdateComponents_0(Object ) at Patched_Sandbox.Game.World.MySessionUpdate_0(Object , MyTimeSpan ) at Sandbox.MySandboxGame.Update() at Patched_Sandbox.Engine.Platform.GameUpdateInternal_0(Object ) at Patched_Sandbox.Engine.Platform.GameRunSingleFrame_0(Object ) at Patched_Sandbox.Engine.Platform.FixedLoop+<>c__DisplayClass11_0<Run>b__0_0(Object ) at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback) at Sandbox.Engine.Platform.Game.RunLoop() at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen) at Torch.VRageGame.DoStart() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 326 at Torch.VRageGame.Run() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 133 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 Sandbox.Game.GameSystems.MyGridConveyorSystem.PullItem(MyDefinitionId itemId, Nullable1 amount, IMyConveyorEndpointBlock start, MyInventory destinationInventory, Boolean remove, Boolean calcImmediately) at Sandbox.Game.Entities.Blocks.MyGasGenerator.GetIceFromConveyorSystem() at Sandbox.Game.Entities.Blocks.MyGasGenerator.UpdateAfterSimulation100() at Patched_Sandbox.Game.Entities.MyParallelEntityUpdateOrchestratorUpdateAfterSimulation100_0(Object ) at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.DispatchAfterSimulation() at Sandbox.Game.Entities.MyEntities.UpdateAfterSimulation() at Sandbox.Game.World.MySector.UpdateAfterSimulation() at Patched_Sandbox.Game.World.MySessionUpdateComponents_0(Object ) at Patched_Sandbox.Game.World.MySessionUpdate_0(Object , MyTimeSpan ) at Sandbox.MySandboxGame.Update() at Patched_Sandbox.Engine.Platform.GameUpdateInternal_0(Object ) at Patched_Sandbox.Engine.Platform.GameRunSingleFrame_0(Object ) at Patched_Sandbox.Engine.Platform.FixedLoop+<>c__DisplayClass11_0b__0_0(Object ) at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback) at Sandbox.Engine.Platform.Game.RunLoop() at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen) at Torch.VRageGame.DoStart() in C:\ProgramData\Jenkins.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 326 at Torch.VRageGame.Run() in C:\ProgramData\Jenkins.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 133 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()

OwendB1 commented 5 months ago

None of the stack trace information is related to anything that belongs to the ship class mod?

Blues-Hailfire commented 5 months ago

I agree. However I agreed to forward this from the owner of NexusRedux.I wanted to get your opinion since you're more familiar with some of the more obscure logic pieces, before I told him it has nothing to do with us.