Bug #63688 Crash on startup of SQL Editor
Submitted: 8 Dec 2011 23:43 Modified: 9 Dec 2011 6:55
Reporter: Jeremy Craven Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.36 OS:Windows
Assigned to: CPU Architecture:Any

[8 Dec 2011 23:43] Jeremy Craven
Description:
Crash on start up with message:
"Value of -1 is not valid for splitterdistance"

15:41:20 [   Info][        WQE.net]: Launching SQL IDE
15:41:20 [  Error][      Workbench]: Value of '-1' is not valid for 'SplitterDistance'. 'SplitterDistance' must be greater than 0.
Parameter name: SplitterDistance
Exception = System.ArgumentOutOfRangeException
Message = Value of '-1' is not valid for 'SplitterDistance'. 'SplitterDistance' must be greater than 0.
Parameter name: SplitterDistance
FullText = System.ArgumentOutOfRangeException: Value of '-1' is not valid for 'SplitterDistance'. 'SplitterDistance' must be greater than 0.
Parameter name: SplitterDistance
   at System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32 value)
   at MySQL.GUI.Workbench.DbSqlEditor.AddSqlEditor(Int32 index)
   at MySQL.GUI.Workbench.DbSqlEditor.Initialize()
   at MySQL.GUI.Workbench.DbSqlEditor..ctor(WbContext wbContext, UIForm uiForm)
   at MySQL.GUI.Workbench.MainForm.CreateMainFormView(String ViewName, UIForm viewBE)

How to repeat:
I do not know how it got into this state but I can repeat it at will once in the state.
[9 Dec 2011 5:02] Valeriy Kravchuk
Looks like a duplicate of Bug #63582. Please, check.
[9 Dec 2011 5:38] Jeremy Craven
Yes, it is a duplicate.  I have a bit of additional information.  I deleted everything in my AppData folder for MySQL Workbench and the problem went away (though you probably could have figured that out).
[9 Dec 2011 6:55] Valeriy Kravchuk
So, let's consider this a duplicate of Bug #63582.