Bug #58934 Workbench bug at opening a data import (inserts) script
Submitted: 15 Dec 2010 4:04 Modified: 19 Jan 2011 14:35
Reporter: Paulo E Ojeda Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.31 CE OS:Windows (win 7)
Assigned to: CPU Architecture:Any
Tags: data, fuera, import, INDEX, Indice, inserts, intervalo, opening, OUT, range, script, workbench

[15 Dec 2010 4:04] Paulo E Ojeda
Description:
I was loading some data into some tables, and when opening another script with inserts in it, a problem notification dialog pop up
Really don't know what happened. I was expecting to normally open the script, but that window pop up.
It's stack trace is:

Exception = System.ArgumentOutOfRangeException
Message = El índice estaba fuera del intervalo. Debe ser un valor no negativo e inferior al tamaño de la colección.
Nombre del parámetro: index
FullText = System.ArgumentOutOfRangeException: El índice estaba fuera del intervalo. Debe ser un valor no negativo e inferior al tamaño de la colección.
Nombre del parámetro: index
   en System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   en System.ThrowHelper.ThrowArgumentOutOfRangeException()
   en System.Collections.Generic.List`1.get_Item(Int32 index)
   en MySQL.Controls.FlatTabControl.ValidateTab(Int32 index)
   en MySQL.Controls.FlatTabControl.CloseButtonRect(Int32 index)
   en MySQL.Controls.FlatTabControl.OnMouseUp(MouseEventArgs e)
   en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.TabControl.WndProc(Message& m)
   en MySQL.Controls.FlatTabControl.WndProc(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
Just importing some scripts with insert statements. Nothing strange.
[15 Dec 2010 4:06] Paulo E Ojeda
Screenshot

Attachment: SS-2010-12-15_01.01.47.png (image/png, text), 223.65 KiB.

[19 Dec 2010 14:35] Valeriy Kravchuk
Please, send the results of Help > System Info menu item. Also, when crash happens, please, right click somewhere in the dialog box without text and use Copy stack trace to clipboard menu item. Sent the results to this report.
[20 Jan 2011 0: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".