Bug #54011 Workbench crash on close
Submitted: 27 May 2010 0:33 Modified: 27 May 2010 14:39
Reporter: Derek Price Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.16 OS:Any
Assigned to: CPU Architecture:Any

[27 May 2010 0:33] Derek Price
Description:
Workbench raised an exception on close and asked me to submit this bug,

Exception = System.InvalidOperationException
Message = SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize.
FullText = System.InvalidOperationException: SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize.
   at System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32 value)
   at MySQL.GUI.Workbench.MainForm.mainDockPanel_ActiveDocumentChanged(Object sender, EventArgs e)
   at WeifenLuo.WinFormsUI.Docking.DockPanel.OnActiveDocumentChanged(EventArgs e)
   at WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.RefreshActiveWindow()
   at WeifenLuo.WinFormsUI.Docking.DockPanel.FocusManagerImpl.ResumeFocusTracking()
   at WeifenLuo.WinFormsUI.Docking.DockPanel.ResumeLayout(Boolean performLayout, Boolean allWindows)
   at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Close()
   at MySQL.GUI.Workbench.MainForm.MainForm_FormClosing(Object sender, FormClosingEventArgs e)
   at System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e)
   at System.Windows.Forms.Form.WmClose(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
select close from windows task bar
[27 May 2010 9:55] Johannes Taxacher
please try with most recent release (5.2.21) to check if the problem still ocurrs.
thanks in advance
[27 May 2010 13:57] Derek Price
I am looking into that, but first let me note that your "Check for updates..." menu option in 5.2.16 takes me to a broken page (http://wb.mysql.com/workbench/version-check.php?config=OSS&version=5.2.16&revision=5249) which says, as of a few minutes ago:

    No new version of MySQL Workbench available at this time.
    You are currently using MySQL Workbench 5.2.16 OSS, Revision 5249

Checking this updates page was the first thing I did when I first started having problems last week.

Thanks!

Derek
[27 May 2010 14:06] Valeriy Kravchuk
Problem you described in the last comment is to be reported separately.
[27 May 2010 14:17] Derek Price
I have now reported the web page bug separately as bug #54033.
[27 May 2010 14:39] Derek Price
Either this isn't a problem in 5.2.21, it isn't consistently reproducible, or I don't know all the factors contributing to the original crash.  You might as well close this.  If crash reporter comes up again I'll open a new bug.

Cheers,

Derek