View Issue Details

IDProjectCategoryLast Update
0018966AI War 2Crash/ExceptionMar 1, 2017 5:03 pm
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.102 
Fixed in Version0.103 
Summary0018966: NullReferenceException when taking first planet
DescriptionI destroyed all enemy ships on my first planet on a Wheel map, then went to the Galaxy screen and set "TryToCapture: Yes" to take the planet. I then saw the following error:

NullReferenceException: Object reference not set to an instance of an object
  at ArcenShipSquad.ReactToSquadReplacementShipJustDeployed (Arcen.AIW2.Core.GameEntity EntityProvidingReplacement) [0x00001] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Visualization\src\ShipDisplayCode\ArcenShipSquad.cs:573
  at ArcenMainGameVisuals.HandleShipCreationRequests () [0x0005c] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Visualization\src\ShipDisplayCode\ArcenMainGameVisuals.cs:215
  at ArcenMainGameVisuals.DoOnPlanetAnimations () [0x0001b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Visualization\src\ShipDisplayCode\ArcenMainGameVisuals.cs:141
  at ArcenMainGameVisuals.Update () [0x00118] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Visualization\src\ShipDisplayCode\ArcenMainGameVisuals.cs:87
 
Running on OSX 10.11.5
Renderer: NVIDIA GeForce GT 650M OpenGL Engine
Vendor: NVIDIA Corporation
Version: 4.1 NVIDIA-10.10.10 310.42.25f01
TagsNo tags attached.

Activities

Chris_McElligottPark

Mar 1, 2017 5:03 pm

administrator   ~0045801

Thanks!

* Fixed a bug where squads were being prematurely killed if their current ship count was zero but a replacement ship was on its way. This could lead to invisible squads until you tab out and back into a planet.
** Fixed a related issue where a nullref exception could happen if the replacement ship got there and the squad was already removed.

Issue History

Date Modified Username Field Change
Mar 1, 2017 4:44 pm BadgerBadger New Issue
Mar 1, 2017 5:03 pm Chris_McElligottPark Note Added: 0045801
Mar 1, 2017 5:03 pm Chris_McElligottPark Status new => resolved
Mar 1, 2017 5:03 pm Chris_McElligottPark Fixed in Version => 0.103
Mar 1, 2017 5:03 pm Chris_McElligottPark Resolution open => fixed
Mar 1, 2017 5:03 pm Chris_McElligottPark Assigned To => Chris_McElligottPark