Bannerlord has encountered a problem and will close itself.
This is a community Crash Report. Please save it and use it for reporting the error. Do not provide screenshots, provide the report!
Most likely this error was caused by a custom installed module.

If you were in the middle of something, the progress might be lost.


+ Exception

Exception information
Type: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
CallStack:
  1. at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
  2. at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  3. at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
  4. at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
  5. at System.Activator.CreateInstance(Type type, Object[] args)
  6. at SandBox.GauntletUI.EncyclopediaData.GetEncyclopediaPageInstance(EncyclopediaPage page, Object o)
  7. at SandBox.GauntletUI.EncyclopediaData.SetEncyclopediaPage(String pageId, Object obj)
  8. at SandBox.GauntletUI.GauntletEncyclopediaScreenManager.ExecuteLink(String pageId, Object obj, Boolean needsRefresh)
  9. at TaleWorlds.CampaignSystem.ViewModelCollection.Encyclopedia.EncyclopediaNavigatorVM.ExecuteLink(String pageId, Object target)
  10. at TaleWorlds.CampaignSystem.Encyclopedia.EncyclopediaManager.GoToLink(String pageType, String stringID)
  11. at SandBox.GauntletUI.AutoGenerated.SettlementOverlay__TaleWorlds_CampaignSystem_ViewModelCollection_GameMenu_SettlementMenuOverlayVM_Dependency_6_GameMenuPartyItem__InheritedPrefab.EventListenerOf_widget(Widget widget, String commandName, Object[] args)
  12. at TaleWorlds.GauntletUI.Widget.EventFired(String eventName, Object[] args)
  13. at TaleWorlds.GauntletUI.ButtonWidget.OnMouseAlternateReleased()
  14. at TaleWorlds.GauntletUI.EventManager.MouseAlternateUp()
  15. at TaleWorlds.GauntletUI.UIContext.UpdateInput(InputType handleInputs)
  16. at TaleWorlds.Engine.Screens.ScreenManager.Update()
  17. at TaleWorlds.Engine.Screens.ScreenManager.Tick_Patch1(Single dt)


Inner Exception information
Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: TaleWorlds.CampaignSystem.ViewModelCollection
CallStack:
  1. at TaleWorlds.CampaignSystem.ViewModelCollection.Encyclopedia.EncyclopediaHeroPageVM.Refresh()
  2. at TaleWorlds.CampaignSystem.ViewModelCollection.Encyclopedia.EncyclopediaHeroPageVM..ctor(EncyclopediaPageArgs args)

+ Involved Modules

  • Bannerlord.Harmony
    • Method: static System.Object System.RuntimeMethodHandle::InvokeMethod(System.Object target, System.Object[] arguments, System.Signature sig, System.Boolean constructor)
      Frame: InvokeMethod at offset 0 in file:line:column :0:0
    • Method: virtual System.Object System.Reflection.RuntimeConstructorInfo::Invoke(System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
      Frame: Invoke at offset 223 in file:line:column :0:0
    • Method: System.Object System.RuntimeType::CreateInstanceImpl(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark)
      Frame: CreateInstanceImpl at offset 1476 in file:line:column :0:0
    • Method: static System.Object System.Activator::CreateInstance(System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes)
      Frame: CreateInstance at offset 186 in file:line:column :0:0
    • Method: static System.Object System.Activator::CreateInstance(System.Type type, System.Object[] args)
      Frame: CreateInstance at offset 35 in file:line:column :0:0
  • Sandbox
    • Method: TaleWorlds.CampaignSystem.ViewModelCollection.Encyclopedia.EncyclopediaPageVM SandBox.GauntletUI.EncyclopediaData::GetEncyclopediaPageInstance(TaleWorlds.CampaignSystem.Encyclopedia.EncyclopediaPage page, System.Object o)
      Frame: GetEncyclopediaPageInstance at offset 467 in file:line:column :0:0
    • Method: System.Void SandBox.GauntletUI.EncyclopediaData::SetEncyclopediaPage(System.String pageId, System.Object obj)
      Frame: SetEncyclopediaPage at offset 964 in file:line:column :0:0
    • Method: TaleWorlds.CampaignSystem.ViewModelCollection.Encyclopedia.EncyclopediaPageVM SandBox.GauntletUI.GauntletEncyclopediaScreenManager::ExecuteLink(System.String pageId, System.Object obj, System.Boolean needsRefresh)
      Frame: ExecuteLink at offset 220 in file:line:column :0:0
    • Method: System.Void SandBox.GauntletUI.AutoGenerated.SettlementOverlay__TaleWorlds_CampaignSystem_ViewModelCollection_GameMenu_SettlementMenuOverlayVM_Dependency_6_GameMenuPartyItem__InheritedPrefab::EventListenerOf_widget(TaleWorlds.GauntletUI.Widget widget, System.String commandName, System.Object[] args)
      Frame: EventListenerOf_widget at offset 51 in file:line:column :0:0

+ Installed Modules

  • + Harmony (Bannerlord.Harmony, v2.1.1.65)
  • + ButterLib (Bannerlord.ButterLib, v1.0.28.0)
  • + UIExtenderEx (Bannerlord.UIExtenderEx, v2.1.8.0)
  • + Mod Configuration Menu v4 (Bannerlord.MBOptionScreen, v4.3.14.0)
  • + Native (Native, e1.6.2.0)
  • + SandBox Core (SandBoxCore, e1.6.2.0)
  • + CustomBattle (CustomBattle, e1.6.2.0)
  • + Sandbox (Sandbox, e1.6.2.0)
  • + StoryMode (StoryMode, e1.6.2.0)
  • + JP Localization (Japanese, v1.20.0.0)
  • + SliceThrough (SliceThrough, v1.0.3.0)
  • + Captivity Events (zCaptivityEvents, v1.6.2.1030)
  • + Default Captivity Events (zCEDefaults, v1.6.1.1030)

+ Assemblies

+ Harmony Patches

  • TaleWorlds.MountAndBlade.Module.FinalizeSubModules
    • Postfixes
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.ModulePatchFinalizeSubModulesPostfix;

  • TaleWorlds.MountAndBlade.Module.SetInitialModuleScreenAsRootScreen
    • Transpilers
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.ModulePatchTranspiler;

  • TaleWorlds.MountAndBlade.MBGameManager.OnGameStart
    • Transpilers
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.MBGameManagerPatchTranspiler;

  • TaleWorlds.MountAndBlade.MBGameManager.OnGameEnd
    • Transpilers
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.MBGameManagerPatchTranspiler;

  • TaleWorlds.SaveSystem.TypeExtensions.IsContainer
    • Prefixes
      • Owner: Bannerlord.ButterLib.SaveSystem; Namespace: Bannerlord.ButterLib.Implementation.SaveSystem.Patches.TypeExtensionsPatchIsContainerPrefix;

  • TaleWorlds.GauntletUI.Data.GauntletMovie.Load
    • Prefixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.Patches.GauntletMoviePatchLoadPrefix;

  • TaleWorlds.Library.ViewModel.ExecuteCommand
    • Prefixes
      • Owner: bannerlord.mcm.ui.viewmodelpatch; Namespace: MCM.UI.Patches.ViewModelPatchExecuteCommandPatch;
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.Patches.ViewModelPatchViewModel_ExecuteCommand_Transpiler;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetPrefab.LoadFrom
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.Patches.WidgetPrefabPatchWidgetPrefab_LoadFrom_Transpiler;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.Initialize
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.Patches.WidgetFactoryPatchInitializeTranspiler;

  • TaleWorlds.GauntletUI.BrushFactory.get_Brushes
    • Postfixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.BrushFactoryManagerGetBrushesPostfix;

  • TaleWorlds.GauntletUI.BrushFactory.GetBrush
    • Prefixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.BrushFactoryManagerGetBrushPrefix;

  • TaleWorlds.GauntletUI.PrefabSystem.ConstantDefinition.GetValue
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.BrushFactoryManagerBlankTranspiler;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetExtensions.SetWidgetAttributeFromString
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.BrushFactoryManagerBlankTranspiler;

  • TaleWorlds.GauntletUI.UIContext.GetBrush
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.BrushFactoryManagerBlankTranspiler;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetExtensions.ConvertObject
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.BrushFactoryManagerBlankTranspiler;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.GetCustomType
    • Prefixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.WidgetFactoryManagerGetCustomTypePrefix;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.CreateBuiltinWidget
    • Prefixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.WidgetFactoryManagerCreateBuiltinWidgetPrefix;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.GetWidgetTypes
    • Prefixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.WidgetFactoryManagerGetWidgetTypesPostfix;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.IsCustomType
    • Prefixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.WidgetFactoryManagerIsCustomTypePrefix;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetFactory.OnUnload
    • Prefixes
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.WidgetFactoryManagerOnUnloadPrefix;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetTemplate.CreateWidgets
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.WidgetFactoryManagerBlankTranspiler;

  • TaleWorlds.GauntletUI.PrefabSystem.WidgetTemplate.OnRelease
    • Transpilers
      • Owner: bannerlord.uiextender.ex; Namespace: Bannerlord.UIExtenderEx.ResourceManager.WidgetFactoryManagerBlankTranspiler;

  • TaleWorlds.TwoDimension.EditableText.GetCursorPosition
    • Finalizers
      • Owner: bannerlord.mcm.ui.editabletextpatch; Namespace: MCM.UI.Patches.EditableTextPatchGetCursorPosition;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnSubModuleLoad
    • Postfixes
      • Owner: butterlib.delayedsubmoduleloader.static; Namespace: Bannerlord.ButterLib.DelayedSubModule.DelayedSubModuleManagerBaseSubModuleLoadPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnSubModuleUnloaded
    • Postfixes
      • Owner: butterlib.delayedsubmoduleloader.static; Namespace: Bannerlord.ButterLib.DelayedSubModule.DelayedSubModuleManagerBaseOnSubModuleUnloadedPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnBeforeInitialModuleScreenSetAsRoot
    • Postfixes
      • Owner: butterlib.delayedsubmoduleloader.static; Namespace: Bannerlord.ButterLib.DelayedSubModule.DelayedSubModuleManagerBaseOnBeforeInitialModuleScreenSetAsRootPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnGameStart
    • Postfixes
      • Owner: butterlib.delayedsubmoduleloader.static; Namespace: Bannerlord.ButterLib.DelayedSubModule.DelayedSubModuleManagerBaseOnGameStartPostfix;

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnGameEnd
    • Postfixes
      • Owner: butterlib.delayedsubmoduleloader.static; Namespace: Bannerlord.ButterLib.DelayedSubModule.DelayedSubModuleManagerBaseOnGameEndPostfix;

  • SandBox.SandBoxSubModule.OnSubModuleLoad
    • Prefixes
      • Owner: butterlib.delayedsubmoduleloader.sandboxsubmodule; Namespace: Bannerlord.ButterLib.DelayedSubModule.DelayedSubModuleManagerSubModuleLoadPrefix;
    • Postfixes
      • Owner: butterlib.delayedsubmoduleloader.sandboxsubmodule; Namespace: Bannerlord.ButterLib.DelayedSubModule.DelayedSubModuleManagerSubModuleLoadPostfix;

  • MCM.IntegratedLoaderSubModule..ctor
    • Prefixes
      • Owner: bannerlord.mcm.implementation.mcmv3.loaderpreventer; Namespace: MCM.Adapter.MCMv3.Patches.MCMv3IntegratedLoaderSubModulePatchStopIntegratedLoaderSubModuleCtor;

  • TaleWorlds.MountAndBlade.ViewModelCollection.GameOptions.OptionsVM..ctor
    • Transpilers
      • Owner: bannerlord.uiextender.ex.viewmodels.MCM.UI; Namespace: Bannerlord.UIExtenderEx.Patches.ViewModelWithMixinPatchViewModel_Constructor_Transpiler;

  • TaleWorlds.MountAndBlade.ViewModelCollection.GameOptions.OptionsVM..ctor
    • Transpilers
      • Owner: bannerlord.uiextender.ex.viewmodels.MCM.UI; Namespace: Bannerlord.UIExtenderEx.Patches.ViewModelWithMixinPatchViewModel_Constructor_Transpiler;

  • TaleWorlds.MountAndBlade.ViewModelCollection.GameOptions.OptionsVM.OnFinalize
    • Transpilers
      • Owner: bannerlord.uiextender.ex.viewmodels.MCM.UI; Namespace: Bannerlord.UIExtenderEx.Patches.ViewModelWithMixinPatchViewModel_Finalize_Transpiler;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.CampaignBehaviorManager.OnGameLoaded
    • Prefixes
      • Owner: Bannerlord.ButterLib.ObjectSystem; Namespace: Bannerlord.ButterLib.Implementation.ObjectSystem.Patches.CampaignBehaviorManagerPatchOnGameLoadedPrefix;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.CampaignBehaviorManager.OnBeforeSave
    • Postfixes
      • Owner: Bannerlord.ButterLib.ObjectSystem; Namespace: Bannerlord.ButterLib.Implementation.ObjectSystem.Patches.CampaignBehaviorManagerPatchOnBeforeSavePostfix;

  • TaleWorlds.MountAndBlade.ViewModelCollection.InitialMenuVM.RefreshMenuOptions
    • Postfixes
      • Owner: bannerlord.mcm.mainmenuscreeninjection_v4; Namespace: MCM.UI.Functionality.Post158GameMenuScreenHandlerRefreshMenuOptionsPostfix; Priority: 300;

  • TaleWorlds.MountAndBlade.Mission.UpdateMomentumRemaining
    • Prefixes
      • Owner: com.SliceThrough.akdombrowski; Namespace: SliceThrough.SubModuleUpdateMomentumRemaining;

  • TaleWorlds.CampaignSystem.Attributes.get_All
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchAttributesAll;

  • TaleWorlds.CampaignSystem.ViewModelCollection.CharacterCreation.CharacterCreationGainedPropertiesVM.PopulateInitialValues
    • Prefixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchCharacterCreationGainedPropertiesVMPopulateInitialValues;

  • TaleWorlds.CampaignSystem.ViewModelCollection.CharacterDeveloper.CharacterVM.InitializeCharacter
    • Prefixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchCharacterVMInitializeCharacter;

  • TaleWorlds.CampaignSystem.ViewModelCollection.ClanManagement.Categories.ClanIncomeVM.RefreshList
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchClanIncomeVMRefreshList;

  • TaleWorlds.CampaignSystem.ViewModelCollection.ClanManagement.ClanLordItemVM.UpdateProperties
    • Prefixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchClanLordItemVMUpdateProperties;

  • TaleWorlds.CampaignSystem.SandBox.GameComponents.DefaultClanFinanceModel.CalculateClanIncomeInternal
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchDefaultClanFinanceModelCalculateClanIncomeInternal;

  • TaleWorlds.CampaignSystem.ViewModelCollection.Education.EducationGainedPropertiesVM.PopulateInitialValues
    • Prefixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchEducationGainedPropertiesVMPopulateInitialValues;

  • TaleWorlds.CampaignSystem.GameMenus.GameMenu.ActivateGameMenu
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchGameMenuActivateGameMenu;

  • TaleWorlds.CampaignSystem.GameMenus.GameMenu.SwitchToMenu
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchGameMenuSwitchToMenu;

  • TaleWorlds.CampaignSystem.Hero.get_Spouse
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEHeroPatchPostfix;

  • TaleWorlds.CampaignSystem.ViewModelCollection.Map.MapNotificationVM.GetNotificationFromData
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEMapNotificationVMGetNotificationFromData;

  • TaleWorlds.CampaignSystem.PlayerCaptivity.StartCaptivity
    • Postfixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchPlayerCaptivityStartCaptivity;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.PregnancyCampaignBehavior.ChildConceived
    • Prefixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchPregnancyCampaignBehaviorChildConceived;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.PrisonerReleaseCampaignBehavior.OnGameLoaded
    • Prefixes
      • Owner: com.CE.captivityEvents; Namespace: CaptivityEvents.Patches.CEPatchPrisonerReleaseCampaignBehaviorOnGameLoaded;