RimWorld

RimWorld

Stronger Tool Cabinets (1.6)
Error Log of disappearing tool cabinet
Since the comments won't allow a full log I made this thread.

My log shows:
Exception in Tick (pawn=White, job=FinishFrame A=Thing_ToolCabinet_Frame390835, CurToil=2): System.ArgumentNullException: Argument cannot be null.
Parameter name: type
at System.Activator.CheckType (System.Type) <0x0005d>
at System.Activator.CreateInstance (System.Type,bool) <0x00013>
at System.Activator.CreateInstance (System.Type) <0x00012>
at (wrapper dynamic-method) Verse.ThingMaker.MakeThing_Patch1 (Verse.ThingDef,Verse.ThingDef) <0x00220>
at RimWorld.Frame.CompleteConstruction (Verse.Pawn) <0x002f4>
at RimWorld.JobDriver_ConstructFinishFrame/<MakeNewToils>c__IteratorE.<>m__34 () <0x0022f>
at Verse.AI.JobDriver.DriverTick () <0x00322>
lastJobGiver=RimWorld.JobGiver_Work, curJob.def=FinishFrame, curDriver=QualityBuilder._JobDriver_ConstructFinishFrame
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()

When a cabinet is completed.

More examples:

Exception in Tick (pawn=White, job=FinishFrame A=Thing_ToolCabinet_Frame390835, CurToil=2): System.ArgumentNullException: Argument cannot be null.
Parameter name: type
at System.Activator.CheckType (System.Type) <0x0005d>
at System.Activator.CreateInstance (System.Type,bool) <0x00013>
at System.Activator.CreateInstance (System.Type) <0x00012>
at (wrapper dynamic-method) Verse.ThingMaker.MakeThing_Patch1 (Verse.ThingDef,Verse.ThingDef) <0x00220>
at RimWorld.Frame.CompleteConstruction (Verse.Pawn) <0x002f4>
at RimWorld.JobDriver_ConstructFinishFrame/<MakeNewToils>c__IteratorE.<>m__34 () <0x0022f>
at Verse.AI.JobDriver.DriverTick () <0x00322>
lastJobGiver=RimWorld.JobGiver_Work, curJob.def=FinishFrame, curDriver=QualityBuilder._JobDriver_ConstructFinishFrame
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()

----

Exception in Tick (pawn=White, job=FinishFrame A=Thing_ToolCabinet_Frame390835, CurToil=2): System.ArgumentNullException: Argument cannot be null.
Parameter name: type
at System.Activator.CheckType (System.Type) <0x0005d>
at System.Activator.CreateInstance (System.Type,bool) <0x00013>
at System.Activator.CreateInstance (System.Type) <0x00012>
at (wrapper dynamic-method) Verse.ThingMaker.MakeThing_Patch1 (Verse.ThingDef,Verse.ThingDef) <0x00220>
at RimWorld.Frame.CompleteConstruction (Verse.Pawn) <0x002f4>
at RimWorld.JobDriver_ConstructFinishFrame/<MakeNewToils>c__IteratorE.<>m__34 () <0x0022f>
at Verse.AI.JobDriver.DriverTick () <0x00322>
lastJobGiver=RimWorld.JobGiver_Work, curJob.def=FinishFrame, curDriver=QualityBuilder._JobDriver_ConstructFinishFrame
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()

---

Exception in Tick (pawn=White, job=FinishFrame A=Thing_ToolCabinet_Frame390835, CurToil=2): System.ArgumentNullException: Argument cannot be null.
Parameter name: type
at System.Activator.CheckType (System.Type) <0x0005d>
at System.Activator.CreateInstance (System.Type,bool) <0x00013>
at System.Activator.CreateInstance (System.Type) <0x00012>
at (wrapper dynamic-method) Verse.ThingMaker.MakeThing_Patch1 (Verse.ThingDef,Verse.ThingDef) <0x00220>
at RimWorld.Frame.CompleteConstruction (Verse.Pawn) <0x002f4>
at RimWorld.JobDriver_ConstructFinishFrame/<MakeNewToils>c__IteratorE.<>m__34 () <0x0022f>
at Verse.AI.JobDriver.DriverTick () <0x00322>
lastJobGiver=RimWorld.JobGiver_Work, curJob.def=FinishFrame, curDriver=QualityBuilder._JobDriver_ConstructFinishFrame
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()
< >
Showing 1-6 of 6 comments
VoshkaVonBadMeow 8 Jul, 2017 @ 4:57am 
Looking closer at the log showed this error as well:

Exception editing stack counts for ThingDef "ToolCabinet": System.NullReferenceException: Object reference not set to an instance of an object
at ResearchableStatUpgrades.RSUUtil.IsInst (System.Type t, System.Type a) [0x00000] in <filename unknown>:0
at ResearchableStatUpgrades.RSUUtil+<>c__DisplayClass9_0.<IsInst>b__0 (System.Type t2) [0x00000] in <filename unknown>:0
at System.Linq.Enumerable.Any[Type] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0
at ResearchableStatUpgrades.RSUUtil.IsInst (System.Type t, System.Type[] types) [0x00000] in <filename unknown>:0
at ResearchableStatUpgrades.WorldComponent_StackCountEditManager.RefreshStackCountEdits () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
ResearchableStatUpgrades.WorldComponent_StackCountEditManager:RefreshStackCountEdits()
ResearchableStatUpgrades.WorldComponent_StackCountEditManager:MultiplyFactorBy(Single)
ResearchableStatUpgrades.ModExtension_StackCountFactor:ApplyWorker(ResearchProjectDef)
ResearchableStatUpgrades.WorldComponent_StackCountEditManager:RefreshResearches()
ResearchableStatUpgrades.ResearchMod_EditStackCounts:Apply()
Verse.ResearchProjectDef:ReapplyAllMods()
GHXXTechAdvancing._ResearchManager:_ReapplyAllMods(ResearchManager)
RimWorld.ResearchManager:ResearchPerformed_Patch2(Object, Single, Pawn)
RimWorld.<MakeNewToils>c__Iterator3B:<>m__A4()
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()

To me it seems like it's trying to stack tool cabinets (thanks to a mod I have) but why? I'm not trying to uninstall them..
kasenra  [developer] 9 Jul, 2017 @ 9:44am 
It's really tough to read what might be causing this error, since it's from another mod conflicting, but I've pushed a small change that might help to fix this. I can't be sure if it will even do anything, though.
VoshkaVonBadMeow 9 Jul, 2017 @ 1:26pm 
Honestly, I have about 50 mods installed, I'm astonished the game even runs as well as it does at this point :)

Don't worry too much about it, at least not concerning me :)
jcewazhere 28 Feb, 2018 @ 3:09pm 
I'm having the same disapearing cabinet issue as Voshka, but I have 117 mods installed so I agree that it's probably our fault for over modding and causing a conflict. Here is my mod list if you want to compare them to narrow down the conflicting mod:

Core, HugsLib, [XND] Xeo's Genetically Engineered Plants, GouRIMet 1.0, Hand Me That Brick, Allow Tool, More Sculpture, Noku Mushrooms, DE Surgeries, Rim of Madness - Bones, [FSF] Craft Drugs at Drug Labs, Straw Floor [A18], [KV] RimFridge - B18, Floor Lights - B18, [KV] Refugee Stats - B18, [KV] Trading Spot - [B18], Flagstone Cheaper (2per) A18, [RF] Consolidated Traits [b18], [RF] More Trait Slots [b18], Wanderer stat, [RF] Pawns are Capable! [b18], [RF] Smooth Stone Walls, Disinfectant stand, Tilled Soil, MineItAll, Damage Indicators, t-45 power armor, stronger armor quality scaling, skill overhead, nutrient paste rebalanced, replacement organ crafting, bionic replacement crafting, cphaulage - combined, double population, map reroll, defensive positions, medical tab, animal tab, fluffy breakdowns, hospitality, mending, omni core drill, no debris, moresteelfromslag, genleather, buildable terrain, fuelburning, craftable synthetics, craftable artifacts, advancedpowergeneration, stack merger, minifyeverything, longrangepodlauncher, ♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥, doormat, exotic joy, wealthy traders, shield generators by frontier developments, pest control, static quality plus, ogrestack, edb prepare carefully, campfires can cremate corpses, medical training, customdeathrandomness, firefoam belt, conficurable maps, craft neutroamine, achtung!, medicine kit crafting, fast regen, shooting skill enhanced, deadly vanilla weapon tweaks, easy speedup, organized research tab, uranium is green, increased loads, more components, nerfed parasites, somewhatspacious, better workbench management, qualitybuilder, skilled stonecutting, misc training, prisoner ransom, efficient batteries, call of cthulhu industrial age, base robots, cleaning bot, hauling bot, expanded roofing, lightning rod, turretcontrol, i can fix it, use a freaking table, mini table,
tick multithread, rot tick fix, idle pawn fix, miningco forcefield, beat the meat, fahrenheit and celsius, replacewalls, neuter animals, more vanilla turrets, removable mtrock roof patche, shear those corpses, metal corn, stronger tool cabinets, let them eat paste, peanuts and peanut accessories, golgafrinchans, efficient utilities, growable grass, modular tables, make plastic and plasteel, gromponents, charge rifle mkii, less stupid romance attempt, not today, mechas, and veggie blend.

I moved stronger tool cabinets to the bottom to see if that fixed it but with no luck.
kasenra  [developer] 28 Feb, 2018 @ 3:12pm 
@jcewazhere based on a past commenter, id suggest moving STC to the top. The previous had a problem that was resolved loading this mod above Jecstools, so I'd assume a similar problem is at play here
jcewazhere 28 Feb, 2018 @ 3:17pm 
Yep that seems to have fixed it. Thanks :steamhappy:
< >
Showing 1-6 of 6 comments
Per page: 1530 50