View Issue Details

IDProjectCategoryLast Update
0022598AI War 2Crash/ExceptionJan 13, 2020 9:20 pm
ReporterDaniexpert Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version1.302 Frigate Empowerment 
Fixed in Version1.303 AI Hunter Fireteams For All 
Summary0022598: ArgumentOutOfRangeException
DescriptionAnother one :)
TagsNo tags attached.

Activities

Daniexpert

Jan 12, 2020 4:28 pm

manager  

exception.txt (4,259 bytes)   
1/12/2020 10:25:51 PM
Error in thread for execution context 'executionContext'
ArgumentOutOfRangeException
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	ThrowArgumentOutOfRangeException	41	106	0	0
	ThrowArgumentOutOfRangeException	0	34	0	0
	DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim	1037	3226	0	0
	<DoWorldSecondLogic_FromSimBGThread>b__2	1	55	0	0
	DoForFactions	18	107	0	0
	DoWorldSecondLogic_FromSimBGThread	95	698	0	0
	DoWorldStepLogic_FromSimBGThread	402	1354	0	0
	Execute	182	554	0	0
===RAW STACK TRACE===
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at Arcen.AIW2.External.SpecialFaction_Mercenary.DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenSimContext Context) [0x0040d] in <b0ca40c35d0a4df7853b3b376041172b>:0 
  at Arcen.AIW2.Core.World_AIW2+<>c__DisplayClass138_0.<DoWorldSecondLogic_FromSimBGThread>b__2 (Arcen.AIW2.Core.Faction faction) [0x00001] in <111a9552d42d4c7f958dbc6b556ce2ef>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <111a9552d42d4c7f958dbc6b556ce2ef>:0 
  at Arcen.AIW2.Core.World_AIW2.DoWorldSecondLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x0005f] in <111a9552d42d4c7f958dbc6b556ce2ef>:0 
  at Arcen.AIW2.Core.World_AIW2.DoWorldStepLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x00192] in <111a9552d42d4c7f958dbc6b556ce2ef>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000b6] in <b0ca40c35d0a4df7853b3b376041172b>: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 <af5210e8012c45f993ebef578b44e880>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <af5210e8012c45f993ebef578b44e880>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <af5210e8012c45f993ebef578b44e880>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <af5210e8012c45f993ebef578b44e880>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <b0ca40c35d0a4df7853b3b376041172b>:0 
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <b0ca40c35d0a4df7853b3b376041172b>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <b0ca40c35d0a4df7853b3b376041172b>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <b0ca40c35d0a4df7853b3b376041172b>: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 
exception.txt (4,259 bytes)   

Chris_McElligottPark

Jan 13, 2020 9:20 pm

administrator   ~0055548

Thanks!

* Put in some fixes to an exception that could happen in the mercenary code, and also made it more informative if it happens again.

Issue History

Date Modified Username Field Change
Jan 12, 2020 4:28 pm Daniexpert New Issue
Jan 12, 2020 4:28 pm Daniexpert File Added: exception.txt
Jan 13, 2020 9:20 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Jan 13, 2020 9:20 pm Chris_McElligottPark Status new => resolved
Jan 13, 2020 9:20 pm Chris_McElligottPark Resolution open => fixed
Jan 13, 2020 9:20 pm Chris_McElligottPark Fixed in Version => 1.303 AI Hunter Fireteams For All
Jan 13, 2020 9:20 pm Chris_McElligottPark Note Added: 0055548