View Issue Details

IDProjectCategoryLast Update
0023823AI War 2Crash/ExceptionSep 30, 2020 4:08 pm
ReporterTechSY730 Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version2.601 Savegame Hotfix 
Fixed in Version2.604 A Thousand Screaming Idiots 
Summary0023823: Exception after loading ships onto transport flagship
DescriptionRandom exception that happened after loading ships onto transport flagship (but who knows if that was the actual cause)

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
    RemoveMe 33 70 0 0
    ClearForReturningToPool 243 575 0 0
    ReturnToPool 1 15 0 0
    UnregisterEntity 54 167 0 0
    OnlyInMapgenOrInActuallyGettingRidOfEntities_ImmediatelyRemoveFromSim 54 139 0 0
    CheckForActuallyGettingRidOfRemovedEntities 86 481 0 0
    DoRemoveDeadEntitiesLogic 37 95 0 0
    DoWorldStepLogic_FromSimBGThread 164 319 0 0
    Execute 186 436 0 0
===RAW STACK TRACE===
  at Arcen.Universal.ArcenLessLinkedList`1+ArcenLinkedListItem[ItemType].RemoveMe (System.Boolean IgnoreContainerLists) [0x00021] in <2fa1ae204022415a8c57b156d2929b81>:0
  at Arcen.AIW2.Core.GameEntity_Squad.ClearForReturningToPool () [0x000f3] in <8b3c76aee63c4780893dd448e45c6d61>:0
  at Arcen.AIW2.Core.GameEntity_Squad.ReturnToPool () [0x00001] in <8b3c76aee63c4780893dd448e45c6d61>:0
  at Arcen.AIW2.Core.World_AIW2.UnregisterEntity (Arcen.AIW2.Core.GameEntity_Squad Entity) [0x00036] in <8b3c76aee63c4780893dd448e45c6d61>:0
  at Arcen.AIW2.Core.GameEntity_Squad.OnlyInMapgenOrInActuallyGettingRidOfEntities_ImmediatelyRemoveFromSim (Arcen.AIW2.Core.InstancedRendererDeactivationReason Reason) [0x00036] in <8b3c76aee63c4780893dd448e45c6d61>:0
  at Arcen.AIW2.Core.World_AIW2.CheckForActuallyGettingRidOfRemovedEntities () [0x00056] in <8b3c76aee63c4780893dd448e45c6d61>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoRemoveDeadEntitiesLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x00025] in <c7802a3eb04744e08b44f261d472374d>:0
[...]
TagsNo tags attached.

Activities

TechSY730

Sep 28, 2020 10:29 am

reporter  

ArcenDebugLog.txt (4,455 bytes)   
9/28/2020 8:37:18 AM	Start load save: /home/sean/.local/share/Steam/steamapps/common/AI War 2/PlayerData/Save/Vanilla/34a.save Source1: AnythingElse Source3: LoadingSaveGame
9/28/2020 8:37:18 AM	Finish load save in 410.2ms
9/28/2020 9:26:42 AM
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
	RemoveMe	33	70	0	0
	ClearForReturningToPool	243	575	0	0
	ReturnToPool	1	15	0	0
	UnregisterEntity	54	167	0	0
	OnlyInMapgenOrInActuallyGettingRidOfEntities_ImmediatelyRemoveFromSim	54	139	0	0
	CheckForActuallyGettingRidOfRemovedEntities	86	481	0	0
	DoRemoveDeadEntitiesLogic	37	95	0	0
	DoWorldStepLogic_FromSimBGThread	164	319	0	0
	Execute	186	436	0	0
===RAW STACK TRACE===
  at Arcen.Universal.ArcenLessLinkedList`1+ArcenLinkedListItem[ItemType].RemoveMe (System.Boolean IgnoreContainerLists) [0x00021] in <2fa1ae204022415a8c57b156d2929b81>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.ClearForReturningToPool () [0x000f3] in <8b3c76aee63c4780893dd448e45c6d61>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.ReturnToPool () [0x00001] in <8b3c76aee63c4780893dd448e45c6d61>:0 
  at Arcen.AIW2.Core.World_AIW2.UnregisterEntity (Arcen.AIW2.Core.GameEntity_Squad Entity) [0x00036] in <8b3c76aee63c4780893dd448e45c6d61>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.OnlyInMapgenOrInActuallyGettingRidOfEntities_ImmediatelyRemoveFromSim (Arcen.AIW2.Core.InstancedRendererDeactivationReason Reason) [0x00036] in <8b3c76aee63c4780893dd448e45c6d61>:0 
  at Arcen.AIW2.Core.World_AIW2.CheckForActuallyGettingRidOfRemovedEntities () [0x00056] in <8b3c76aee63c4780893dd448e45c6d61>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoRemoveDeadEntitiesLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x00025] in <c7802a3eb04744e08b44f261d472374d>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldStepLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x000a4] in <c7802a3eb04744e08b44f261d472374d>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000ba] in <c7802a3eb04744e08b44f261d472374d>: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 <2fa1ae204022415a8c57b156d2929b81>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <2fa1ae204022415a8c57b156d2929b81>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <2fa1ae204022415a8c57b156d2929b81>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <2fa1ae204022415a8c57b156d2929b81>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <c7802a3eb04744e08b44f261d472374d>:0 
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <c7802a3eb04744e08b44f261d472374d>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <c7802a3eb04744e08b44f261d472374d>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <c7802a3eb04744e08b44f261d472374d>: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 

ArcenDebugLog.txt (4,455 bytes)   

Chris_McElligottPark

Sep 30, 2020 4:08 pm

administrator   ~0058815

Thanks!

* ArcenLessLinkedList and ArcenOverLinkedList have both been updated to be a bit more threadsafe by making it so that when items are removed from them, they can't have errors based on being aske to remove themselves twice.

Issue History

Date Modified Username Field Change
Sep 28, 2020 10:29 am TechSY730 New Issue
Sep 28, 2020 10:29 am TechSY730 File Added: ArcenDebugLog.txt
Sep 30, 2020 4:08 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Sep 30, 2020 4:08 pm Chris_McElligottPark Status new => resolved
Sep 30, 2020 4:08 pm Chris_McElligottPark Resolution open => fixed
Sep 30, 2020 4:08 pm Chris_McElligottPark Fixed in Version => 2.604 A Thousand Screaming Idiots
Sep 30, 2020 4:08 pm Chris_McElligottPark Note Added: 0058815