View Issue Details

IDProjectCategoryLast Update
0023830AI War 2Crash/ExceptionOct 1, 2020 9:23 pm
ReporterTzarro Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version2.602 Transports Fixed In Multiplayer 
Fixed in Version2.603 Nanocaust And Civvies Strike Back 
Summary0023830: Multiplayer Linux Client - Squad CalculateSpeed exception
DescriptionSee attached files for ArcenDebuglog entries and screenshots.

Error was able to be ignored and game continued seemingly without issue.
TagsNo tags attached.

Activities

Tzarro

Sep 29, 2020 3:59 am

developer  

ArcenDebugLog_Linux_Condensed_29SEP2020.txt (8,636 bytes)   
//-----First Error-----//


Squad CalculateSpeed exception at debugStage 1000, exception: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.GameEntity_Squad.CalculateSpeed () [0x0000a] in <ecae222e0fca4af5b05f4aad849d60ed>: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 <fed6b3082880418dab739e5316f199c6>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fed6b3082880418dab739e5316f199c6>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fed6b3082880418dab739e5316f199c6>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.CalculateSpeed () [0x00000] in <ecae222e0fca4af5b05f4aad849d60ed>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.DoEntityStepLogic_Ship (Arcen.Universal.FInt EffectiveDeltaTime, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <ecae222e0fca4af5b05f4aad849d60ed>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation+<>c__DisplayClass32_0.<DoCombatStepForPlanet>b__2 (Arcen.AIW2.Core.GameEntity_Squad entity) [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <ecae222e0fca4af5b05f4aad849d60ed>:0 
  at Arcen.AIW2.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <ecae222e0fca4af5b05f4aad849d60ed>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoCombatStepForPlanet (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation+<>c__DisplayClass46_0.<DoCombatPerStepLogic>b__0 (Arcen.AIW2.Core.Planet planet) [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.Core.Galaxy.DoForPlanets (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00000] in <ecae222e0fca4af5b05f4aad849d60ed>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForPlanets (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00000] in <ecae222e0fca4af5b05f4aad849d60ed>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoCombatPerStepLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldStepLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <d4ec64acf7454a4580dabad813edf01e>: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 


//-----Second Error Below-----//


Squad CalculateSpeed exception at debugStage 1000, exception: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.GameEntity_Squad.CalculateSpeed () [0x0000a] in <ecae222e0fca4af5b05f4aad849d60ed>: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 <fed6b3082880418dab739e5316f199c6>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fed6b3082880418dab739e5316f199c6>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <fed6b3082880418dab739e5316f199c6>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.CalculateSpeed () [0x00000] in <ecae222e0fca4af5b05f4aad849d60ed>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.DoEntityStepLogic_Ship (Arcen.Universal.FInt EffectiveDeltaTime, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <ecae222e0fca4af5b05f4aad849d60ed>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation+<>c__DisplayClass32_0.<DoCombatStepForPlanet>b__2 (Arcen.AIW2.Core.GameEntity_Squad entity) [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <ecae222e0fca4af5b05f4aad849d60ed>:0 
  at Arcen.AIW2.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <ecae222e0fca4af5b05f4aad849d60ed>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoCombatStepForPlanet (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation+<>c__DisplayClass46_0.<DoCombatPerStepLogic>b__0 (Arcen.AIW2.Core.Planet planet) [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.Core.Galaxy.DoForPlanets (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00000] in <ecae222e0fca4af5b05f4aad849d60ed>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForPlanets (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00000] in <ecae222e0fca4af5b05f4aad849d60ed>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoCombatPerStepLogic (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldStepLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <d4ec64acf7454a4580dabad813edf01e>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <d4ec64acf7454a4580dabad813edf01e>: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
Error1.png (945,530 bytes)
Error2.png (843,693 bytes)

Chris_McElligottPark

Sep 29, 2020 3:20 pm

administrator   ~0058747

Thanks!

* Fixed a "CalculateSpeed exception" that could happen on ships in general in thread race conditions, but particularly on multiplayer clients.

Issue History

Date Modified Username Field Change
Sep 29, 2020 3:59 am Tzarro New Issue
Sep 29, 2020 3:59 am Tzarro File Added: ArcenDebugLog_Linux_Condensed_29SEP2020.txt
Sep 29, 2020 3:59 am Tzarro File Added: Error1.png
Sep 29, 2020 3:59 am Tzarro File Added: Error2.png
Sep 29, 2020 3:20 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Sep 29, 2020 3:20 pm Chris_McElligottPark Status new => resolved
Sep 29, 2020 3:20 pm Chris_McElligottPark Resolution open => fixed
Sep 29, 2020 3:20 pm Chris_McElligottPark Fixed in Version => 2.603 Nanocaust And Civvies Strike Back
Sep 29, 2020 3:20 pm Chris_McElligottPark Note Added: 0058747