View Issue Details

IDProjectCategoryLast Update
0019076AI War 2Crash/ExceptionApr 25, 2017 2:48 pm
ReporterBadgerBadger Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version0.119 Ship Batch 1 of 7: 24 Ships! 
Fixed in Version0.120 Bugfixes 
Summary0019076: Object reference not set to an instance: DoHitLogic
DescriptionI have a few mods (I set the flagship to produce enormous amounts of fuel and to have a super high build speed).

I built a full cap fleet (Fully upgraded all tech levels, built all the starships, and one ARS gave me Armor Ships) and sent it to an enemy planet.

I hit a rash of errors as the fight started:
4/24/2017 8:14:33 PM World Created, Launching Server
4/24/2017 8:14:34 PM Successfully opened host socket
4/24/2017 8:50:38 PM Error in thread for execution context 'executionContext':System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.EntitySystem.GetCanHit (Arcen.AIW2.Core.GameEntity entity) [0x00001] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntitySystem.cs:293
  at Arcen.AIW2.Core.GameEntity.DoHitLogic (Arcen.AIW2.Core.GameEntity Target, Arcen.AIW2.Core.ArcenSimContext Context) [0x00008] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1992
  at Arcen.AIW2.Core.GameEntity.DoEntityStepLogic_Shot (Arcen.AIW2.Core.ArcenSimContext Context) [0x00294] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1612
  at Arcen.AIW2.Core.CombatEncounter.<DoCombatStep>m__3 (Arcen.AIW2.Core.GameEntity entity) [0x00007] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:236
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0005a] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntityCollection.cs:293
  at Arcen.AIW2.Core.CombatEncounter.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0002b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:421
  at Arcen.AIW2.Core.CombatEncounter.DoCombatStep (Arcen.AIW2.Core.ArcenSimContext Context, Boolean IsCurrentPlanetNonSim) [0x00236] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:234
  at Arcen.AIW2.Core.World_AIW2.DoWorldStepLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x0011b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\World_AIW2.cs:224
  at Arcen.AIW2.Core.SimExecution.Execute () [0x00043] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimExecution\SimExecution.cs:27
4/24/2017 8:50:38 PM Error in thread for execution context 'executionContext':System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.EntitySystem.GetCanHit (Arcen.AIW2.Core.GameEntity entity) [0x00001] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntitySystem.cs:293
  at Arcen.AIW2.Core.GameEntity.DoHitLogic (Arcen.AIW2.Core.GameEntity Target, Arcen.AIW2.Core.ArcenSimContext Context) [0x00008] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1992
  at Arcen.AIW2.Core.GameEntity.DoEntityStepLogic_Shot (Arcen.AIW2.Core.ArcenSimContext Context) [0x00294] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1612
  at Arcen.AIW2.Core.CombatEncounter.<DoCombatStep>m__3 (Arcen.AIW2.Core.GameEntity entity) [0x00007] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:236
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0005a] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntityCollection.cs:293
  at Arcen.AIW2.Core.CombatEncounter.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0002b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:421
  at Arcen.AIW2.Core.CombatEncounter.DoCombatStep (Arcen.AIW2.Core.ArcenSimContext Context, Boolean IsCurrentPlanetNonSim) [0x00236] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:234
  at Arcen.AIW2.Core.World_AIW2.DoWorldStepLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x0011b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\World_AIW2.cs:224
  at Arcen.AIW2.Core.SimExecution.Execute () [0x00043] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimExecution\SimExecution.cs:27
4/24/2017 8:50:38 PM Error in thread for execution context 'executionContext':System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.EntitySystem.GetCanHit (Arcen.AIW2.Core.GameEntity entity) [0x00001] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntitySystem.cs:293
  at Arcen.AIW2.Core.GameEntity.DoHitLogic (Arcen.AIW2.Core.GameEntity Target, Arcen.AIW2.Core.ArcenSimContext Context) [0x00008] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1992
  at Arcen.AIW2.Core.GameEntity.DoEntityStepLogic_Shot (Arcen.AIW2.Core.ArcenSimContext Context) [0x00294] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1612
  at Arcen.AIW2.Core.CombatEncounter.<DoCombatStep>m__3 (Arcen.AIW2.Core.GameEntity entity) [0x00007] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:236
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0005a] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntityCollection.cs:293
  at Arcen.AIW2.Core.CombatEncounter.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0002b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:421
  at Arcen.AIW2.Core.CombatEncounter.DoCombatStep (Arcen.AIW2.Core.ArcenSimContext Context, Boolean IsCurrentPlanetNonSim) [0x00236] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:234
  at Arcen.AIW2.Core.World_AIW2.DoWorldStepLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x0011b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\World_AIW2.cs:224
  at Arcen.AIW2.Core.SimExecution.Execute () [0x00043] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimExecution\SimExecution.cs:27
4/24/2017 8:50:38 PM Error in thread for execution context 'executionContext':System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.EntitySystem.GetCanHit (Arcen.AIW2.Core.GameEntity entity) [0x00001] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntitySystem.cs:293
  at Arcen.AIW2.Core.GameEntity.DoHitLogic (Arcen.AIW2.Core.GameEntity Target, Arcen.AIW2.Core.ArcenSimContext Context) [0x00008] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1992
  at Arcen.AIW2.Core.GameEntity.DoEntityStepLogic_Shot (Arcen.AIW2.Core.ArcenSimContext Context) [0x00294] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1612
  at Arcen.AIW2.Core.CombatEncounter.<DoCombatStep>m__3 (Arcen.AIW2.Core.GameEntity entity) [0x00007] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:236
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0005a] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntityCollection.cs:293
  at Arcen.AIW2.Core.CombatEncounter.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0002b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:421
  at Arcen.AIW2.Core.CombatEncounter.DoCombatStep (Arcen.AIW2.Core.ArcenSimContext Context, Boolean IsCurrentPlanetNonSim) [0x00236] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:234
  at Arcen.AIW2.Core.World_AIW2.DoWorldStepLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x0011b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\World_AIW2.cs:224
  at Arcen.AIW2.Core.SimExecution.Execute () [0x00043] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimExecution\SimExecution.cs:27
4/24/2017 8:50:38 PM Error in thread for execution context 'executionContext':System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.EntitySystem.GetCanHit (Arcen.AIW2.Core.GameEntity entity) [0x00001] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntitySystem.cs:293
  at Arcen.AIW2.Core.GameEntity.DoHitLogic (Arcen.AIW2.Core.GameEntity Target, Arcen.AIW2.Core.ArcenSimContext Context) [0x00008] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1992
  at Arcen.AIW2.Core.GameEntity.DoEntityStepLogic_Shot (Arcen.AIW2.Core.ArcenSimContext Context) [0x00294] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1612
  at Arcen.AIW2.Core.CombatEncounter.<DoCombatStep>m__3 (Arcen.AIW2.Core.GameEntity entity) [0x00007] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:236
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0005a] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntityCollection.cs:293
  at Arcen.AIW2.Core.CombatEncounter.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0002b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:421
  at Arcen.AIW2.Core.CombatEncounter.DoCombatStep (Arcen.AIW2.Core.ArcenSimContext Context, Boolean IsCurrentPlanetNonSim) [0x00236] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:234
  at Arcen.AIW2.Core.World_AIW2.DoWorldStepLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x0011b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\World_AIW2.cs:224
  at Arcen.AIW2.Core.SimExecution.Execute () [0x00043] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimExecution\SimExecution.cs:27
4/24/2017 8:50:38 PM Error in thread for execution context 'executionContext':System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.EntitySystem.GetCanHit (Arcen.AIW2.Core.GameEntity entity) [0x00001] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntitySystem.cs:293
  at Arcen.AIW2.Core.GameEntity.DoHitLogic (Arcen.AIW2.Core.GameEntity Target, Arcen.AIW2.Core.ArcenSimContext Context) [0x00008] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1992
  at Arcen.AIW2.Core.GameEntity.DoEntityStepLogic_Shot (Arcen.AIW2.Core.ArcenSimContext Context) [0x00294] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1612
  at Arcen.AIW2.Core.CombatEncounter.<DoCombatStep>m__3 (Arcen.AIW2.Core.GameEntity entity) [0x00007] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:236
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0005a] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntityCollection.cs:293
  at Arcen.AIW2.Core.CombatEncounter.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0002b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:421
  at Arcen.AIW2.Core.CombatEncounter.DoCombatStep (Arcen.AIW2.Core.ArcenSimContext Context, Boolean IsCurrentPlanetNonSim) [0x00236] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:234
  at Arcen.AIW2.Core.World_AIW2.DoWorldStepLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x0011b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\World_AIW2.cs:224
  at Arcen.AIW2.Core.SimExecution.Execute () [0x00043] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimExecution\SimExecution.cs:27
4/24/2017 8:50:38 PM Error in thread for execution context 'executionContext':System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.EntitySystem.GetCanHit (Arcen.AIW2.Core.GameEntity entity) [0x00001] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntitySystem.cs:293
  at Arcen.AIW2.Core.GameEntity.DoHitLogic (Arcen.AIW2.Core.GameEntity Target, Arcen.AIW2.Core.ArcenSimContext Context) [0x00008] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1992
  at Arcen.AIW2.Core.GameEntity.DoEntityStepLogic_Shot (Arcen.AIW2.Core.ArcenSimContext Context) [0x00294] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1612
  at Arcen.AIW2.Core.CombatEncounter.<DoCombatStep>m__3 (Arcen.AIW2.Core.GameEntity entity) [0x00007] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:236
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0005a] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntityCollection.cs:293
  at Arcen.AIW2.Core.CombatEncounter.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0002b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:421
  at Arcen.AIW2.Core.CombatEncounter.DoCombatStep (Arcen.AIW2.Core.ArcenSimContext Context, Boolean IsCurrentPlanetNonSim) [0x00236] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:234
  at Arcen.AIW2.Core.World_AIW2.DoWorldStepLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x0011b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\World_AIW2.cs:224
  at Arcen.AIW2.Core.SimExecution.Execute () [0x00043] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimExecution\SimExecution.cs:27
4/24/2017 8:50:38 PM Error in thread for execution context 'executionContext':System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.EntitySystem.GetCanHit (Arcen.AIW2.Core.GameEntity entity) [0x00001] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntitySystem.cs:293
  at Arcen.AIW2.Core.GameEntity.DoHitLogic (Arcen.AIW2.Core.GameEntity Target, Arcen.AIW2.Core.ArcenSimContext Context) [0x00008] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1992
  at Arcen.AIW2.Core.GameEntity.DoEntityStepLogic_Shot (Arcen.AIW2.Core.ArcenSimContext Context) [0x00294] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\GameEntity.cs:1612
  at Arcen.AIW2.Core.CombatEncounter.<DoCombatStep>m__3 (Arcen.AIW2.Core.GameEntity entity) [0x00007] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:236
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0005a] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\GameEntity\EntityCollection.cs:293
  at Arcen.AIW2.Core.CombatEncounter.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0002b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:421
  at Arcen.AIW2.Core.CombatEncounter.DoCombatStep (Arcen.AIW2.Core.ArcenSimContext Context, Boolean IsCurrentPlanetNonSim) [0x00236] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:234
  at Arcen.AIW2.Core.World_AIW2.DoWorldStepLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x0011b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\World_AIW2.cs:224
  at Arcen.AIW2.Core.SimExecution.Execute () [0x00043] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimExecution\SimExecution.cs:27
TagsNo tags attached.

Activities

keith.lamothe

Apr 25, 2017 2:48 pm

administrator   ~0046085

For 0.120:

* Fixed a null exception in the targeting logic.

Thanks :)

Issue History

Date Modified Username Field Change
Apr 24, 2017 8:52 pm BadgerBadger New Issue
Apr 25, 2017 8:08 am keith.lamothe Assigned To => keith.lamothe
Apr 25, 2017 8:08 am keith.lamothe Status new => assigned
Apr 25, 2017 2:48 pm keith.lamothe Note Added: 0046085
Apr 25, 2017 2:48 pm keith.lamothe Status assigned => resolved
Apr 25, 2017 2:48 pm keith.lamothe Fixed in Version => 0.120 Bugfixes
Apr 25, 2017 2:48 pm keith.lamothe Resolution open => fixed