View Issue Details

IDProjectCategoryLast Update
0025710AI War 2Crash/ExceptionNov 5, 2021 7:09 pm
ReporterDaniexpert Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Product VersionBeta 3.741 Clogging Holes 
Fixed in VersionBeta 3.746 Phantom Ship Syndrome 
Summary0025710: ReinforceSpecificPlanet error
DescriptionAttachment
TagsNo tags attached.

Activities

Daniexpert

Oct 29, 2021 8:18 am

manager  

exception.txt (1,328 bytes)   
10/29/2021 2:16:50 PM 3.741 SINGLEP DELAYED4111: ReinforceSpecificPlanet error at debugStage 2000.  Exception: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.AIUtilityMethods.GetAIToPurchaseCostPresentForBudgetType (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ReinforcementType reinforcementType) [0x0006d] in <297e3f7d869948ea8b90ba03a89b9829>:0 
  at Arcen.AIW2.External.BaseAIDefensePlacer.Reinforce (Arcen.AIW2.Core.ArcenHostOnlySimContext Context, Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.Faction faction, System.Int32 budget, Arcen.AIW2.Core.ReinforcementType reinforcementType, System.Boolean IsForInitialSeeding, System.Boolean ComplainIfNotOnPurposeInabilityToSeed, System.Int32& AddedStrength) [0x00020] in <3cb6e930d6b54a0584058b7485276bc6>:0 
  at Arcen.AIW2.External.AISentinelsFactionDeepInfo.ReinforceSpecificPlanet (Arcen.AIW2.Core.Planet planet, Arcen.Universal.FInt originalBudgetForThisPlanet, Arcen.AIW2.Core.ArcenHostOnlySimContext Context, Arcen.Universal.FInt& totalBudget, Arcen.Universal.FInt& subBudget, System.Int32[]& strengthAddedByPlanetIndex, Arcen.Universal.FInt& amountSpentAgainstBudget, Arcen.Universal.FInt& amountSpentInTotalForReal) [0x00206] in <3cb6e930d6b54a0584058b7485276bc6>:0 
exception.txt (1,328 bytes)   

Chris_McElligottPark

Nov 5, 2021 7:09 pm

administrator   ~0063219

Thanks!

* Put in extra error handling in GetAIToPurchaseCostPresentForBudgetType. Not sure if the actual root bug is fixed by other code adjustments or not, but if it ever has another problem, then we'll know exactly where said problem is.

Issue History

Date Modified Username Field Change
Oct 29, 2021 8:18 am Daniexpert New Issue
Oct 29, 2021 8:18 am Daniexpert File Added: exception.txt
Nov 5, 2021 7:09 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Nov 5, 2021 7:09 pm Chris_McElligottPark Status new => resolved
Nov 5, 2021 7:09 pm Chris_McElligottPark Resolution open => fixed
Nov 5, 2021 7:09 pm Chris_McElligottPark Fixed in Version => Beta 3.746 Phantom Ship Syndrome
Nov 5, 2021 7:09 pm Chris_McElligottPark Note Added: 0063219