View Issue Details

IDProjectCategoryLast Update
0025786AI War 2Crash/ExceptionNov 8, 2021 4:55 pm
ReporterChris_McElligottPark Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.746 Phantom Ship Syndrome 
Fixed in VersionBeta 3.750 Smooth Simulator 
Summary0025786: Bogus IComparer:Arcen.Universal.FunctorComparer`1[Arcen.AIW2.Core.ActualObjective]
DescriptionSame as the last error, it comes after: load one savegame twice. Start a new game. Quit to main menu. Load savegame again. Boom.

For me for Monday.

11/5/2021 8:56:18 PM 3.745 SINGLEP DELAYED12: Error occurred in c-o-h sim planning context perSecondNonSimPlan_LT_Cont
ArgumentException
Bogus IComparer:Arcen.Universal.FunctorComparer`1[Arcen.AIW2.Core.ActualObjective]
===STACK FRAMES (with file info)===
FILE METHOD IL_OFFSET NATIVE_OFFSET LINE_NUMBER COLUMN_NUMBER
    ThrowOrIgnoreBadComparer 29 130 0 0
    Sort 18 130 0 0
    Sort 211 738 0 0
    Sort 56 290 0 0
    SwapObjectivesFromBuildingToDisplay 64 482 0 0
    RegenerateAllObjectives_ClientOrHost 205 546 0 0
    DoCentralLoop_ClientAndHost 179 1058 0 0
    Execute 24 122 0 0
    InnerRun 69 178 0 0
===RAW STACK TRACE===
  at Arcen.Universal.Collections.IntrospectiveSortUtilities.ThrowOrIgnoreBadComparer (System.Object comparer) [0x0001d] in <128d00e2b0aa4f22bcf99aa212fde6d0>:0
  at Arcen.Universal.Collections.GenericArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x00012] in <128d00e2b0aa4f22bcf99aa212fde6d0>:0
  at Arcen.Universal.Collections.ArraySort`1[T].Sort (T[] array, System.Int32 index, System.Int32 length, Arcen.Universal.Collections.IComparer`1[T] comparer) [0x000d3] in <128d00e2b0aa4f22bcf99aa212fde6d0>:0
  at Arcen.Universal.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00038] in <128d00e2b0aa4f22bcf99aa212fde6d0>:0
  at Arcen.AIW2.Core.ObjectiveCategory.SwapObjectivesFromBuildingToDisplay () [0x00040] in <00aa5f55d10c41da878fe95912004ea3>:0
  at Arcen.AIW2.Core.ObjectiveGeneratorTable.RegenerateAllObjectives_ClientOrHost (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000cd] in <00aa5f55d10c41da878fe95912004ea3>:0
  at Arcen.AIW2.External.PerSecondNonSimPlanning.DoCentralLoop_ClientAndHost () [0x000b3] in <6fa792ab6ae948f5aef6d31c2c2786a4>:0
  at Arcen.AIW2.External.PerSecondNonSimPlanning.Execute () [0x00018] in <6fa792ab6ae948f5aef6d31c2c2786a4>:0
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00045] in <6fa792ab6ae948f5aef6d31c2c2786a4>:0
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <128d00e2b0aa4f22bcf99aa212fde6d0>:0
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <128d00e2b0aa4f22bcf99aa212fde6d0>:0
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <6fa792ab6ae948f5aef6d31c2c2786a4>:0
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <6fa792ab6ae948f5aef6d31c2c2786a4>: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
TagsNo tags attached.

Activities

Chris_McElligottPark

Nov 8, 2021 4:55 pm

administrator   ~0063260

Also got this earlier today.

* Silenced an error that could happen in trying to sort objectives in "ObjectiveCategory.SwapObjectivesFromBuildingToDisplay."
** Almost certainly this was happening because of the bug that tom.prince fixed with this code being kicked off twice instead of once when the game was running twice, but it's good to make sure it's not interrupting game flow either way.
** Thanks to cml for the report.

Issue History

Date Modified Username Field Change
Nov 5, 2021 9:01 pm Chris_McElligottPark New Issue
Nov 5, 2021 9:01 pm Chris_McElligottPark Status new => assigned
Nov 5, 2021 9:01 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Nov 8, 2021 4:55 pm Chris_McElligottPark Status assigned => resolved
Nov 8, 2021 4:55 pm Chris_McElligottPark Resolution open => fixed
Nov 8, 2021 4:55 pm Chris_McElligottPark Fixed in Version => Beta 3.750 Smooth Simulator
Nov 8, 2021 4:55 pm Chris_McElligottPark Note Added: 0063260