View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0015941 | The Last Federation | Crash/Exception | Oct 5, 2014 7:02 am | Oct 7, 2014 7:42 pm | |
Reporter | DrFranknfurter | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 1.604 (A Dangerous Surplus) | ||||
Fixed in Version | 1.605 (Disease And Order) | ||||
Summary | 0015941: Fatal error | ||||
Description | Poisoning the Thoraxians, just to test and got a fatal error. (same game as the thoraxian obscura quest, ignored it this time - Standard game). | ||||
Tags | No tags attached. | ||||
Internal Weight | New | ||||
has duplicate | 0015944 | resolved | Chris_McElligottPark | Fatal error. |
|
|
|
ArcenDebugLog.txt (3,021 bytes)
10/5/2014 11:59:33 AM : ----------- OnGUI: System.NullReferenceException: Object reference not set to an instance of an object at MetaMapNode+<>c__DisplayClass48.<CalculateInnerDeathRateFloat>b__47 (.RaceAction action) [0x00000] in <filename unknown>:0 at RaceState.DoForActions (.ProcessorDelegate processor) [0x00000] in <filename unknown>:0 at MetaMapNode.CalculateInnerDeathRateFloat (RaceType RaceType, Boolean IsForMin, Boolean WriteString) [0x00000] in <filename unknown>:0 at MetaMapNode.CalculateMinimumDeathRate (RaceType RaceType, Boolean WriteString) [0x00000] in <filename unknown>:0 at AdvancedNodeDetailsSidebar.Section_PopulationData (.MetaMapNode node, Boolean areDetailedStatsEnabled) [0x00000] in <filename unknown>:0 at AdvancedNodeDetailsSidebar.PopulateData () [0x00000] in <filename unknown>:0 at AdvancedNodeDetailsSidebar.SubclassPreRender () [0x00000] in <filename unknown>:0 at AbstractArcenWindow.Render (Vector3 MousePositionFromTopLeft) [0x00000] in <filename unknown>:0 at ArcenGUIManager.DrawGUI () [0x00000] in <filename unknown>:0 at MainCameraLogic.OnGUI () [0x00000] in <filename unknown>:0 Stack Trace: at MetaMapNode+<>c__DisplayClass48.<CalculateInnerDeathRateFloat>b__47 (.RaceAction action) [0x00000] in <filename unknown>:0 at RaceState.DoForActions (.ProcessorDelegate processor) [0x00000] in <filename unknown>:0 at MetaMapNode.CalculateInnerDeathRateFloat (RaceType RaceType, Boolean IsForMin, Boolean WriteString) [0x00000] in <filename unknown>:0 at MetaMapNode.CalculateMinimumDeathRate (RaceType RaceType, Boolean WriteString) [0x00000] in <filename unknown>:0 at AdvancedNodeDetailsSidebar.Section_PopulationData (.MetaMapNode node, Boolean areDetailedStatsEnabled) [0x00000] in <filename unknown>:0 at AdvancedNodeDetailsSidebar.PopulateData () [0x00000] in <filename unknown>:0 at AdvancedNodeDetailsSidebar.SubclassPreRender () [0x00000] in <filename unknown>:0 at AbstractArcenWindow.Render (Vector3 MousePositionFromTopLeft) [0x00000] in <filename unknown>:0 at ArcenGUIManager.DrawGUI () [0x00000] in <filename unknown>:0 at MainCameraLogic.OnGUI () [0x00000] in <filename unknown>:0 at System.Environment.get_StackTrace() at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) at ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity) at Configuration.WriteToErrorFile(System.String ErrorFile, System.String ErrorName, System.String ErrorText) at MainCameraLogic.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause, Boolean CameFromUnity) at MainCameraLogic.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause) at MainCameraLogic.OnGUI() |
|
ErrorsReportedByEngine.txt (756 bytes)
9/23/2014 1:25:19 PM (1.501) Mem: 28,545,024 Mode: SinglePlayerOrMultiplayerHost Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- ----------- NullReferenceException: Object reference not set to an instance of an object Stack Trace: Quest.FinishCombatFromQuest (.CombatEncounter Combat, .Contract RelatedContract, ContractConclusionType Conclusion, QuestEndType EndType, Boolean DoPredictionOnly, Boolean CanClearOtherQuests) Quest.GetQuestDescription () Game+<>c__DisplayClass9f.<RenderSolarMapQuestHeaderBar>b__9a (.ArcenMouseInput input) ArcenRawGUIManager.LetZonesProcessMouseInput (.ArcenMouseInput MouseInput) Game.CheckMouseInputFromGUIAfterDrawGUI () MainCameraLogic.OnGUI () |
|
|
|
Thanks! * Put in some null reference checks in the birth/death logic. I can't duplicate the error by poisoning them in that save, though, so if you have a save that let's you reproduce it, I can make sure I've fixed it for certain. In the meantime, just by looking at the code in the method that the errors reference, I've put in checks for all the obvious potential null reference exceptions that I see. I may have missed one, though. |
|
I'll keep an eye out after the next patch and if I get any other fatal errors I'll obviously report it. Thanks. |
|
I appreciate it! |
|
Fully found the fix through the save in the related issue. :) |
|
I'm glad you managed to squash that bug so quickly. (I thought it had some population connection -that's why I mentioned poisoning- but didn't have a chance to test it fully, I'll keep my eyes peeled for any more bugs for you to squash). |
|
Thank you! :) |
Date Modified | Username | Field | Change |
---|---|---|---|
Oct 5, 2014 7:02 am | DrFranknfurter | New Issue | |
Oct 5, 2014 7:02 am | DrFranknfurter | File Added: Fatal error.save | |
Oct 5, 2014 7:02 am | DrFranknfurter | File Added: ArcenDebugLog.txt | |
Oct 5, 2014 7:03 am | DrFranknfurter | File Added: ErrorsReportedByEngine.txt | |
Oct 5, 2014 7:03 am | DrFranknfurter | File Added: UnhandledErrors.txt | |
Oct 6, 2014 12:22 pm | Chris_McElligottPark | Note Added: 0039516 | |
Oct 6, 2014 12:22 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Oct 6, 2014 12:22 pm | Chris_McElligottPark | Status | new => feedback |
Oct 6, 2014 2:31 pm | DrFranknfurter | Note Added: 0039517 | |
Oct 6, 2014 2:31 pm | DrFranknfurter | Status | feedback => assigned |
Oct 6, 2014 3:50 pm | Chris_McElligottPark | Note Added: 0039518 | |
Oct 7, 2014 1:13 pm | Chris_McElligottPark | Relationship added | has duplicate 0015944 |
Oct 7, 2014 1:14 pm | Chris_McElligottPark | Status | assigned => feedback |
Oct 7, 2014 3:57 pm | Chris_McElligottPark | Internal Weight | => New |
Oct 7, 2014 3:57 pm | Chris_McElligottPark | Note Added: 0039534 | |
Oct 7, 2014 3:57 pm | Chris_McElligottPark | Status | feedback => resolved |
Oct 7, 2014 3:57 pm | Chris_McElligottPark | Fixed in Version | => 1.605 (Disease And Order) |
Oct 7, 2014 3:57 pm | Chris_McElligottPark | Resolution | open => fixed |
Oct 7, 2014 6:14 pm | DrFranknfurter | Note Added: 0039537 | |
Oct 7, 2014 7:42 pm | Chris_McElligottPark | Note Added: 0039540 |