View Issue Details

IDProjectCategoryLast Update
0025658AI War 2Crash/ExceptionNov 5, 2021 7:35 pm
ReporterDaniexpert Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.710 Hotfixes Serialization and Performance 
Fixed in VersionBeta 3.746 Phantom Ship Syndrome 
Summary0025658: ArcenShortTermPlanningContext.ParallelRunAllContext error
DescriptionIt spammed quite a lot of these in short span of time
TagsNo tags attached.

Activities

Daniexpert

Oct 15, 2021 5:42 pm

manager  

ArcenShortTermPlanningContext.txt (4,367 bytes)   
10/15/2021 11:39:15 PM	3.710	SINGLEP	DELAYED1553: ArcenShortTermPlanningContext.ParallelRunAllContext error for context metalFlows: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.Universal.ProtectedList`1[T].Clear (System.Boolean YesDoBeforeRemoveOrClear) [0x00017] in <47f3366c5842404d971d4f220ccd6810>:0 
  at Arcen.AIW2.External.MetalFlowPlanning.DelegateHelper_DoPerFactionLogic_PrePerFaction (Arcen.AIW2.Core.Faction faction) [0x00012] in <c2c62bbee65e44ac858ffa7a071d8bb5>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <dfd830b3497b4dd6b813a5e1afcb9839>:0 
  at Arcen.AIW2.External.MetalFlowPlanning.Execute () [0x00067] in <c2c62bbee65e44ac858ffa7a071d8bb5>:0 
  at Arcen.AIW2.External.ArcenShortTermPlanningContext+<>c__DisplayClass8_0.<ParallelRunAllContext>b__0 (Arcen.AIW2.External.ArcenShortTermPlanningContext context) [0x0001f] in <c2c62bbee65e44ac858ffa7a071d8bb5>:0 
10/15/2021 11:39:15 PM	3.710	SINGLEP	DELAYED1554: Error in thread for execution context 'executionContext'
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
	DoFactionStepLogic_Stage0_Singlethreaded	603	2702	0	0
	<DoFactionPerStepLogic>b__60_0	1	34	0	0
	DoForFactions	18	83	0	0
	DoFactionPerStepLogic	38	458	0	0
	DoWorldStepLogic_ClientOrHost_FromSimBGThread	194	546	0	0
	Execute	230	650	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.Core.Faction.DoFactionStepLogic_Stage0_Singlethreaded () [0x0025b] in <dfd830b3497b4dd6b813a5e1afcb9839>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c.<DoFactionPerStepLogic>b__60_0 (Arcen.AIW2.Core.Faction faction) [0x00001] in <c2c62bbee65e44ac858ffa7a071d8bb5>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <dfd830b3497b4dd6b813a5e1afcb9839>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoFactionPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00026] in <c2c62bbee65e44ac858ffa7a071d8bb5>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000c2] in <c2c62bbee65e44ac858ffa7a071d8bb5>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000e6] in <c2c62bbee65e44ac858ffa7a071d8bb5>:0 
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <47f3366c5842404d971d4f220ccd6810>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <47f3366c5842404d971d4f220ccd6810>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <c2c62bbee65e44ac858ffa7a071d8bb5>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <c2c62bbee65e44ac858ffa7a071d8bb5>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <c2c62bbee65e44ac858ffa7a071d8bb5>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <c2c62bbee65e44ac858ffa7a071d8bb5>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [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.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 

Daniexpert

Oct 30, 2021 8:54 pm

manager   ~0063082

This one appeared again in the current SVN build

Chris_McElligottPark

Nov 5, 2021 7:35 pm

administrator   ~0063231

Thanks!

* Fixed a nullref exception that could happen in ProtectedList.Clear.

Issue History

Date Modified Username Field Change
Oct 15, 2021 5:42 pm Daniexpert New Issue
Oct 15, 2021 5:42 pm Daniexpert File Added: ArcenShortTermPlanningContext.txt
Oct 30, 2021 8:54 pm Daniexpert Note Added: 0063082
Nov 5, 2021 7:35 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Nov 5, 2021 7:35 pm Chris_McElligottPark Status new => resolved
Nov 5, 2021 7:35 pm Chris_McElligottPark Resolution open => fixed
Nov 5, 2021 7:35 pm Chris_McElligottPark Fixed in Version => Beta 3.746 Phantom Ship Syndrome
Nov 5, 2021 7:35 pm Chris_McElligottPark Note Added: 0063231