View Issue Details

IDProjectCategoryLast Update
0022867AI War 2Crash/ExceptionFeb 28, 2020 8:06 pm
ReporterBinary Blitz Assigned ToBadgerBadger  
Status resolvedResolutionfixed 
Product Version2.002 Turret Icons 
Fixed in Version2.006 Hotfix 
Summary0022867: Error in targeting logic System: Object reference not set to an instance
DescriptionI encountered this, while a lot of things where attacking my home base.

Error in targeting logic System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.TargetListPlanning.PreFillFactionBasedData (Arcen.AIW2.Core.PlanetFaction PFaction) [0x00051] in <0ad4283d651c4c59a0c22ed1a4d53086>:0
  at Arcen.AIW2.External.TargetListPlanning.FindTopEntriesForSystem (Arcen.AIW2.Core.GameEntity_Squad AttackerEntity, Arcen.AIW2.Core.EntitySystem AttackerSystem, System.Int32 SystemIndex) [0x0000e] in <0ad4283d651c4c59a0c22ed1a4d53086>: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 <0ad4283d651c4c59a0c22ed1a4d53086>: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 <ae6a7b48621645cfa8230e3d2e0d8a4d>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <ae6a7b48621645cfa8230e3d2e0d8a4d>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <ae6a7b48621645cfa8230e3d2e0d8a4d>: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 <0ad4283d651c4c59a0c22ed1a4d53086>:0
  at Arcen.AIW2.External.TargetListPlanning.DoEntityFramePlanningLogic_TargetPrioritizing (Arcen.AIW2.Core.GameEntity_Squad AttackerEntity) [0x00000] in <0ad4283d651c4c59a0c22ed1a4d53086>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <aab0812368b74c8facb6abcc97e24f84>:0
  at Arcen.AIW2.External.TargetListPlanning.Execute () [0x00000] in <0ad4283d651c4c59a0c22ed1a4d53086>:0
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <0ad4283d651c4c59a0c22ed1a4d53086>:0
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <0ad4283d651c4c59a0c22ed1a4d53086>: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

Binary Blitz

Feb 28, 2020 3:16 pm

reporter  

ArcenDebugLog.txt (1,896,792 bytes)

BadgerBadger

Feb 28, 2020 8:06 pm

manager   ~0056159

I've added some additional debugging code which should ameliorate the problem a bit and provide more debug data if the problem is hit. If you see it again, please open a new ticket.

Issue History

Date Modified Username Field Change
Feb 28, 2020 3:16 pm Binary Blitz New Issue
Feb 28, 2020 3:16 pm Binary Blitz File Added: ArcenDebugLog.txt
Feb 28, 2020 8:06 pm BadgerBadger Assigned To => BadgerBadger
Feb 28, 2020 8:06 pm BadgerBadger Status new => resolved
Feb 28, 2020 8:06 pm BadgerBadger Resolution open => fixed
Feb 28, 2020 8:06 pm BadgerBadger Fixed in Version => 2.006 Hotfix
Feb 28, 2020 8:06 pm BadgerBadger Note Added: 0056159