Ludeon Forums

RimWorld => Bugs => Topic started by: giltirn on May 27, 2017, 11:49:23 PM

Title: [A17] Null reference exception
Post by: giltirn on May 27, 2017, 11:49:23 PM
RimWorld 0.17.1546 rev887
Verse.Log:Message(String)
RimWorld.VersionControl:LogVersionNumber()
Verse.Root:CheckGlobalInit()
Verse.Root:Start()
Verse.Root_Entry:Start()

Loading game from file Happy Fools 16 with mods Core
Verse.Log:Message(String)
Verse.SavedGameLoader:LoadGameFromSaveFile(String)
Verse.Root_Play:<Start>m__854()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__851()

Exception ticking Blackjack: System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.Pawn_GuestTracker.Notify_PawnUndowned () [0x00000] in <filename unknown>:0
  at Verse.Pawn_HealthTracker.MakeUndowned () [0x00000] in <filename unknown>:0
  at Verse.Pawn_HealthTracker.CheckForStateChange (Nullable`1 dinfo, Verse.Hediff hediff) [0x00000] in <filename unknown>:0
  at Verse.Pawn_HealthTracker.Notify_HediffChanged (Verse.Hediff hediff) [0x00000] in <filename unknown>:0
  at Verse.Hediff_Injury.Heal (Single amount) [0x00000] in <filename unknown>:0
  at Verse.Pawn_HealthTracker.HealthTick () [0x00000] in <filename unknown>:0
  at Verse.Pawn.Tick () [0x00000] in <filename unknown>:0
  at Verse.ThingOwner.ThingOwnerTick (Boolean removeIfDestroyed) [0x00000] in <filename unknown>:0
  at Verse.Pawn_CarryTracker.CarryHandsTick () [0x00000] in <filename unknown>:0
  at Verse.Pawn.Tick () [0x00000] in <filename unknown>:0
  at Verse.TickList.Tick () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
Title: Re: [A17] Null reference exception
Post by: Tynan on May 28, 2017, 03:19:30 AM
Any notion of how to make this happen?

Ison should look at this please.
Title: Re: [A17] Null reference exception
Post by: giltirn on May 28, 2017, 11:50:25 AM
Some more info: I'm playing Randy Rough, on a temperate forest biome. A pod crashlanded and I went to rescue the survivor. My guy brought the colonist back and took him into the hospital then this error appeared, presumably when he tried to put the survivor in bed. After closing the message, the rescued colonist immediately started walking out of my colony without any treatment. I cannot recall anything strange about the hospital other than that it was not lit. I hope this helps.
Title: Re: [A17] Null reference exception
Post by: ison on May 29, 2017, 06:14:36 AM
Fixed, thanks for reporting and for the info.