Ludeon Forums

RimWorld => Support => Topic started by: platipuss on November 10, 2020, 06:39:57 AM

Title: error handling (job is not finishing)
Post by: platipuss on November 10, 2020, 06:39:57 AM
Dear All

my pawns are starting to do something and after the yellow progress bar fills; the job is not ending properly. this happens either when eating something or cooking as of now I could see.
the error message is written down below. (in this particular case pawn was eating smoked meat)

does someone read and understand what is causing this by looking the error mesage?

my game is heavily modded. maybe you can understand which mod is causing the problem.

can you also explain how you read the error message, how to understand the issue going on...

thanks in advance for all who read and post this message





JobDriver threw exception in initAction for pawn Katie driver=JobDriver_Ingest (toilIndex=9) driver.job=(Ingest (Job_964131) A=Thing_Tam_SmokedMeat97169 B=(38, 0, 195))
System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.RoomRoleWorker_Kitchen.GetScore (Verse.Room room) [0x00060] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.Room.<UpdateRoomStatsAndRole>b__90_0 (Verse.RoomRoleDef x) [0x00006] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.GenCollection.MaxBy[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector, System.Collections.Generic.IComparer`1[T] comparer) [0x0005c] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.GenCollection.MaxBy[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x00007] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.Room.UpdateRoomStatsAndRole () [0x000ad] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.Room.GetStat (Verse.RoomStatDef roomStat) [0x00008] in <d72310b4d8f64d25aee502792b58549f>:0
  at RimWorld.Toils_Ingest+<>c__DisplayClass12_0.<FinalizeIngest>b__0 () [0x000e8] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001df] in <d72310b4d8f64d25aee502792b58549f>:0
Verse.Log:Error(String, Boolean)
Verse.AI.JobUtility:TryStartErrorRecoverJob(Pawn, String, Exception, JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:Verse.AI.JobDriver.ReadyForNextToil_Patch1(JobDriver)
Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch1(JobDriver)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Verse.Pawn.Tick_Patch2(Pawn)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Verse.Game.UpdatePlay_Patch1(Game)
Verse.Root_Play:Verse.Root_Play.Update_Patch1(Root_Play)
Title: Re: error handling (job is not finishing)
Post by: Canute on November 10, 2020, 07:10:01 AM
Does the pawn try to eat something (Tam_SmokedMeat) ?
Can he eat other stuff without error ?
Title: Re: error handling (job is not finishing)
Post by: platipuss on November 10, 2020, 11:23:00 AM
it does not matter what she is eating sometimes it happens eating simple meal or cooking as well