Page 1 of 1

Unhandled exception when clicking on a planet after deleting the troops on it

Posted: Mon Feb 28, 2011 2:50 am
by bonesbro
I accidentally invaded a planet. (protip: If you're going to throw a revolution, make sure to hail the incoming troop transport.) It doesn't seem like you can load your invading troops again, so I went to the troops screen and deleted them. Now when I click on the planet I get a NullReferenceException in the method DistantWorlds.Controls.InfoPanel.DrawTroopsAgents(Int32 labelWidth, TroopList troops, TroopList troopsRecruiting, TroopList troopsInvading, Graphics graphics, Point location, Int32 overallWidth, Int32 offsetX).

A moment later I get a crash which kills the game: NullReferenceException in DistantWorlds.Types.Habitat.InflictTroopLosses().

I am uploading bonesbro_feb27_CrashDeletingInvadingTroops.dwg to the ftp site.

RE: Unhandled exception when clicking on a planet after deleting the troops on it

Posted: Thu Mar 03, 2011 11:21 pm
by elliotg
Thanks for the report and savegame bonesbro.

This bug has been fixed in the upcoming version 1.5.0.5 which will be available soon.

RE: Unhandled exception when clicking on a planet after deleting the troops on it

Posted: Fri Mar 04, 2011 5:24 am
by Data
This bug has been fixed in the upcoming version 1.5.0.5 which will be available soon

always a pleasure to hear these words