RimThreaded icon indicating copy to clipboard operation
RimThreaded copied to clipboard

[Semi Random Research] does not give the research complete nor choose new research screen. `Exception in JobDriver tick for pawn Nemo driver=JobDriver_Research (toilIndex=1) driver.job=(Research (Job_22747)`

Open kerdv opened this issue 3 years ago • 4 comments

The mod Semi Random Research is supposed to give you a limited selection of research topics every time you finish a research. With RT installed, it does not bring up the research completed notification nor bring up the next selection screen automatically. If the player does go into the research tab, you do get the selection screen you should.

  • [ ] Test in version 2.5.16 or later
  • [ ] Find the cause
  • [ ] Fix

Steps to reproduce the behavior (VERY IMPORTANT)

  1. Complete research, no prompts come up beyond "need research project on the side". Red error generated
  2. Click on Research to see selection screen

image

Error Log Exception in JobDriver tick for pawn Nemo driver=JobDriver_Research (toilIndex=1) driver.job=(Research (Job_22747) A=Thing_SimpleResearchBench37113) System.NullReferenceException: Object reference not set to an instance of an object at RimWorld.ResearchManager.FinishProject (Verse.ResearchProjectDef proj, System.Boolean doCompletionDialog, Verse.Pawn researcher) [0x000a4] in :0 at RimWorld.ResearchManager.ResearchPerformed (System.Single amount, Verse.Pawn researcher) [0x000af] in :0 at RimWorld.JobDriver_Research+<>c__DisplayClass6_0.<MakeNewToils>b__0 () [0x00037] in :0 at RimThreaded.JobDriver_Patch.DriverTick (Verse.AI.JobDriver __instance) [0x00318] in <0159967a552640fa8217f400cfa096c6>:0 Verse.Log:Error(String, Boolean) Verse.AI.JobUtility:TryStartErrorRecoverJob(Pawn, String, Exception, JobDriver) RimThreaded.JobDriver_Patch:DriverTick(JobDriver) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch1(JobDriver) Verse.AI.Pawn_JobTracker:JobTrackerTick() Verse.Pawn:Tick() RimThreaded.RimThreaded:ExecuteTicks() RimThreaded.RimThreaded:ProcessTicks(ThreadInfo) RimThreaded.RimThreaded:InitializeThread(ThreadInfo) RimThreaded.<>c__DisplayClass80_0:<CreateWorkerThread>b__0() System.Threading.ThreadHelper:ThreadStart_Context(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object) System.Threading.ThreadHelper:ThreadStart()

!!! Link to HugsLib log. (MUST BE LINK) !!! https://gist.github.com/3a2337308b1cc20ccc3dba42e8cf91f2

Save file !!! Please add a save file where the issue occurs to speed up testing and fixing of the issue !!! SRR+RT test save.zip

Mod list (Preferably a RimPy compatible list.)

  • Harmony
  • Core
  • Royalty (optional)
  • HugsLib
  • Semi Random Research
  • RimThreaded

kerdv avatar Mar 23 '21 14:03 kerdv

occurs on prerelease 2.0.5

bababooeyy avatar Mar 28 '21 05:03 bababooeyy

occurs on prerelease 2.0.7

bababooeyy avatar Apr 25 '21 12:04 bababooeyy

this issue still remains on 2.2.17.

pastorismylord avatar May 27 '21 04:05 pastorismylord

this issue persists on 2.3.5

pastorismylord avatar Jun 15 '21 21:06 pastorismylord