View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0021251 | AI War 2 | Crash/Exception | May 30, 2019 11:28 pm | May 31, 2019 8:33 am | |
Reporter | Ovalcircle | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | BETA 0.862 Lobby Overhaul, Knockback, Nanocaust, Final Battle | ||||
Fixed in Version | BETA 0.863 Control of Capturables | ||||
Summary | 0021251: Divide by zero and object reference not set to an object errors | ||||
Description | errors at 5/30/2019 11:23:13 PM | ||||
Tags | No tags attached. | ||||
|
|
|
5/30/2019 5:38:41 PM Hit exception System.DivideByZeroException: Attempted to divide by zero. at Arcen.AIW2.External.SpecialFaction_AI+<>c__DisplayClass58_1.<chooseSpawnLocation>b__1 (Arcen.AIW2.Core.Planet neighbor) [0x0017a] in <0d50e999beb4467bb84e57f055989b5a>:0 at Arcen.AIW2.Core.Planet.DoForLinkedNeighbors (Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x0002f] in <c3b156e21036450fa7901543751300ba>:0 at Arcen.AIW2.External.SpecialFaction_AI.chooseSpawnLocation (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenSimContext Context, System.Int32 budget, Arcen.AIW2.External.PlannedWaveOptions Options) [0x00134] in <0d50e999beb4467bb84e57f055989b5a>:0 at Arcen.AIW2.External.SpecialFaction_AI.PlanWave (Arcen.AIW2.Core.ArcenSimContext Context, Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.AIShipGroupCategory ShipGroupCat, System.Int32 budget, Arcen.AIW2.External.PlannedWaveOptions Options) [0x003a2] in <0d50e999beb4467bb84e57f055989b5a>:0 in PlanWave. DebugCode 410 |
|
Okay, I think I fixed the divide by 0. There is also 5/30/2019 11:23:13 PM Exception in SetSpriteIndices at stage 300:System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.Core.GameEntity_Squad.CalculateContentsCount () [0x00015] in <c3b156e21036450fa7901543751300ba>:0 at Arcen.AIW2.ExternalVisualization.GimbalVisualizer.SetSpriteIndices (Arcen.AIW2.ExternalVisualization.SquadVisualizer Squad) [0x0062b] in <66118be95008406ab54a7f82c2a9f3ec>:0 which has not been addressed. Chris, I wonder if this.Fleetmembership.Fleet is null in that function? I don't see anything else obvious. |
|
Thanks! * Put in some defensive code to prevent errors when trying to find out the strength or contents of a ship that has a null fleet or other similar issues. |
Date Modified | Username | Field | Change |
---|---|---|---|
May 30, 2019 11:28 pm | Ovalcircle | New Issue | |
May 30, 2019 11:28 pm | Ovalcircle | File Added: ArcenDebugLog.txt | |
May 31, 2019 12:00 am | BadgerBadger | Note Added: 0051754 | |
May 31, 2019 12:20 am | BadgerBadger | Note Added: 0051756 | |
May 31, 2019 12:24 am | BadgerBadger | Note Edited: 0051756 | |
May 31, 2019 12:24 am | BadgerBadger | Assigned To | => Chris_McElligottPark |
May 31, 2019 12:24 am | BadgerBadger | Status | new => assigned |
May 31, 2019 8:33 am | Chris_McElligottPark | Status | assigned => resolved |
May 31, 2019 8:33 am | Chris_McElligottPark | Resolution | open => fixed |
May 31, 2019 8:33 am | Chris_McElligottPark | Fixed in Version | => BETA 0.863 Control of Capturables |
May 31, 2019 8:33 am | Chris_McElligottPark | Note Added: 0051757 |