View Issue Details

IDProjectCategoryLast Update
0026527AI War 2Crash/ExceptionFeb 25, 2022 8:57 pm
Reporterslake-moth Assigned To 
Status newResolutionopen 
Product VersionBeta 3.904 Release Candidate 1 
Summary0026527: Object reference not set to an instance of an object
DescriptionOnly happened once. It isn't clear what triggered it but the AI forces just left a planet.

System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.Universal.DrawBag`1[T].RemoveAnyItemsMatching (T Item) [0x00038] in <ae781c79bbec44678b85eff2b87059cb>:0
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <ae781c79bbec44678b85eff2b87059cb>:0
  at Arcen.Universal.DrawBag`1[T].RemoveAnyItemsMatching (T Item) [0x00000] in <ae781c79bbec44678b85eff2b87059cb>:0
  at Arcen.AIW2.Core.Faction.FillComposition (Arcen.AIW2.Core.ArcenHostOnlySimContext Context, System.Int32 MaxToSpend, System.Int32 MaxStrengthGuardiansOptional, Arcen.Universal.Dictionary`2[TKey,TValue] composition, Arcen.Universal.DrawBag`1[T] originalBuyableTypes, System.Int32 DesiredMarkLevel, System.Int32 maxNumberToSpawnOrZero) [0x00000] in <d68e26f14a9b4db2894277e16c752f4c>:0
  at Arcen.AIW2.External.AISentinelsFactionDeepInfo.TryToSpendBudget_BorderAggression (Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00000] in <7c334c80e8fd4074bca45ffd54c36b22>:0
  at Arcen.AIW2.External.AISentinelsFactionDeepInfo.TryToSpendBudget (Arcen.AIW2.Core.ArcenHostOnlySimContext Context, Arcen.AIW2.External.AIBudgetType budget) [0x00000] in <7c334c80e8fd4074bca45ffd54c36b22>:0
  at Arcen.AIW2.External.AISentinelsFactionDeepInfo.DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim_HostOnly (Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00000] in <7c334c80e8fd4074bca45ffd54c36b22>:0
  at Arcen.AIW2.Core.Faction.Safe_DeepInfo_DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim_HostOnly (Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00000] in <d68e26f14a9b4db2894277e16c752f4c>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass110_0.<DoWorldSecondLogic_FromSimBGThread>b__5 (Arcen.AIW2.Core.Faction faction) [0x00000] in <50c29f1059fc41589511116e157cca25>:0
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00000] in <d68e26f14a9b4db2894277e16c752f4c>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldSecondLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <50c29f1059fc41589511116e157cca25>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorld_PerStep_TimeKeeping (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <50c29f1059fc41589511116e157cca25>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <50c29f1059fc41589511116e157cca25>:0
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <50c29f1059fc41589511116e157cca25>:0
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.BackgroundThreadRunHandler (System.Single SuicidesAfterTime, System.Boolean FailSilentlyIfNotFinishedYet) [0x00000] in <50c29f1059fc41589511116e157cca25>:0
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext+<>c__DisplayClass15_0.<RunOnBackgroundThread>b__0 () [0x00000] in <50c29f1059fc41589511116e157cca25>:0
  at Arcen.Universal.ArcenThreading+<>c__DisplayClass11_0.<RunTaskOnBackgroundThread>b__0 () [0x00000] in <ae781c79bbec44678b85eff2b87059cb>:0
  at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.Execute () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.ExecuteEntry (System.Boolean bPreventDoubleExecution) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
Feb 25, 2022 8:57 pm slake-moth New Issue