View Issue Details

IDProjectCategoryLast Update
0015941The Last FederationCrash/ExceptionOct 7, 2014 7:42 pm
ReporterDrFranknfurter Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version1.604 (A Dangerous Surplus) 
Fixed in Version1.605 (Disease And Order) 
Summary0015941: Fatal error
DescriptionPoisoning the Thoraxians, just to test and got a fatal error. (same game as the thoraxian obscura quest, ignored it this time - Standard game).

TagsNo tags attached.
Internal WeightNew

Relationships

has duplicate 0015944 resolvedChris_McElligottPark Fatal error. 

Activities

DrFranknfurter

Oct 5, 2014 7:02 am

reporter  

Fatal error.save (41,829 bytes)

DrFranknfurter

Oct 5, 2014 7:02 am

reporter  

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()

ArcenDebugLog.txt (3,021 bytes)   

DrFranknfurter

Oct 5, 2014 7:03 am

reporter  

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 ()



ErrorsReportedByEngine.txt (756 bytes)   

DrFranknfurter

Oct 5, 2014 7:03 am

reporter  

UnhandledErrors.txt (647,424 bytes)

Chris_McElligottPark

Oct 6, 2014 12:22 pm

administrator   ~0039516

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.

DrFranknfurter

Oct 6, 2014 2:31 pm

reporter   ~0039517

I'll keep an eye out after the next patch and if I get any other fatal errors I'll obviously report it. Thanks.

Chris_McElligottPark

Oct 6, 2014 3:50 pm

administrator   ~0039518

I appreciate it!

Chris_McElligottPark

Oct 7, 2014 3:57 pm

administrator   ~0039534

Fully found the fix through the save in the related issue. :)

DrFranknfurter

Oct 7, 2014 6:14 pm

reporter   ~0039537

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).

Chris_McElligottPark

Oct 7, 2014 7:42 pm

administrator   ~0039540

Thank you! :)

Issue History

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