I was importing a backup made on another pc that contained my Fallout 4 mods and this exception happened
Setting up listener on Nexus Mod Manager-Fallout4IpcServer/Fallout4Listener at 2020-12-30 17:37:41
Running Application.
Tracing an Unhandled Exception:
Exception:
Message:
Unable to cast object of type 'System.String' to type 'Nexus.Client.ModManagement.ModProfile'.
Full Trace:
System.InvalidCastException: Unable to cast object of type 'System.String' to type 'Nexus.Client.ModManagement.ModProfile'.
at Nexus.Client.MainForm.ViewModel_RestoringBackup(Object sender, EventArgs1 e) at System.EventHandler1.Invoke(Object sender, TEventArgs e)
at Nexus.Client.MainFormVM.RestoreBackup(ModManagerControl p_mmgModManager)
at Nexus.Client.Commands.Command.Execute()
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Describe the bugA short description of what the problem is
Environment
NMM version: 0.72.3
Mod(s) used: <link to mod(s) on Nexus>
Please remember to attach any trace logs you get in connection to this problem. Without these it will often be very hard to track down the bug.
To Reproduce
Probably create a backup and apply it on another machine
Importing a mod backup gives out an exception.
I was importing a backup made on another pc that contained my Fallout 4 mods and this exception happened
Setting up listener on Nexus Mod Manager-Fallout4IpcServer/Fallout4Listener at 2020-12-30 17:37:41 Running Application.
Tracing an Unhandled Exception: Exception: Message: Unable to cast object of type 'System.String' to type 'Nexus.Client.ModManagement.ModProfile'. Full Trace: System.InvalidCastException: Unable to cast object of type 'System.String' to type 'Nexus.Client.ModManagement.ModProfile'. at Nexus.Client.MainForm.ViewModel_RestoringBackup(Object sender, EventArgs
1 e) at System.EventHandler
1.Invoke(Object sender, TEventArgs e) at Nexus.Client.MainFormVM.RestoreBackup(ModManagerControl p_mmgModManager) at Nexus.Client.Commands.Command.Execute() at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)Describe the bug A short description of what the problem is
Environment
Please remember to attach any trace logs you get in connection to this problem. Without these it will often be very hard to track down the bug.
To Reproduce Probably create a backup and apply it on another machine
Additional information