Dubwise56 / Dubs-Mint-Menus

This mod adds new list boxes for adding bills, health bills, selecting plants for growing zones and building, making it easier to find things when lots of mods are running, and you can also view the info tab with just a mouse over.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bills menu stopped working

ruifung opened this issue · comments

Logs: https://gist.github.com/9c7783007331410a2797c98ab0fb3cfa

Exception filling window for DubsMintMenus.MainTabWindow_MintBillMenu: System.NullReferenceException: Object reference not set to an instance of an object
  at Inventory.LoadoutManager+<>c__DisplayClass14_0.<ColonistCountFor>b__0 (Verse.Pawn p) [0x00000] in <5c39da9f6ccd4459942911ddaec43bd2>:0 
  at System.Linq.Enumerable.Count[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0002e] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at Inventory.LoadoutManager.ColonistCountFor (RimWorld.Bill_Production bill) [0x00033] in <5c39da9f6ccd4459942911ddaec43bd2>:0 
  at Inventory.BillUtility.DesiredTargetCount (RimWorld.Bill_Production productionBill) [0x00000] in <5c39da9f6ccd4459942911ddaec43bd2>:0 
  at Inventory.BillUtility.Satisfied (RimWorld.Bill_Production productionBill) [0x00000] in <5c39da9f6ccd4459942911ddaec43bd2>:0 
  at Inventory.ShouldDoNow_Patch.Prefix (System.Boolean& __result, RimWorld.Bill_Production __instance) [0x00017] in <5c39da9f6ccd4459942911ddaec43bd2>:0 
  at (wrapper dynamic-method) RimWorld.Bill_Production.RimWorld.Bill_Production.ShouldDoNow_Patch1(RimWorld.Bill_Production)
  at DubsMintMenus.MainTabWindow_MintBillMenu+<>c.<Doink>b__25_0 (RimWorld.Bill x) [0x00000] in <fe252d5661064fe5a9c2adf3b846ea5f>:0 
  at System.Linq.Enumerable.Count[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0002e] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at DubsMintMenus.MainTabWindow_MintBillMenu.Doink (System.Collections.Generic.List`1[T] wam) [0x0009b] in <fe252d5661064fe5a9c2adf3b846ea5f>:0 
  at DubsMintMenus.MainTabWindow_MintBillMenu.DoBenches (UnityEngine.Rect inRect, System.Collections.Generic.List`1[T] groups) [0x0023e] in <fe252d5661064fe5a9c2adf3b846ea5f>:0 
  at DubsMintMenus.MainTabWindow_MintBillMenu.DoWindowContents (UnityEngine.Rect inRect) [0x000a3] in <fe252d5661064fe5a9c2adf3b846ea5f>:0 

Screenshot:
image

looks like a mod called Inventory is adding patches to stuff like RimWorld.Bill_Production.RimWorld.Bill_Production.ShouldDoNow which is throwing the errors, try removing that mod

Yeah, found it. I was confused because i didn't have any mod named "Inventory" but it's Compositable Loadouts. No idea how a bill got borked tho. Had to deconstruct the bench with the offending bill.