View Issue Details

IDProjectCategoryLast Update
0003466AI War 1 / ClassicCrash/ExceptionJun 2, 2011 8:48 am
Reporterleb0fh Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version5.010 
Fixed in Version5.011 
Summary0003466: Unhandled Error when assaulting an AI homeworld
DescriptionThe error pinged up after opening a Zenith Reserves IV pod on the first AI homeworld.

Save "unhandled" is immediately post-error, and the autosave is from some point prior
TagsNo tags attached.
Internal Weight

Activities

leb0fh

Jun 1, 2011 7:41 am

reporter  

UnhandledErrors.txt (1,102 bytes)   
6/1/2011 12:36:02 PM (5.010)
-----------------------------------
UnhandledErrors-----------------------------------
6/1/2011 12:36:02 PM (5.010)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.Exception: Game Command Text:37;0;1#32800
System.NullReferenceException: Object reference not set to an instance of an object
  at GameCommand.Execute () [0x00000] in <filename unknown>:0 
  at Game.RunOneCycleOfSimulation () [0x00000] in <filename unknown>:0 
  at Game.RunOneCycleOfSimulation () [0x00000] in <filename unknown>:0 
  at Game.RunNextCycle (Boolean DoRendering) [0x00000] in <filename unknown>:0 
  at Game.RunFrame () [0x00000] in <filename unknown>:0 
  at MainCameraLogic.FixedUpdate () [0x00000] in <filename unknown>:0 
Stack Trace:   at Game.RunOneCycleOfSimulation () [0x00000] in <filename unknown>:0 
  at Game.RunNextCycle (Boolean DoRendering) [0x00000] in <filename unknown>:0 
  at Game.RunFrame () [0x00000] in <filename unknown>:0 
  at MainCameraLogic.FixedUpdate () [0x00000] in <filename unknown>:0 


UnhandledErrors.txt (1,102 bytes)   

leb0fh

Jun 1, 2011 7:41 am

reporter  

unhandled.sav (221,123 bytes)

leb0fh

Jun 1, 2011 7:41 am

reporter  

Autosave.sav (204,371 bytes)

Chris_McElligottPark

Jun 1, 2011 8:04 am

administrator   ~0012323

I'm unfortunately out of town until the 6th, so we can't do a push until then. But, Keith, can you get a fix ready that I could push on that day? Thanks!

keith.lamothe

Jun 1, 2011 9:49 am

administrator   ~0012324

I loaded the attached Autosave.sav and sent all the ships bordering the AI homeworld over to attack it, and one of the first things I did was pop the Zenith Reserve IV. No errors happened.

Are you able to reproduce the problem from that save, or in some other way?

keith.lamothe

Jun 1, 2011 9:56 am

administrator   ~0012325

The GameCommand that actually shows up in the error appears to be an UnsetControlGroup command (ordinal 37). Were you attempting any change any ship's membership in control groups around that time?

keith.lamothe

Jun 1, 2011 10:17 am

administrator   ~0012326

Oh, never mind, it's actually not an UnsetControlGroup command.

leb0fh

Jun 2, 2011 4:12 am

reporter   ~0012327

I did attach the ZR forces to group 1 yes at the point of crash yes.

Probably relevant, after posting this report I loaded "unhandled.sav" myself and the game continued normally - just what you need, and unconsistant error!

keith.lamothe

Jun 2, 2011 8:47 am

administrator   ~0012329

Actually it _was_ the control group change, after all. Not an inconsistent bug at all, in my tests, I just had to replicate what you did :)

In for 5.011

* Fixed rare null exception that could happen when changing control groups.
** Thanks to leb0fh for the report and save.

Issue History

Date Modified Username Field Change
Jun 1, 2011 7:41 am leb0fh New Issue
Jun 1, 2011 7:41 am leb0fh File Added: UnhandledErrors.txt
Jun 1, 2011 7:41 am leb0fh File Added: unhandled.sav
Jun 1, 2011 7:41 am leb0fh File Added: Autosave.sav
Jun 1, 2011 8:04 am Chris_McElligottPark Note Added: 0012323
Jun 1, 2011 8:04 am Chris_McElligottPark Assigned To => keith.lamothe
Jun 1, 2011 8:04 am Chris_McElligottPark Status new => confirmed
Jun 1, 2011 9:49 am keith.lamothe Note Added: 0012324
Jun 1, 2011 9:49 am keith.lamothe Status confirmed => feedback
Jun 1, 2011 9:56 am keith.lamothe Note Added: 0012325
Jun 1, 2011 10:17 am keith.lamothe Note Added: 0012326
Jun 2, 2011 4:12 am leb0fh Note Added: 0012327
Jun 2, 2011 4:12 am leb0fh Status feedback => assigned
Jun 2, 2011 8:47 am keith.lamothe Note Added: 0012329
Jun 2, 2011 8:47 am keith.lamothe Status assigned => resolved
Jun 2, 2011 8:47 am keith.lamothe Fixed in Version => 5.011
Jun 2, 2011 8:48 am keith.lamothe Resolution open => fixed
Apr 14, 2014 9:27 am Chris_McElligottPark Category Bug - Crash or Exception => Crash/Exception