View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0003838 | AI War 1 / Classic | Crash/Exception | Sep 12, 2011 1:30 am | Sep 12, 2011 2:47 pm | |
Reporter | TechSY730 | Assigned To | keith.lamothe | ||
Status | resolved | Resolution | fixed | ||
Product Version | 5.016 | ||||
Fixed in Version | 5.017 | ||||
Summary | 0003838: Unhandled Errors | ||||
Description | Despite there being unhandled errors, there doesn't seem to be anything I did before hand to trigger it. However, I did notice it popped up a little after some neinzul ships from a neinzul nest poped into one of my systems (the planet SETTLEMENT, named because it has a captive human settlement on it) They occurred a little before 2:27:43 in game time. Attached is the most recent auto-save from before then. | ||||
Tags | No tags attached. | ||||
Internal Weight | |||||
|
|
|
UnhandledErrors.txt (11,064 bytes)
9/12/2011 1:23:42 AM (5.016) ----------------------------------- UnhandledErrors----------------------------------- 9/12/2011 1:23:42 AM (5.016) -----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object at ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 9/12/2011 1:23:43 AM (5.016) ----------------------------------- UnhandledErrors----------------------------------- 9/12/2011 1:23:43 AM (5.016) -----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object at ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 9/12/2011 1:23:44 AM (5.016) ----------------------------------- UnhandledErrors----------------------------------- 9/12/2011 1:23:44 AM (5.016) -----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object at ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 9/12/2011 1:23:44 AM (5.016) ----------------------------------- UnhandledErrors----------------------------------- 9/12/2011 1:23:44 AM (5.016) -----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object at ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 9/12/2011 1:23:45 AM (5.016) ----------------------------------- UnhandledErrors----------------------------------- 9/12/2011 1:23:45 AM (5.016) -----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object at ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 9/12/2011 1:23:46 AM (5.016) ----------------------------------- UnhandledErrors----------------------------------- 9/12/2011 1:23:46 AM (5.016) -----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object at ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 9/12/2011 1:23:46 AM (5.016) ----------------------------------- UnhandledErrors----------------------------------- 9/12/2011 1:23:46 AM (5.016) -----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object at ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 9/12/2011 1:23:47 AM (5.016) ----------------------------------- UnhandledErrors----------------------------------- 9/12/2011 1:23:47 AM (5.016) -----------------------------------Error-----------------------------------Log String: FixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object at ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 ForegroundObject.CalcOtherObjectToMoveTowards () [0x00000] in <filename unknown>:0 at ForegroundObject.DoRecalculations (Boolean RecalculateFull, Boolean AllowAddingUnitsToFgPlayerUnits) [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 |
|
Wow, it's on a roll lately with the errors, 2 in a week! ;) Thanks, I'll take a look today. |
|
Just as a note, nothing bad seemed to happen. And after a couple times of these errors, everything seemed to work fine. I guess whatever was causing it managed to fix itself after a few game cycles. That's why its marked a minor severity, even though it is indeed an exception. I guess it should still be looked at, because you never know that maybe next time it will cause something bad to happen. |
|
Oh, any kind of error like that is going to cause problems due to the amount of processing in that cycle that doesn't happen because, well, it stopped in the middle of the cycle. Pretty much all bets are off once that happens ;) |
|
Ok, I'm not able to reproduce the errors, but CalcOtherObjectToMoveTowards is one of the places with the new "cannot go through a wormhole covered by a hostile forcefield" logic so conceivably it's not checking something for null when it should. Looking at the code I don't see it (and the release build doesn't give line number, regrettably), but conceivably. Are you able to reproduce the error reliably? If not I'll just do some general paranoia checks in there to make sure there can't be a null reference. |
|
Nevermind, found it :) |
|
Ok, fixed for 5.017 :) |
|
Just out of curiosity, what was the issue? |
|
In a rare case the command would have what's essentially a null wormhole, and it was removing the command correctly but not actually early-out'ing of the method and was then trying to use the wormhole reference. But it was only very rarely null, and was only used for this "is it blocked by an ff" thing. |
Date Modified | Username | Field | Change |
---|---|---|---|
Sep 12, 2011 1:30 am | TechSY730 | New Issue | |
Sep 12, 2011 1:30 am | TechSY730 | File Added: Autosave_2011_09_12_01_23_08.sav | |
Sep 12, 2011 1:30 am | TechSY730 | File Added: UnhandledErrors.txt | |
Sep 12, 2011 9:24 am | keith.lamothe | Note Added: 0013214 | |
Sep 12, 2011 9:43 am | TechSY730 | Note Added: 0013215 | |
Sep 12, 2011 10:04 am | keith.lamothe | Note Added: 0013216 | |
Sep 12, 2011 2:17 pm | keith.lamothe | Note Added: 0013217 | |
Sep 12, 2011 2:22 pm | keith.lamothe | Note Added: 0013218 | |
Sep 12, 2011 2:30 pm | keith.lamothe | Note Added: 0013219 | |
Sep 12, 2011 2:30 pm | keith.lamothe | Status | new => resolved |
Sep 12, 2011 2:30 pm | keith.lamothe | Fixed in Version | => 5.017 |
Sep 12, 2011 2:30 pm | keith.lamothe | Resolution | open => fixed |
Sep 12, 2011 2:30 pm | keith.lamothe | Assigned To | => keith.lamothe |
Sep 12, 2011 2:40 pm | TechSY730 | Note Added: 0013220 | |
Sep 12, 2011 2:41 pm | TechSY730 | Note Edited: 0013220 | |
Sep 12, 2011 2:47 pm | keith.lamothe | Note Added: 0013221 | |
Apr 14, 2014 9:27 am | Chris_McElligottPark | Category | Bug - Crash or Exception => Crash/Exception |