View Issue Details

IDProjectCategoryLast Update
0022587AI War 2Crash/ExceptionJan 12, 2020 1:00 pm
ReporterDaniexpert Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version1.3 The Grand New AI 
Fixed in Version1.302 Frigate Empowerment 
Summary0022587: Error at planet entities display update stage 100: System.ArgumentOutOfRangeException
DescriptionGot this exception twice in a row.
TagsNo tags attached.

Activities

Daniexpert

Jan 12, 2020 7:09 am

manager  

exception.txt (3,211 bytes)   
1/12/2020 1:05:21 PM
Error at planet entities display update stage 100: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  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.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.SpecialEntityType SpecialType, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00080] in <907ba1a81c114df7917387c9b7011088>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForEntities (Arcen.AIW2.Core.SpecialEntityType SpecialType, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x0001c] in <907ba1a81c114df7917387c9b7011088>:0 
  at GalaxyMapPlanet.UpdateEntitiesShownAtPlanetDirectly (System.Boolean ForceUpdateAll) [0x002b2] in <3d51acf4fb354a45813cac5f1101f51a>: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 <a4d5b0db11d849b18d7c944b5f8fe508>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <a4d5b0db11d849b18d7c944b5f8fe508>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <a4d5b0db11d849b18d7c944b5f8fe508>:0 
  at GalaxyMapPlanet.UpdateEntitiesShownAtPlanetDirectly (System.Boolean ForceUpdateAll) [0x00000] in <3d51acf4fb354a45813cac5f1101f51a>:0 
  at GalaxyMapPlanet.UpdateEntitiesShownAtPlanetInternal (Arcen.AIW2.Core.Planet p, System.Boolean isSideTextHid, System.Boolean areSpecialEntitiesHid) [0x00000] in <3d51acf4fb354a45813cac5f1101f51a>:0 
  at Arcen.AIW2.Core.GalaxyMapPlanetBase.UpdateEntitiesShownAtPlanet (System.Boolean IsTextHidden, System.Boolean AreIconsHidden) [0x00000] in <907ba1a81c114df7917387c9b7011088>:0 
  at Arcen.AIW2.Core.GalaxyMapPlanetBase.UpdateGalaxyMapVisualsIfNeeded (System.Boolean IsTextHidden, System.Boolean AreIconsHidden) [0x00000] in <907ba1a81c114df7917387c9b7011088>:0 
  at Arcen.AIW2.Core.Planet.UpdateVisualObj (System.Boolean IsCurrentPlanet, System.Boolean IsTextHidden, System.Boolean AreIconsHidden) [0x00000] in <907ba1a81c114df7917387c9b7011088>:0 
  at Arcen.AIW2.Core.Galaxy.UpdateVisuals () [0x00000] in <907ba1a81c114df7917387c9b7011088>:0 
  at PresentationLayer_AIW2.UpdateGameController () [0x00000] in <3d51acf4fb354a45813cac5f1101f51a>:0 
  at Arcen.AIW2.Core.Engine_AIW2.OnUpdate_GameSpecificEngine () [0x00000] in <907ba1a81c114df7917387c9b7011088>:0 
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00000] in <a4d5b0db11d849b18d7c944b5f8fe508>:0 
  at ArcenGameController.Update () [0x00000] in <e6e5a3bb9cbe4033b68586a246cf0d60>:0 
exception.txt (3,211 bytes)   
exception.save (1,611,409 bytes)

Daniexpert

Jan 12, 2020 7:20 am

manager   ~0055515

Rebooting does not solve the problem.

Chris_McElligottPark

Jan 12, 2020 1:00 pm

administrator   ~0055534

Thanks!

* Fixed a variety of possible exceptions that could happen during loops through certain entity lists if the list changed during the loop. This is somewhat a side effect of more parallelism, but was already a thing that could happen prior to the most recent updates just because of what we already had in parallel. The game already was guarding against the most common cases where this could happen, but not another few subsets. It now guards against them all.

Issue History

Date Modified Username Field Change
Jan 12, 2020 7:09 am Daniexpert New Issue
Jan 12, 2020 7:09 am Daniexpert File Added: exception.txt
Jan 12, 2020 7:09 am Daniexpert File Added: exception.save
Jan 12, 2020 7:20 am Daniexpert Note Added: 0055515
Jan 12, 2020 1:00 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Jan 12, 2020 1:00 pm Chris_McElligottPark Status new => resolved
Jan 12, 2020 1:00 pm Chris_McElligottPark Resolution open => fixed
Jan 12, 2020 1:00 pm Chris_McElligottPark Fixed in Version => 1.302 Frigate Empowerment
Jan 12, 2020 1:00 pm Chris_McElligottPark Note Added: 0055534