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.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
  3. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  4. at TaleWorlds.Library.Common.InvokeWithLog(MethodInfo methodInfo, Object obj, Object[] args)
  5. at TaleWorlds.GauntletUI.Data.GauntletView.OnCommand(String command, Object[] args)
  6. at TaleWorlds.GauntletUI.Widget.EventFired(String eventName, Object[] args)
  7. at TaleWorlds.GauntletUI.ButtonWidget.HandleClick()
  8. at TaleWorlds.GauntletUI.ButtonWidget.OnMouseReleased()
  9. at TaleWorlds.GauntletUI.EventManager.MouseUp()
  10. at TaleWorlds.GauntletUI.UIContext.UpdateInput(InputType handleInputs)
  11. at TaleWorlds.Engine.Screens.ScreenManager.Update()
  12. 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
CallStack:
  1. at TaleWorlds.CampaignSystem.MobileParty.ConsiderMapEventsAndSiegesInternal(IFaction factionToConsiderAgainst)
  2. at TaleWorlds.CampaignSystem.Clan.ConsiderSiegesAndMapEvents(IFaction factionToConsiderAgainst)
  3. at TaleWorlds.CampaignSystem.Kingdom.ConsiderSiegesAndMapEvents(IFaction factionToConsiderAgainst)
  4. at TaleWorlds.CampaignSystem.StanceLink.set_StanceType(StanceType value)
  5. at TaleWorlds.CampaignSystem.Actions.MakePeaceAction.ApplyInternal(IFaction faction1, IFaction faction2, Int32 dailyTributeFrom1To2)
  6. at TaleWorlds.CampaignSystem.Election.MakePeaceKingdomDecision.ApplyChosenOutcome(DecisionOutcome chosenOutcome)
  7. at TaleWorlds.CampaignSystem.Election.KingdomElection.ApplyChosenOutcome()
  8. at TaleWorlds.CampaignSystem.Election.KingdomElection.ReadyToAiChoose()
  9. at TaleWorlds.CampaignSystem.ViewModelCollection.KingdomManagement.KingdomDecision.DecisionTypes.DecisionItemBaseVM.ExecuteFinalSelection()

+ 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: System.Object System.Reflection.RuntimeMethodInfo::UnsafeInvokeInternal(System.Object obj, System.Object[] parameters, System.Object[] arguments)
      Frame: UnsafeInvokeInternal at offset 269 in file:line:column :0:0
    • Method: virtual System.Object System.Reflection.RuntimeMethodInfo::Invoke(System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
      Frame: Invoke at offset 146 in file:line:column :0:0

+ Installed Modules

  • + Harmony (Bannerlord.Harmony, v2.1.1.65)
  • + ButterLib (Bannerlord.ButterLib, v1.0.31.0)
  • + UIExtenderEx (Bannerlord.UIExtenderEx, v2.1.8.0)
  • + Native (Native, e1.7.0.0)
  • + SandBox Core (SandBoxCore, e1.7.0.0)
  • + CustomBattle (CustomBattle, e1.7.0.0)
  • + Sandbox (Sandbox, e1.7.0.0)
  • + StoryMode (StoryMode, e1.7.0.0)
  • + Open Source Armory (OpenSourceArmory, v1.8.1.0)
  • + Legolas Longbows (Legolas Longbows, e1.6.4.0)

+ Assemblies

+ Harmony Patches

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnMissionBehaviorInitialize
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers; Namespace: Bannerlord.ButterLib.SubModuleWrappers.Patches.MBSubModuleBasePatchCallPostfix;

  • 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.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;