RimWorld

RimWorld

Smart Colonist Bar
NotooShabby  [developer] 17 Jul, 2020 @ 4:53pm
Bug Report
Report bugs here
< >
Showing 1-15 of 53 comments
Rook 17 Jul, 2020 @ 6:54pm 
i removed the mod, now the world save is broken
NotooShabby  [developer] 17 Jul, 2020 @ 7:39pm 
It is normal to see some red texts in the first load of the game after the mod is removed. Save the game and reload it again, everything will work just fine.
hot dog water 18 Jul, 2020 @ 1:27am 
System.AggregateException: One or more errors occurred. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x00000] in <c2849852fc724f839ce644f7e5f00d2b>:0
at BetterColonistBar.BCBManager+<>c.<UpdateColonistBar>b__27_0 (System.Boolean current, RimWorld.ColonistBar+Entry entry) [0x00000] in <eeb760a3132e4955958366015fe65d4d>:0
at System.Linq.ParallelEnumerable.PerformSequentialAggregation[TSource,TAccumulate] (System.Linq.ParallelQuery`1[TSource] source, TAccumulate seed, System.Boolean seedIsSpecified, System.Func`3[T1,T2,TResult] func) [0x0003b] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
--- End of inner exception stack trace ---
at System.Linq.ParallelEnumerable.PerformSequentialAggregation[TSource,TAccumulate] (System.Linq.ParallelQuery`1[TSource] source, TAccumulate seed, System.Boolean seedIsSpecified, System.Func`3[T1,T2,TResult] func) [0x00056] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.ParallelEnumerable.Aggregate[TSource,TAccumulate] (System.Linq.ParallelQuery`1[TSource] source, TAccumulate seed, System.Func`3[T1,T2,TResult] func, System.Linq.Parallel.QueryAggregationOptions options) [0x0002d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.ParallelEnumerable.Aggregate[TSource,TAccumulate] (System.Linq.ParallelQuery`1[TSource] source, TAccumulate seed, System.Func`3[T1,T2,TResult] func) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at BetterColonistBar.BCBManager.UpdateColonistBar () [0x0000f] in <eeb760a3132e4955958366015fe65d4d>:0
at BetterColonistBar.HarmonyPatches.ColonistBarOnGUI_Patch.Postfix () [0x0014d] in <eeb760a3132e4955958366015fe65d4d>:0
---> (Inner Exception #0) System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x00000] in <c2849852fc724f839ce644f7e5f00d2b>:0
at BetterColonistBar.BCBManager+<>c.<UpdateColonistBar>b__27_0 (System.Boolean current, RimWorld.ColonistBar+Entry entry) [0x00000] in <eeb760a3132e4955958366015fe65d4d>:0
at System.Linq.ParallelEnumerable.PerformSequentialAggregation[TSource,TAccumulate] (System.Linq.ParallelQuery`1[TSource] source, TAccumulate seed, System.Boolean seedIsSpecified, System.Func`3[T1,T2,TResult] func) [0x0003b] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 <---
I used a heavy cargo shuttle from Save our ship 2 and I got a popup that said mod reverted to the vanilla colonist bar. Here's the stuff it said in the box.
NotooShabby  [developer] 18 Jul, 2020 @ 2:07am 
Thanks for reporting. SOS2 is a known incompatible with this mod. A fix may come soon.
NotooShabby  [developer] 18 Jul, 2020 @ 2:46am 
I have updated the mod. It might work with SOS2 now.
System.AggregateException: One or more errors occurred. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <567df3e0919241ba98db88bec4c6696f>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorld.ThoughtHandler.GetMoodThoughts (RimWorld.Thought group, System.Collections.Generic.List`1[T] outThoughts) [0x0002c] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at RimWorld.ThoughtHandler.MoodOffsetOfGroup (RimWorld.Thought group) [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at RimWorld.ThoughtHandler.TotalMoodOffset () [0x00022] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at RimWorld.Need_Mood.get_CurInstantLevel () [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at BetterColonistBar.BreakLevelCache.UpdateCache (Verse.Pawn pawn) [0x000b8] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at BetterColonistBar.BreakLevelCache.UpdateCache () [0x0000c] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at RimWorldUtility.CacheableTick`1[TType].op_Implicit (RimWorldUtility.CacheableTick`1[TType] cache) [0x00027] in <e6905432813d44259837d1dda917e88f>:0
at BetterColonistBar.BCBManager.GetBreakLevelFor (Verse.Pawn pawn) [0x0000b] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at BetterColonistBar.HarmonyPatches.ColonistBarColonistDrawer_DrawColonist_Patch.BuildTexture (UnityEngine.Texture2D newTexture, UnityEngine.Rect moodBaRect, Verse.Pawn pawn, BetterColonistBar.BreakLevelModel breakLevelModel, System.Single[] thresholds) [0x0001e] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at BetterColonistBar.HarmonyPatches.ColonistBarColonistDrawer_DrawColonist_Patch+<>c__DisplayClass16_0.<DrawMoodBarFast>b__0 () [0x00000] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at (wrapper delegate-invoke) System.Func`1[System.ValueTuple`2[UnityEngine.Texture2D,Verse.Pawn]].invoke_TResult()
at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000f] in <567df3e0919241ba98db88bec4c6696f>:0
at BetterColonistBar.HarmonyPatches.ColonistBarColonistDrawer_DrawColonist_Patch.DrawMoodBarFast (UnityEngine.Rect portraitRect, Verse.Pawn pawn, BetterColonistBar.BreakLevelModel breakLevelModel) [0x000f8] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at BetterColonistBar.HarmonyPatches.ColonistBarColonistDrawer_DrawColonist_Patch.DrawAddOn (UnityEngine.Color color, UnityEngine.Rect rect, Verse.Pawn pawn) [0x0008e] in <b859da9a3a4c45b1b8422a7da62db9df>:0
---> (Inner Exception #0) System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <567df3e0919241ba98db88bec4c6696f>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorld.ThoughtHandler.GetMoodThoughts (RimWorld.Thought group, System.Collections.Generic.List`1[T] outThoughts) [0x0002c] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at RimWorld.ThoughtHandler.MoodOffsetOfGroup (RimWorld.Thought group) [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at RimWorld.ThoughtHandler.TotalMoodOffset () [0x00022] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at RimWorld.Need_Mood.get_CurInstantLevel () [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at BetterColonistBar.BreakLevelCache.UpdateCache (Verse.Pawn pawn) [0x000b8] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at BetterColonistBar.BreakLevelCache.UpdateCache () [0x0000c] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at RimWorldUtility.CacheableTick`1[TType].op_Implicit (RimWorldUtility.CacheableTick`1[TType] cache) [0x00027] in <e6905432813d44259837d1dda917e88f>:0
at BetterColonistBar.BCBManager.GetBreakLevelFor (Verse.Pawn pawn) [0x0000b] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at BetterColonistBar.HarmonyPatches.ColonistBarColonistDrawer_DrawColonist_Patch.BuildTexture (UnityEngine.Texture2D newTexture, UnityEngine.Rect moodBaRect, Verse.Pawn pawn, BetterColonistBar.BreakLevelModel breakLevelModel, System.Single[] thresholds) [0x0001e] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at BetterColonistBar.HarmonyPatches.ColonistBarColonistDrawer_DrawColonist_Patch+<>c__DisplayClass16_0.<DrawMoodBarFast>b__0 () [0x00000] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at (wrapper delegate-invoke) System.Func`1[System.ValueTuple`2[UnityEngine.Texture2D,Verse.Pawn]].invoke_TResult()
at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0 <---
NotooShabby  [developer] 18 Jul, 2020 @ 7:39am 
@Proximity_Microwave Thanks for reporting. This error should have been addressed in the latest update.
Omnires 18 Jul, 2020 @ 7:52am 
System.NullReferenceException: Object reference not set to an instance of an object
at Verse.ThingOwnerUtility.GetAllThingsRecursively (Verse.IThingHolder holder, System.Collections.Generic.List`1[T] outThings, System.Boolean allowUnreal, System.Predicate`1[T] passCheck) [0x00040] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at Verse.ThingOwnerUtility.GetAllThingsRecursively[T] (Verse.Map map, Verse.ThingRequest request, System.Collections.Generic.List`1[T] outThings, System.Boolean allowUnreal, System.Predicate`1[T] passCheck, System.Boolean alsoGetSpawnedThings) [0x00077] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at Verse.MapPawns.get_AllPawnsUnspawned () [0x00018] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at Verse.MapPawns.get_AllPawns () [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at Verse.MapPawns.PawnsInFaction (RimWorld.Faction faction) [0x0003d] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at VoiceroidAsAnimal.StatPart_VAAMentalBreakThreshold.VAAMentalBreakThresholdCorrect (Verse.Pawn p) [0x0002a] in <a88c1491047d4934938ee51d3bbb9669>:0
at VoiceroidAsAnimal.StatPart_VAAMentalBreakThreshold.TransformValue (RimWorld.StatRequest req, System.Single& val) [0x00035] in <a88c1491047d4934938ee51d3bbb9669>:0
at RimWorld.StatWorker.FinalizeValue (RimWorld.StatRequest req, System.Single& val, System.Boolean applyPostProcess) [0x00022] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at RimWorld.StatWorker.GetValue (RimWorld.StatRequest req, System.Boolean applyPostProcess) [0x0004c] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at RimWorld.StatWorker.GetValue (Verse.Thing thing, System.Boolean applyPostProcess) [0x00007] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at (wrapper dynamic-method) RimWorld.StatExtension.DMD<DMD<GetStatValue_Patch1>?947635456::GetStatValue_Patch1>(Verse.Thing,RimWorld.StatDef,bool)
at Verse.AI.MentalBreaker.get_BreakThresholdMinor () [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at BetterColonistBar.BreakLevelCache.UpdateCache (Verse.Pawn pawn) [0x0006a] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at BetterColonistBar.BreakLevelCache.UpdateCache () [0x0000c] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at RimWorldUtility.CacheableTick`1[TType].op_Implicit (RimWorldUtility.CacheableTick`1[TType] cache) [0x00027] in <e6905432813d44259837d1dda917e88f>:0
at BetterColonistBar.BCBManager.GetBreakLevelFor (Verse.Pawn pawn) [0x0000b] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at BetterColonistBar.HarmonyPatches.ColonistBarColonistDrawer_DrawColonist_Patch.DrawAddOn (UnityEngine.Color color, UnityEngine.Rect rect, Verse.Pawn pawn) [0x00077] in <b859da9a3a4c45b1b8422a7da62db9df>:0
Crow392 18 Jul, 2020 @ 7:52am 
Encounter this error after the update
https://imgur.com/a/V7zAI3o

The mod stop working
(it's back to the vanilla one)


The whole text :
System.NullReferenceException: Object reference not set to an instance of an object
at Verse.HealthUtility.TicksUntilDeathDueToBloodLoss (Verse.Pawn pawn) [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0
at BetterColonistBar.PawnOrderBleedingCache+<>c.<UpdateInternal>b__4_1 (RimWorld.ColonistBar+Entry t) [0x00000] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at System.Linq.EnumerableSorter`2[TElement,TKey].ComputeKeys (TElement[] elements, System.Int32 count) [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.EnumerableSorter`2[TElement,TKey].ComputeKeys (TElement[] elements, System.Int32 count) [0x00040] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.EnumerableSorter`1[TElement].ComputeMap (TElement[] elements, System.Int32 count) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.EnumerableSorter`1[TElement].Sort (TElement[] elements, System.Int32 count) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.OrderedEnumerable`1[TElement].SortedMap (System.Linq.Buffer`1[TElement] buffer) [0x00006] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.OrderedEnumerable`1[TElement].ToList () [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at BetterColonistBar.PawnOrderBleedingCache.UpdateInternal () [0x00055] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at RimWorldUtility.CacheableTick`1[TType].op_Implicit (RimWorldUtility.CacheableTick`1[TType] cache) [0x00027] in <e6905432813d44259837d1dda917e88f>:0
at BetterColonistBar.PawnOrderBleedingCache.Reorder () [0x00000] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at BetterColonistBar.BCBManager.Reorder () [0x0000c] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at BetterColonistBar.BCBManager.UpdateColonistBar () [0x00000] in <b859da9a3a4c45b1b8422a7da62db9df>:0
at BetterColonistBar.HarmonyPatches.ColonistBarOnGUI_Patch.Postfix () [0x0014d] in <b859da9a3a4c45b1b8422a7da62db9df>:0
Last edited by Crow392; 18 Jul, 2020 @ 7:56am
NotooShabby  [developer] 18 Jul, 2020 @ 8:16am 
@Crow125 Your issue has been addressed.
CJM_036653 19 Jul, 2020 @ 5:02am 
System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00120] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].MakeCache (TKey key) [0x0000d] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x0000e] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0
--- End of inner exception stack trace ---
at System.Linq.Parallel.QueryTaskGroupState.QueryEnd (System.Boolean userInitiatedDispose) [0x00081] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTask.SpoolForAll[TInputOutput,TIgnoreKey] (System.Linq.Parallel.QueryTaskGroupState groupState, System.Linq.Parallel.PartitionedStream`2[TElement,TKey] partitions, System.Threading.Tasks.TaskScheduler taskScheduler) [0x00045] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.DefaultMergeHelper`2[TInputOutput,TIgnoreKey].System.Linq.Parallel.IMergeHelper<TInputOutput>.Execute () [0x00054] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.MergeExecutor`1[TInputOutput].Execute () [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.MergeExecutor`1[TInputOutput].Execute[TKey] (System.Linq.Parallel.PartitionedStream`2[TElement,TKey] partitions, System.Boolean ignoreOutput, System.Linq.ParallelMergeOptions options, System.Threading.Tasks.TaskScheduler taskScheduler, System.Boolean isOrdered, System.Linq.Parallel.CancellationState cancellationState, System.Int32 queryId) [0x00082] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.PartitionedStreamMerger`1[TOutput].Receive[TKey] (System.Linq.Parallel.PartitionedStream`2[TElement,TKey] partitionedStream) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllOperator`1[TInput].WrapPartitionedStream[TKey] (System.Linq.Parallel.PartitionedStream`2[TElement,TKey] inputStream, System.Linq.Parallel.IPartitionedStreamRecipient`1[TElement] recipient, System.Boolean preferStriping, System.Linq.Parallel.QuerySettings settings) [0x00045] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.UnaryQueryOperator`2+UnaryQueryOperatorResults+ChildResultsRecipient[TInput,TOutput].Receive[TKey] (System.Linq.Parallel.PartitionedStream`2[TElement,TKey] inputStream) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ListQueryResults`1[T].GivePartitionedStream (System.Linq.Parallel.IPartitionedStreamRecipient`1[TElement] recipient) [0x00007] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.UnaryQueryOperator`2+UnaryQueryOperatorResults[TInput,TOutput].GivePartitionedStream (System.Linq.Parallel.IPartitionedStreamRecipient`1[TElement] recipient) [0x000b2] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryOperator`1[TOutput].GetOpenedEnumerator (System.Nullable`1[T] mergeOptions, System.Boolean suppressOrder, System.Boolean forEffect, System.Linq.Parallel.QuerySettings querySettings) [0x000cb] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllOperator`1[TInput].RunSynchronously () [0x00039] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.ParallelEnumerable.ForAll[TSource] (System.Linq.ParallelQuery`1[TSource] source, System.Action`1[T] action) [0x00023] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at BetterColonistBar.BCBManager.UpdateColonistBar () [0x0001c] in <056344d76b364af9a0dc70265d09653d>:0
at BetterColonistBar.HarmonyPatches.ColonistBarOnGUI_Patch.Postfix () [0x0014d] in <056344d76b364af9a0dc70265d09653d>:0
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00120] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].MakeCache (TKey key) [0x0000d] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x0000e] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0 <---

---> (Inner Exception #1) System.NullReferenceException: Object reference not set to an instance of an object
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00120] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].MakeCache (TKey key) [0x0000d] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x0000e] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0 <---
Crow392 19 Jul, 2020 @ 8:09am 
Encounter this error after pressing Ctrl+C (Which is the hotkey for expand/collapses?)
https://imgur.com/a/JvNHQe5
The mod stop working
(it's back to the vanilla one)

The whole text :
System.ArgumentNullException: Value cannot be null.
Parameter name: pawn
at BetterColonistBar.PawnUtility.ShouldShowBar (Verse.Pawn pawn) [0x000d9] in <056344d76b364af9a0dc70265d09653d>:0
at BetterColonistBar.HarmonyPatches.ColonistBarDrawLocsFinder_Patch.CalculateColonistsInGroupPrefix () [0x00040] in <056344d76b364af9a0dc70265d09653d>:0



Last edited by Crow392; 19 Jul, 2020 @ 8:09am
JageriuS 19 Jul, 2020 @ 11:38am 
Encountered this error when adding this mod to my current modlist.

System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00156] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].MakeCache (TKey key) [0x0000d] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x0000e] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0
--- End of inner exception stack trace ---
at System.Linq.Parallel.QueryTaskGroupState.QueryEnd (System.Boolean userInitiatedDispose) [0x00081] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTask.SpoolForAll[TInputOutput,TIgnoreKey] (System.Linq.Parallel.QueryTaskGroupState groupState, System.Linq.Parallel.PartitionedStream`2[TElement,TKey] partitions, System.Threading.Tasks.TaskScheduler taskScheduler) [0x00045] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.DefaultMergeHelper`2[TInputOutput,TIgnoreKey].System.Linq.Parallel.IMergeHelper<TInputOutput>.Execute () [0x00054] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.MergeExecutor`1[TInputOutput].Execute () [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.MergeExecutor`1[TInputOutput].Execute[TKey] (System.Linq.Parallel.PartitionedStream`2[TElement,TKey] partitions, System.Boolean ignoreOutput, System.Linq.ParallelMergeOptions options, System.Threading.Tasks.TaskScheduler taskScheduler, System.Boolean isOrdered, System.Linq.Parallel.CancellationState cancellationState, System.Int32 queryId) [0x00082] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.PartitionedStreamMerger`1[TOutput].Receive[TKey] (System.Linq.Parallel.PartitionedStream`2[TElement,TKey] partitionedStream) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllOperator`1[TInput].WrapPartitionedStream[TKey] (System.Linq.Parallel.PartitionedStream`2[TElement,TKey] inputStream, System.Linq.Parallel.IPartitionedStreamRecipient`1[TElement] recipient, System.Boolean preferStriping, System.Linq.Parallel.QuerySettings settings) [0x00045] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.UnaryQueryOperator`2+UnaryQueryOperatorResults+ChildResultsRecipient[TInput,TOutput].Receive[TKey] (System.Linq.Parallel.PartitionedStream`2[TElement,TKey] inputStream) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ListQueryResults`1[T].GivePartitionedStream (System.Linq.Parallel.IPartitionedStreamRecipient`1[TElement] recipient) [0x00007] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.UnaryQueryOperator`2+UnaryQueryOperatorResults[TInput,TOutput].GivePartitionedStream (System.Linq.Parallel.IPartitionedStreamRecipient`1[TElement] recipient) [0x000b2] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryOperator`1[TOutput].GetOpenedEnumerator (System.Nullable`1[T] mergeOptions, System.Boolean suppressOrder, System.Boolean forEffect, System.Linq.Parallel.QuerySettings querySettings) [0x000cb] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllOperator`1[TInput].RunSynchronously () [0x00039] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.ParallelEnumerable.ForAll[TSource] (System.Linq.ParallelQuery`1[TSource] source, System.Action`1[T] action) [0x00023] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at BetterColonistBar.BCBManager.UpdateColonistBar () [0x0001c] in <056344d76b364af9a0dc70265d09653d>:0
at BetterColonistBar.HarmonyPatches.ColonistBarOnGUI_Patch.Postfix () [0x0014d] in <056344d76b364af9a0dc70265d09653d>:0
---> (Inner Exception #0) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00156] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].MakeCache (TKey key) [0x0000d] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x0000e] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0 <---

---> (Inner Exception #1) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00156] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].MakeCache (TKey key) [0x0000d] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x0000e] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0 <---

---> (Inner Exception #2) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00156] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].MakeCache (TKey key) [0x0000d] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x0000e] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0 <---

---> (Inner Exception #3) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00156] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].MakeCache (TKey key) [0x0000d] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x0000e] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0 <---

---> (Inner Exception #4) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00156] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].MakeCache (TKey key) [0x0000d] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x0000e] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.RunTaskSynchronously (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0 <---

---> (Inner Exception #5) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00156] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].MakeCache (TKey key) [0x0000d] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x0000e] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0 <---
Last edited by JageriuS; 19 Jul, 2020 @ 11:38am
NotooShabby  [developer] 19 Jul, 2020 @ 12:40pm 
@CJM_036653 @Crow125 Thanks for the report. A potential fix has been released.
Last edited by NotooShabby; 19 Jul, 2020 @ 12:40pm
Mr.Sandman 19 Jul, 2020 @ 2:15pm 
I have a ton of mods so, I'm not surprised something broke. The mod was working, but then suddenly stopped.

System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00042] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0
--- End of inner exception stack trace ---
at System.Linq.Parallel.QueryTaskGroupState.QueryEnd (System.Boolean userInitiatedDispose) [0x00081] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTask.SpoolForAll[TInputOutput,TIgnoreKey] (System.Linq.Parallel.QueryTaskGroupState groupState, System.Linq.Parallel.PartitionedStream`2[TElement,TKey] partitions, System.Threading.Tasks.TaskScheduler taskScheduler) [0x00045] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.DefaultMergeHelper`2[TInputOutput,TIgnoreKey].System.Linq.Parallel.IMergeHelper<TInputOutput>.Execute () [0x00054] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.MergeExecutor`1[TInputOutput].Execute () [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.MergeExecutor`1[TInputOutput].Execute[TKey] (System.Linq.Parallel.PartitionedStream`2[TElement,TKey] partitions, System.Boolean ignoreOutput, System.Linq.ParallelMergeOptions options, System.Threading.Tasks.TaskScheduler taskScheduler, System.Boolean isOrdered, System.Linq.Parallel.CancellationState cancellationState, System.Int32 queryId) [0x00082] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.PartitionedStreamMerger`1[TOutput].Receive[TKey] (System.Linq.Parallel.PartitionedStream`2[TElement,TKey] partitionedStream) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllOperator`1[TInput].WrapPartitionedStream[TKey] (System.Linq.Parallel.PartitionedStream`2[TElement,TKey] inputStream, System.Linq.Parallel.IPartitionedStreamRecipient`1[TElement] recipient, System.Boolean preferStriping, System.Linq.Parallel.QuerySettings settings) [0x00045] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.UnaryQueryOperator`2+UnaryQueryOperatorResults+ChildResultsRecipient[TInput,TOutput].Receive[TKey] (System.Linq.Parallel.PartitionedStream`2[TElement,TKey] inputStream) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ListQueryResults`1[T].GivePartitionedStream (System.Linq.Parallel.IPartitionedStreamRecipient`1[TElement] recipient) [0x00007] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.UnaryQueryOperator`2+UnaryQueryOperatorResults[TInput,TOutput].GivePartitionedStream (System.Linq.Parallel.IPartitionedStreamRecipient`1[TElement] recipient) [0x000b2] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryOperator`1[TOutput].GetOpenedEnumerator (System.Nullable`1[T] mergeOptions, System.Boolean suppressOrder, System.Boolean forEffect, System.Linq.Parallel.QuerySettings querySettings) [0x000cb] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllOperator`1[TInput].RunSynchronously () [0x00039] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.ParallelEnumerable.ForAll[TSource] (System.Linq.ParallelQuery`1[TSource] source, System.Action`1[T] action) [0x00023] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at BetterColonistBar.BCBManager.UpdateColonistBar () [0x0001c] in <056344d76b364af9a0dc70265d09653d>:0
at BetterColonistBar.HarmonyPatches.ColonistBarOnGUI_Patch.Postfix () [0x0014d] in <056344d76b364af9a0dc70265d09653d>:0
---> (Inner Exception #0) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00042] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0 <---

---> (Inner Exception #1) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00042] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0 <---

---> (Inner Exception #2) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00156] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].MakeCache (TKey key) [0x0000d] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x0000e] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0 <---

---> (Inner Exception #3) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00156] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].MakeCache (TKey key) [0x0000d] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x0000e] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0 <---

---> (Inner Exception #4) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00156] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].MakeCache (TKey key) [0x0000d] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x0000e] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0 <---

---> (Inner Exception #5) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00156] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].MakeCache (TKey key) [0x0000d] in <77e758a6ccf64718a022b3489775e964>:0
at RimWorldUtility.CacheTable`2[TKey,TValue].get_Item (TKey key) [0x0000e] in <77e758a6ccf64718a022b3489775e964>:0
at BetterColonistBar.BCBManager+<>c__DisplayClass28_0.<UpdateColonistBar>b__0 (RimWorld.ColonistBar+Entry t) [0x0001d] in <056344d76b364af9a0dc70265d09653d>:0
at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <567df3e0919241ba98db88bec4c6696f>:0 <---
< >
Showing 1-15 of 53 comments
Per page: 1530 50