Bug #64839 MY SQL Workbench 5.2.36 CE
Submitted: 2 Apr 2012 8:32 Modified: 2 Apr 2012 10:55
Reporter: Rado Voglar Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S1 (Critical)
Version: OS:Windows (7)
Assigned to: CPU Architecture:Any

[2 Apr 2012 8:32] Rado Voglar
Description:
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:
Try to open a SQL instance in SQL Editor
[2 Apr 2012 9:08] Valeriy Kravchuk
Please, check if the same problem still happens with a newer version, 5.2.38. It should be fixed already.
[2 Apr 2012 10:21] Rado Voglar
Upgrade to MY SQL Workbench 5.2.38 CE resolve the problem reported.
[2 Apr 2012 10:55] Valeriy Kravchuk
Not repeatable with a recent version.