View Issue Details

IDProjectCategoryLast Update
0001874AI War 1 / ClassicBug - OtherDec 7, 2010 11:57 am
ReporterKemeno Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version4.046 
Summary0001874: UnhandledErrors during gameplay
DescriptionGot some unhandled errors while trying to kill off some hybrids with a bunch of spirecraft + fleetships. I've attached the relevant portions of the log.

TagsNo tags attached.
Internal Weight

Relationships

has duplicate 0001941 resolvedkeith.lamothe Piles of Unhandled Errors 

Activities

Kemeno

Dec 7, 2010 3:10 am

reporter  

UnhandledErrorsRelevant.txt (9,783 bytes)   


12/7/2010 2:54:09 AM (4.046)
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 2:54:09 AM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


12/7/2010 2:54:09 AM (4.046)
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 2:54:09 AM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


12/7/2010 2:54:09 AM (4.046)
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 2:54:09 AM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


12/7/2010 2:54:09 AM (4.046)
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 2:54:09 AM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


12/7/2010 2:54:09 AM (4.046)
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 2:54:09 AM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


12/7/2010 2:54:09 AM (4.046)
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 2:54:09 AM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


UnhandledErrorsRelevant.txt (9,783 bytes)   

keith.lamothe

Dec 7, 2010 11:50 am

administrator   ~0005518

Thanks for catching this, for 4.047:

* Fixed a crash bug when a ship with the DamageMultiplierOnEnemyPlanets flag (like engineers) was hit by a shot from an enemy that no longer had a CurrentPlanet (because it had been sucked into a Maw, or gone into cold-storage, etc).
** Thanks to Kemeno for reporting.

My guess is that you can temporarily avoid the bug by keeping your engineers far enough away from any enemies that they don't get shot at; also seems pretty rare that the attackers actually wind up...

Hmm, it may also be happening when you shoot at AI engineers and then load into a transport.

Toll

Dec 7, 2010 11:53 am

reporter   ~0005519

Is this the same as my UnhandledErrors? Uploading the file... It seems as if mine showed up when it was about time for a wave, and I don't think I had any engineers nearby either, so the circumstances weren't the same, but the error-messages seemed alike. If not, I'll make another issue out of it.

Toll

Dec 7, 2010 11:54 am

reporter  

UnhandledErrors.txt (16,270 bytes)   
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 5:49:25 PM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


12/7/2010 5:49:25 PM (4.046)
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 5:49:25 PM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


12/7/2010 5:49:25 PM (4.046)
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 5:49:25 PM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


12/7/2010 5:49:26 PM (4.046)
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 5:49:25 PM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


12/7/2010 5:49:26 PM (4.046)
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 5:49:26 PM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


12/7/2010 5:49:26 PM (4.046)
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 5:49:26 PM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


12/7/2010 5:49:26 PM (4.046)
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 5:49:26 PM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


12/7/2010 5:49:26 PM (4.046)
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 5:49:26 PM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


12/7/2010 5:49:26 PM (4.046)
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 5:49:26 PM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


12/7/2010 5:49:26 PM (4.046)
-----------------------------------
UnhandledErrors-----------------------------------
12/7/2010 5:49:26 PM (4.046)
-----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 ForegroundUnitType.GetAttackPowerAgainstThis (.ForegroundObject AttackingUnit, Int32 ArmorBoost, Int32 ArmorDamage, Int32 Health) [0x00000] in <filename unknown>:0 
  at ForegroundObject.GetAttackPowerAgainstThis (.ForegroundObject AttackingObject) [0x00000] in <filename unknown>:0 
  at OtherObject.DoShotHit () [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 


UnhandledErrors.txt (16,270 bytes)   

keith.lamothe

Dec 7, 2010 11:57 am

administrator   ~0005520

Yes, if you see

System.NullReferenceException: Object reference not set to an instance of an object

at ForegroundUnitType.GetAttackPowerAgainstThis

It's this particular bug. ForegroundUnitType.GetAttackPowerAgainstThis is a very short method, and AttackingUnit.CurrentPlanet is the only reference in there that is incorrectly assumed to not equal null.

Issue History

Date Modified Username Field Change
Dec 7, 2010 3:10 am Kemeno New Issue
Dec 7, 2010 3:10 am Kemeno File Added: UnhandledErrorsRelevant.txt
Dec 7, 2010 11:50 am keith.lamothe Note Added: 0005518
Dec 7, 2010 11:50 am keith.lamothe Status new => resolved
Dec 7, 2010 11:50 am keith.lamothe Resolution open => fixed
Dec 7, 2010 11:50 am keith.lamothe Assigned To => keith.lamothe
Dec 7, 2010 11:53 am Toll Note Added: 0005519
Dec 7, 2010 11:54 am Toll File Added: UnhandledErrors.txt
Dec 7, 2010 11:57 am keith.lamothe Note Added: 0005520
Dec 8, 2010 9:38 pm Toll Relationship added has duplicate 0001941