Anyone recognize this error?

Started by lorebot, July 06, 2017, 08:57:30 AM

Previous topic - Next topic

lorebot

Started a new colony this morning and almost immediately started getting flooded with errors like this:

Exception in Tick (pawn=Elad, job=WaitMaintainPosture, CurToil=3): System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.StatWorker.GetBaseValueFor (Verse.BuildableDef) <0x0001d>
at RimWorld.StatWorker.GetValueUnfinalized (RimWorld.StatRequest,bool) <0x00022>
at RimWorld.StatWorker.GetValue (RimWorld.StatRequest,bool) <0x0003d>
at RimWorld.StatWorker.GetValue (Verse.Thing,bool) <0x00042>
at RimWorld.StatExtension.GetStatValue (Verse.Thing,RimWorld.StatDef,bool) <0x0002b>
at RePower.repowerHook/JobDriver_WatchBuilding_WatchTickAction_Patch._WatchTickAction (RimWorld.JobDriver_WatchBuilding) <0x000c8>
at (wrapper dynamic-method) RimWorld.JobDriver_WatchBuilding.WatchTickAction_Patch1 (object) <0x000ea>
at RimWorld.JobDriver_PlayHorseshoes.WatchTickAction () <0x00096>
at RimWorld.JobDriver_WatchBuilding/<MakeNewToils>c__Iterator1D.<>m__61 () <0x00017>
at Verse.AI.JobDriver.DriverTick () <0x002a3>
lastJobGiver=, curJob.def=WaitMaintainPosture, curDriver=Verse.AI.JobDriver_WaitMaintainPosture
Verse.Log:Error(String)
Verse.AI.Pawn_JobTracker:StartErrorRecoverJob(String)
Verse.AI.JobDriver:DriverTick()
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()


I'm not sure what this error is from, but I had to turn off 'auto-popup log' because it was happening way too often. Anyone know what this means and/or how I can tell what's causing it so I can try to fix it?

You can check out the full log here

skullywag

Repower mentioned in stacktrace id start there.
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?