I am getting this below error when i try to install a package in sitecore 9.0.1 with sxa 1.7
Log Error
ManagedPoolThread #2 12:19:48 ERROR One or more exceptions occurred while processing the subscribers to the 'item:saved' event. Exception[1]: System.NullReferenceException Message[1]: Object reference not set to an instance of an object. Source[1]: Sitecore.Marketing.xMgmt at Sitecore.Marketing.xMgmt.Definitions.ItemEventHandler.c__DisplayClass19_0.b__0(Guid templateId) at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate) at Sitecore.Marketing.xMgmt.Definitions.ItemEventHandler.DeployItem(Item item) at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) ManagedPoolThread #2 12:19:48 ERROR Failed to save the item. Item ID: {C3D3D95A-EC2E-4CC1-B10D-E8C9810F90AE}, database: master Exception: System.AggregateException Message: One or more exceptions occurred while processing the subscribers to the 'item:saved' event. Source: Sitecore.Kernel at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) at Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at Sitecore.Data.Engines.EngineCommand`2.RaiseEvent[TArgs](EventHandler`1 handlers, Func`2 argsCreator) at Sitecore.Data.Engines.EngineCommand`2.Execute() at Sitecore.Data.Engines.DataEngine.SaveItem(Item item) ManagedPoolThread #2 12:19:48 ERROR Error installing items/master/sitecore/content/CBMM Global/NiobiumTech/APAC/CN/{C3D3D95A-EC2E-4CC1-B10D-E8C9810F90AE}/en/1/xml Exception: System.AggregateException Message: One or more exceptions occurred while processing the subscribers to the 'item:saved' event. Source: Sitecore.Kernel at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) at Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at Sitecore.Data.Engines.EngineCommand`2.RaiseEvent[TArgs](EventHandler`1 handlers, Func`2 argsCreator) at Sitecore.Data.Engines.EngineCommand`2.Execute() at Sitecore.Data.Engines.DataEngine.SaveItem(Item item) at Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) at (Object , Object[] ) at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) at Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) at Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) at Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) at Sitecore.Install.Items.ItemInstaller.InstallItem(BehaviourOptions installOptions, Item targetItem, ItemReference item, XmlVersionParser parser, Boolean& removeVersions) at Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry entry, ItemReference reference, XmlVersionParser parser, ItemInstallerContext context, Boolean& removeVersions) at Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry) ManagedPoolThread #2 12:19:49 ERROR Installation failed: System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'item:saved' event. at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) at Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at Sitecore.Data.Engines.EngineCommand`2.RaiseEvent[TArgs](EventHandler`1 handlers, Func`2 argsCreator) at Sitecore.Data.Engines.EngineCommand`2.Execute() at Sitecore.Data.Engines.DataEngine.SaveItem(Item item) at Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) at (Object , Object[] ) at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) at Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) at Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) at Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) at Sitecore.Install.Items.ItemInstaller.InstallItem(BehaviourOptions installOptions, Item targetItem, ItemReference item, XmlVersionParser parser, Boolean& removeVersions) at Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry entry, ItemReference reference, XmlVersionParser parser, ItemInstallerContext context, Boolean& removeVersions) at Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry) at Sitecore.Install.Items.ItemInstaller.Flush() at Sitecore.Install.Framework.SinkDispatcher.Flush() at Sitecore.Install.Utils.EntrySorter.Flush() at Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) at Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) at Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source, IProcessingContext context) at Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.b__8_0() at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.CatchExceptions(ThreadStart start)