Invalid Content: ActiveContent must be one of the visible contents, or null if there is no visible content.
InvalidOperationException
bei WeifenLuo.WinFormsUI.Docking.DockPane.set_ActiveContent(IDockContent value)
bei WeifenLuo.WinFormsUI.Docking.DockContentHandler.Activate()
bei WeifenLuo.WinFormsUI.Docking.DockContentHandler.SetParent(Control value)
bei WeifenLuo.WinFormsUI.Docking.DockContentHandler.SetPane(DockPane pane)
bei WeifenLuo.WinFormsUI.Docking.DockContentHandler.SetDockState(Boolean isHidden, DockState visibleState, DockPane oldPane)
bei WeifenLuo.WinFormsUI.Docking.DockPanel.Persistor.LoadFromXml(DockPanel dockPanel, Stream stream, DeserializeDockContent deserializeContent, Boolean closeStream)
bei LogExpert.LogTabWindow.RestoreLayout(String layoutXml)
bei LogExpert.LogTabWindow.LoadProject(String projectFileName, Boolean restoreLayout)
bei LogExpert.LogTabWindow.LogTabWindow_Load(Object sender, EventArgs e)
bei System.Windows.Forms.Form.OnLoad(EventArgs e)
bei System.Windows.Forms.Form.OnCreateControl()
bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
bei System.Windows.Forms.Control.CreateControl()
bei System.Windows.Forms.Control.WmShowWindow(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.Form.WmShowWindow(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
With "Close existing tabs" instead of "Open new window" everything works fine.
Important questions
Steps:
With "Close existing tabs" instead of "Open new window" everything works fine.