View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0023950 | AI War 2 | Crash/Exception | Oct 11, 2020 2:08 pm | Dec 14, 2020 5:41 pm | |
Reporter | NRSirLimbo | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 2.608 MP Deduplication And Bugfixes | ||||
Fixed in Version | 2.704 MP Notifications And Mapgen | ||||
Summary | 0023950: Multiplayer (Host) Exception Popup: "Exception in SpecialFaction_Human.DoOnAnyDeathLogic stage 4100" | ||||
Description | Another exception as multiplayer host, no mods. Exception in SpecialFaction_Human.DoOnAnyDeathLogic stage 4100 System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.External.SpecialFaction_Human.DoOnAnyDeathLogic (Arcen.AIW2.Core.GameEntity_Squad entity, Arcen.AIW2.Core.DamageSource Damage, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, Arcen.AIW2.Core.ArcenSimContext Context) [0x003a2] in <7fefacd8d6274b5eb643ab415dfc1a0c>:0 at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6099ff68ebc64d55a7e505f2902dc7fc>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6099ff68ebc64d55a7e505f2902dc7fc>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <6099ff68ebc64d55a7e505f2902dc7fc>:0 at Arcen.AIW2.External.SpecialFaction_Human.DoOnAnyDeathLogic (Arcen.AIW2.Core.GameEntity_Squad entity, Arcen.AIW2.Core.DamageSource Damage, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <7fefacd8d6274b5eb643ab415dfc1a0c>:0 at Arcen.AIW2.External.BaseScenario.DoOnAnyDeathLogic_AfterFullDeathOrPartOfStackDeath (System.Boolean IsFromOnlyPartOfStackDying, Arcen.AIW2.Core.GameEntity_Squad entity, Arcen.AIW2.Core.DamageSource Damage, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, System.Int32 numExtraStacksKilled, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <7fefacd8d6274b5eb643ab415dfc1a0c>:0 at Arcen.AIW2.Core.GameEntity_Squad.DoOnAnyDeathInCombatLogic_AfterFullDeathOrPartOfStackDeath (System.Boolean IsFromOnlyPartOfStackDying, Arcen.AIW2.Core.DamageSource Damage, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, System.Int32 numStacksKilled, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <d4289ec47a814743bced8d76de755f64>:0 at Arcen.AIW2.Core.GameEntity_Squad.DoOnDeathInCombatLogic_OnlyAferFullStackDeath (Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, Arcen.AIW2.Core.DamageSource Damage, System.Int32 numStacksKilled, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <d4289ec47a814743bced8d76de755f64>:0 at Arcen.AIW2.Core.GameEntity_Squad.DoOnDestructionLogic (System.Boolean PreventReversionToNeutral, Arcen.AIW2.Core.DamageSource Damage, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, System.Boolean wasAlive, System.Int32 numStacksKilled, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <d4289ec47a814743bced8d76de755f64>:0 at Arcen.AIW2.Core.GameEntity_Squad.TakeDamageDirectly (System.Int32 DamageAmount, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, Arcen.AIW2.Core.GameEntity_Shot ShotThatHitOrNullOnlyUsedForKnockback, Arcen.AIW2.Core.DamageSource Damage, System.Boolean PreventReversionToNeutral, System.Boolean HonorFiniteHitCountAOE, System.Int32 MaxStacksAllowedToKill, System.Boolean OnlyDamageShieldNotHull, System.Int32& ActualDamageDone, System.Int32& DamageAbortCode, Arcen.AIW2.Core.ArcenSimContext Context, Arcen.Universal.ArcenCharacterBuffer traceBuffer) [0x00000] in <d4289ec47a814743bced8d76de755f64>:0 at Arcen.AIW2.External.EntitySimLogicImplementation.DoShotHitLogic (Arcen.AIW2.Core.GameEntity_Shot ShotOrNull, Arcen.AIW2.Core.EntitySystem OriginSystemForShot, Arcen.AIW2.Core.GameEntity_Squad Target, System.Boolean HonorFiniteHitCountAOE, Arcen.Universal.FInt PercentOfTotalAttackPowerForThisHit, Arcen.Universal.FInt& PercentOfTotalAttackPowerUsedForThisHit, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <7fefacd8d6274b5eb643ab415dfc1a0c>:0 at Arcen.AIW2.External.EntitySimLogicImplementation.DoShotHitLogic (Arcen.AIW2.Core.GameEntity_Shot ShotOrNull, Arcen.AIW2.Core.EntitySystem OriginSystemForShot, Arcen.AIW2.Core.GameEntity_Squad Target, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <7fefacd8d6274b5eb643ab415dfc1a0c>:0 at Arcen.AIW2.Core.GameEntity_Shot.DoEntityStepLogic_Shot (Arcen.AIW2.Core.ArcenSimContext Context, Arcen.Universal.FInt EffectiveDeltaTime) [0x00000] in <d4289ec47a814743bced8d76de755f64>:0 at Arcen.AIW2.External.EntitySimLogicImplementation+<>c__DisplayClass32_0.<DoCombatStepForPlanet>b__3 (Arcen.AIW2.Core.GameEntity_Shot entity) [0x00000] in <7fefacd8d6274b5eb643ab415dfc1a0c>:0 at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Shot+ProcessorDelegate Processor) [0x00000] in <d4289ec47a814743bced8d76de755f64>:0 at Arcen.AIW2.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Shot+ProcessorDelegate Processor) [0x00000] in <d4289ec47a814743bced8d76de755f64>:0 at Arcen.AIW2.External.EntitySimLogicImplementation.DoCombatStepForPlanet (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <7fefacd8d6274b5eb643ab415dfc1a0c>:0 at Arcen.AIW2.External.EntitySimLogicImplementation+<>c__DisplayClass46_0.<DoCombatPerStepLogic>b__0 (Arcen.AIW2.Core.Planet planet) [0x00000] in <7fefacd8d6274b5eb643ab415dfc1a0c>:0 at Arcen.AIW2.Core.Galaxy.DoForPlanets (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00000] in <d4289ec47a814743bced8d76de755f64>:0 at Arcen.AIW2.Core.World_AIW2.DoForPlanets (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00000] in <d4289ec47a814743bced8d76de755f64>:0 at Arcen.AIW2.External.EntitySimLogicImplementation.DoCombatPerStepLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <7fefacd8d6274b5eb643ab415dfc1a0c>:0 at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldStepLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <7fefacd8d6274b5eb643ab415dfc1a0c>:0 at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <7fefacd8d6274b5eb643ab415dfc1a0c>:0 at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <7fefacd8d6274b5eb643ab415dfc1a0c>:0 at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <7fefacd8d6274b5eb643ab415dfc1a0c>:0 at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <7fefacd8d6274b5eb643ab415dfc1a0c>:0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 | ||||
Tags | No tags attached. | ||||
related to | 0023979 | resolved | Chris_McElligottPark | Multiplayer Debuglog Two sessions |
|
|
|
I've added some defensive code |
|
Thanks! * Fixed a possible nullref exception when stationary player constructors were destroyed in multiplayer. Looks like Badger may have already fixed it, though. |
Date Modified | Username | Field | Change |
---|---|---|---|
Oct 11, 2020 2:08 pm | NRSirLimbo | New Issue | |
Oct 11, 2020 2:08 pm | NRSirLimbo | File Added: ArcenDebugLog.txt | |
Oct 15, 2020 12:17 pm | BadgerBadger | Relationship added | related to 0023979 |
Oct 15, 2020 12:18 pm | BadgerBadger | Note Added: 0059237 | |
Dec 14, 2020 5:41 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Dec 14, 2020 5:41 pm | Chris_McElligottPark | Status | new => resolved |
Dec 14, 2020 5:41 pm | Chris_McElligottPark | Resolution | open => fixed |
Dec 14, 2020 5:41 pm | Chris_McElligottPark | Fixed in Version | => 2.704 MP Notifications And Mapgen |
Dec 14, 2020 5:41 pm | Chris_McElligottPark | Note Added: 0059992 |