View Issue Details

IDProjectCategoryLast Update
0021737AI War 2Crash/ExceptionOct 4, 2019 10:18 am
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.896 Strength and Control 
Fixed in Version0.897 Commanding From The Galaxy Map 
Summary0021737: null reference during TargetListPlanning
DescriptionI hit this crash shortly after loading a save game

10/3/2019 5:42:40 PM
Error in targeting logic System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.TargetListPlanning+<PreFillFactionBasedData>c__AnonStorey0.<>m__0 (Arcen.AIW2.Core.GameEntity_Squad defenderEntity) [0x0013b] in <acc78229d93e492580e1cbe596f5a151>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00050] in <0fce3d4eb7594930b665e08676a13b1b>:0
  at Arcen.AIW2.External.TargetListPlanning.PreFillFactionBasedData (Arcen.AIW2.Core.PlanetFaction PFaction) [0x0029f] in <acc78229d93e492580e1cbe596f5a151>:0
  at Arcen.AIW2.External.TargetListPlanning.FindTopEntriesForSystem (Arcen.AIW2.Core.GameEntity_Squad AttackerEntity, Arcen.AIW2.Core.EntitySystem AttackerSystem, System.Int32 SystemIndex) [0x0000d] in <acc78229d93e492580e1cbe596f5a151>:0
  at Arcen.AIW2.External.TargetListPlanning.DoEntityFramePlanningLogic_TargetPrioritizing_SpecificSystem (Arcen.AIW2.Core.GameEntity_Squad AttackerEntity, Arcen.AIW2.Core.EntitySystem AttackerSystem, System.Int32 SystemIndex) [0x00009] in <acc78229d93e492580e1cbe596f5a151>: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 <fea1de03223b4d1bafcf409017e03ec2>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fea1de03223b4d1bafcf409017e03ec2>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fea1de03223b4d1bafcf409017e03ec2>:0
  at Arcen.AIW2.External.TargetListPlanning.DoEntityFramePlanningLogic_TargetPrioritizing_SpecificSystem (Arcen.AIW2.Core.GameEntity_Squad AttackerEntity, Arcen.AIW2.Core.EntitySystem AttackerSystem, System.Int32 SystemIndex) [0x00000] in <acc78229d93e492580e1cbe596f5a151>:0
  at Arcen.AIW2.External.TargetListPlanning.DoEntityFramePlanningLogic_TargetPrioritizing (Arcen.AIW2.Core.GameEntity_Squad AttackerEntity) [0x00000] in <acc78229d93e492580e1cbe596f5a151>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <0fce3d4eb7594930b665e08676a13b1b>:0
  at Arcen.AIW2.External.TargetListPlanning.Execute () [0x00000] in <acc78229d93e492580e1cbe596f5a151>:0
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <acc78229d93e492580e1cbe596f5a151>:0
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <acc78229d93e492580e1cbe596f5a151>: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
TagsNo tags attached.

Activities

Chris_McElligottPark

Oct 4, 2019 10:18 am

administrator   ~0053448

Thanks!

* Put in some extra debug checking, and a possible nullref fix, inside target list planning. If the exception happens again it will no longer affect the actual flow of the game under the hood (just an annoying popup now), and we'll know where the actual exception is.

Issue History

Date Modified Username Field Change
Oct 3, 2019 7:43 pm BadgerBadger New Issue
Oct 4, 2019 10:18 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Oct 4, 2019 10:18 am Chris_McElligottPark Status new => resolved
Oct 4, 2019 10:18 am Chris_McElligottPark Resolution open => fixed
Oct 4, 2019 10:18 am Chris_McElligottPark Fixed in Version => 0.897 Commanding From The Galaxy Map
Oct 4, 2019 10:18 am Chris_McElligottPark Note Added: 0053448