View Issue Details

IDProjectCategoryLast Update
0022672AI War 2Crash/ExceptionJan 22, 2020 7:34 pm
ReporterRyulong Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version1.304 So You Like Combat Engineers? 
Fixed in Version1.308 Mega Performance 
Summary0022672: Error occurred in sim planning context perSecondNonSimPlanningLongRangeContext
Description1/20/2020 1:55:12 PM
Error occurred in sim planning context perSecondNonSimPlanningLongRangeContext
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE METHOD IL_OFFSET NATIVE_OFFSET LINE_NUMBER COLUMN_NUMBER
    <DoLocalFactionPerSecondNonSimUpdate_OnBackgroundNonSimThread_NonBlocking>b__4 116 270 0 0
    DoForEntities 68 387 0 0
    DoLocalFactionPerSecondNonSimUpdate_OnBackgroundNonSimThread_NonBlocking 2215 9514 0 0
    DoPerSecondNonSimUpdate_OnBackgroundNonSimThread_NonBlocking 11 74 0 0
    DoPerSecondNonSimUpdate_OnBackgroundNonSimThread_NonBlocking 1 51 0 0
    <DoCentralLoop>b__5_0 1 42 0 0
    DoForFactions 18 107 0 0
    DoCentralLoop 12 234 0 0
    Execute 17 74 0 0
    InnerRun 80 239 0 0
===RAW STACK TRACE===
  at Arcen.AIW2.External.SpecialFaction_Human+<>c__DisplayClass50_3.<DoLocalFactionPerSecondNonSimUpdate_OnBackgroundNonSimThread_NonBlocking>b__4 (Arcen.AIW2.Core.GameEntity_Squad entity) [0x00074] in <57dac4979e214ce7b5ddcd91c860a13c>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00044] in <eacb90e41d89494b9d277d2e295e2ae9>:0
  at Arcen.AIW2.External.SpecialFaction_Human.DoLocalFactionPerSecondNonSimUpdate_OnBackgroundNonSimThread_NonBlocking (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenSimContext Context) [0x008a7] in <57dac4979e214ce7b5ddcd91c860a13c>:0
  at Arcen.AIW2.External.SpecialFaction_Human.DoPerSecondNonSimUpdate_OnBackgroundNonSimThread_NonBlocking (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenSimContext Context) [0x0000b] in <57dac4979e214ce7b5ddcd91c860a13c>:0
  at Arcen.AIW2.Core.Faction.DoPerSecondNonSimUpdate_OnBackgroundNonSimThread_NonBlocking (Arcen.AIW2.Core.ArcenSimContext Context) [0x00001] in <eacb90e41d89494b9d277d2e295e2ae9>:0
  at Arcen.AIW2.External.PerSecondNonSimPlanning.<DoCentralLoop>b__5_0 (Arcen.AIW2.Core.Faction faction) [0x00001] in <57dac4979e214ce7b5ddcd91c860a13c>:0
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <eacb90e41d89494b9d277d2e295e2ae9>:0
  at Arcen.AIW2.External.PerSecondNonSimPlanning.DoCentralLoop () [0x0000c] in <57dac4979e214ce7b5ddcd91c860a13c>:0
  at Arcen.AIW2.External.PerSecondNonSimPlanning.Execute () [0x00011] in <57dac4979e214ce7b5ddcd91c860a13c>:0
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00050] in <57dac4979e214ce7b5ddcd91c860a13c>: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 <47607aa321d74a9ba15022771d5536fe>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <47607aa321d74a9ba15022771d5536fe>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <47607aa321d74a9ba15022771d5536fe>:0
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <47607aa321d74a9ba15022771d5536fe>:0
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <57dac4979e214ce7b5ddcd91c860a13c>:0
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <57dac4979e214ce7b5ddcd91c860a13c>: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

Ryulong

Jan 20, 2020 4:57 pm

reporter  

Chris_McElligottPark

Jan 22, 2020 7:34 pm

administrator   ~0055720

Thanks!

* Fixed a couple of nullref exceptions that could happen during DoForEntities and a few related methods if the collection was changing during a cross-thread update clash.

Issue History

Date Modified Username Field Change
Jan 20, 2020 4:57 pm Ryulong New Issue
Jan 20, 2020 4:57 pm Ryulong File Added: error sim planning context.save
Jan 22, 2020 7:34 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Jan 22, 2020 7:34 pm Chris_McElligottPark Status new => resolved
Jan 22, 2020 7:34 pm Chris_McElligottPark Resolution open => fixed
Jan 22, 2020 7:34 pm Chris_McElligottPark Fixed in Version => 1.308 Mega Performance
Jan 22, 2020 7:34 pm Chris_McElligottPark Note Added: 0055720