Bug #67271 MySQL Workbench doesn't start querying databases
Submitted: 17 Oct 2012 2:39 Modified: 28 Jan 2013 20:33
Reporter: Maxim Naboka Email Updates:
Status: No Feedback Impact on me:
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.44 OS:Microsoft Windows (Microsoft Windows 7 Home Premium Edition Service Pack 1 (build 7601), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[17 Oct 2012 2:39] Maxim Naboka
Zero index error is shown when try to connect to any of the local or remote db. Test connection works fine though.

----- Developer Notes -----

MySQL Workbench CE for Windows version 5.2.42  revision 9752
Configuration Directory: C:\Users\Max\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.42
Cairo Version: 1.8.8
OS: Microsoft Windows 7 Home Premium Edition Service Pack 1 (build 7601), 64-bit
CPU: 4x Intel(R) Core(TM) i3 CPU       M 380  @ 2.53GHz, 7.8 GiB RAM
Active video adapter (0): Intel(R) HD Graphics
Installed video RAM: -325 MB
Current video mode: 1366 x 768 x 4294967296 colors
Used bit depth: 32
Driver version:
Installed display drivers: igdumd64.dll,igd10umd64.dll,igdumdx32,igd10umd32
Current user language: English (United States)

Exception = System.ArgumentOutOfRangeException
Message = StartIndex cannot be less than zero.
Parameter name: startIndex
FullText = System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at System.Drawing.Html.InitialContainer.FeedStyleBlock(String media, String block)
   at System.Drawing.Html.InitialContainer.FeedStyleSheet(String stylesheet)
   at System.Drawing.Html.InitialContainer..ctor()
   at System.Windows.Forms.HtmlPanel..ctor()
   at System.Windows.Forms.HtmlLabel..ctor()
   at MySQL.Forms.ObjectImpl.create<System::Windows::Forms::HtmlLabel>(Object* backend, ObjectImpl wrapper)
   at MySQL.Forms.HyperTextImpl.create(HyperText* self)
   at MySQL.MCallback1<bool\,mforms::HyperText \*>.cpp_callback(HyperText* arg1)
   at MySQL.Forms.DrawBoxImpl.drawbox_mouse_double_click(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseDoubleClick(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.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:
1. Start the workbench
2. Click any connection to open
[17 Oct 2012 12:06] Miguel Solorzano
Please try version 5.2.44. Thanks.
[17 Oct 2012 18:05] Maxim Naboka
The same with the latest 5.2.44
Attached new log file and a screenshot with the error
[17 Oct 2012 18:06] Maxim Naboka

Attachment: Scr1.jpg (image/jpeg, text), 84.58 KiB.

[17 Oct 2012 18:06] Maxim Naboka

Attachment: wb.log (application/octet-stream, text), 1.58 KiB.

[25 Oct 2012 19:01] Rafael Antonio Bedoy Torres
Hello Maxim,

Are you using any special character( like non ascii character) for naming your connection or schema?
[31 Oct 2012 0:32] Maxim Naboka
No, I don't use anything like this. 
Moreover, the workbench had been working for a long time (about a year) before. And I didn't change any connection settings or names before it stopped.
[28 Dec 2012 20:33] Miguel Solorzano
Please try version 5.2.45. Thanks.
[29 Jan 2013 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".