View Issue Details

IDProjectCategoryLast Update
0026063AI War 2Crash/ExceptionJan 6, 2022 4:12 pm
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.781 Tachyon Healing Reversal 
Fixed in VersionBeta 3.781 Tachyon Healing Reversal 
Summary0026063: Exception when building necropolis
Description1/5/2022 7:55:20 PM 3.781 SINGLEP DELAYED4 TID11 Exception in DoWorldStepLogic_ClientOrHost_FromSimBGThread.RunStrengthCounting at debugStage 500:System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Fleet+<GetMarkLevelShipLines>c__AnonStorey2.<>m__0 (Arcen.AIW2.Core.FleetMembership mem) [0x007da] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/Fleet/Fleet.cs:1447
  at Arcen.AIW2.Core.Fleet.DoForMemberGroupsUnsorted_Sim (Arcen.AIW2.Core.FleetMembership+ProcessorDelegate Processor) [0x0002e] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/Fleet/Fleet.cs:2878
  at Arcen.AIW2.Core.Fleet.GetMarkLevelShipLines (System.String attributeOrShipTypeToCheck, System.Boolean isLow, System.Boolean debug) [0x00080] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/Fleet/Fleet.cs:1307
  at Arcen.AIW2.Core.ReactiveShipGroupTrigger+<IsActive>c__AnonStorey2.<>m__0 (Arcen.AIW2.Core.Fleet fleet) [0x000b2] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/WorldExtras/ReactiveShipGroupTrigger.cs:140
  at Arcen.AIW2.Core.World_AIW2.DoForFleets (Arcen.AIW2.Core.Faction FactionFleetMustBelongTo, Arcen.AIW2.Core.FleetStatus RequiredStatus, Arcen.AIW2.Core.Fleet+ProcessorDelegate Processor) [0x00092] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/World_AIW2.cs:4218
  at Arcen.AIW2.Core.ReactiveShipGroupTrigger.IsActive () [0x00255] in /home/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/WorldExtras/ReactiveShipGroupTrigger.cs:125
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.UpdateReactiveShipGroups (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x0010e] in <59d8fe82fead4940b33f700e81da0cf0>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldSecondLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00065] in <59d8fe82fead4940b33f700e81da0cf0>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorld_PerStep_TimeKeeping (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00050] in <59d8fe82fead4940b33f700e81da0cf0>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x001f5] in <59d8fe82fead4940b33f700e81da0cf0>:0
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x0002a] in /home/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/Debug/ArcenDebugging.cs:238
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <59d8fe82fead4940b33f700e81da0cf0>:0
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <59d8fe82fead4940b33f700e81da0cf0>:0
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.BackgroundThreadRunHandler (System.Single SuicidesAfterTime, System.Boolean FailSilentlyIfNotFinishedYet) [0x00000] in <59d8fe82fead4940b33f700e81da0cf0>:0
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext+<RunOnBackgroundThread>c__AnonStorey0.<>m__0 () [0x00000] in <59d8fe82fead4940b33f700e81da0cf0>:0
  at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.Execute () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [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.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.ExecuteEntry (System.Boolean bPreventDoubleExecution) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
TagsNo tags attached.

Activities

Chris_McElligottPark

Jan 6, 2022 4:12 pm

administrator   ~0063670

Less classic, but still a cross threading error and part of this:

* Found a further place where the simulation was able to double-run on multiple threads if it was running slowly enough because of an extremely bogged-down sim world.
** I thought I had gotten all of these yesterday, and indeed it was better, but one area slipped through and was the genesis of a ton of random-seeming bugs.

Thanks!

Issue History

Date Modified Username Field Change
Jan 5, 2022 9:55 pm BadgerBadger New Issue
Jan 6, 2022 4:12 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Jan 6, 2022 4:12 pm Chris_McElligottPark Status new => resolved
Jan 6, 2022 4:12 pm Chris_McElligottPark Resolution open => fixed
Jan 6, 2022 4:12 pm Chris_McElligottPark Fixed in Version => Beta 3.781 Tachyon Healing Reversal
Jan 6, 2022 4:12 pm Chris_McElligottPark Note Added: 0063670