Bug #94909 can't execute queries
Submitted: 4 Apr 13:57 Modified: 4 May 19:26
Reporter: Rui Kuroki Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:8.0.15 build 14271522 CE 64bits OS:Microsoft Windows (windows 10)
Assigned to: CPU Architecture:x86 (64 bits)

[4 Apr 13:57] Rui Kuroki
Description:
Suddenly the Workbench raised the unexpected error:
"MySQL Workbench has encountered a problem
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name:index"
And after that, any query returns the same error.
I tried to close, restarted the machine, etc but the error persists.
It occurs for all types of queries, SELECT, CALL, UPDATE, etc... and for any databases (tested for 3 different databases, on different servers)

See the log below:

10:54:37 [ERR][      Workbench]: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Exception = System.ArgumentOutOfRangeException
Message = Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
FullText = System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at MySQL.Controls.FlatTabControl.SetBusy(Int32 index, Boolean busy)
   at MySQL.GUI.Workbench.SqlIdeForm.SetBusyTab(Int32 tab)
   at boost.detail.function.void_function_invoker1<void (__cdecl*)(int const &),void,int const &>.invoke(function_buffer* function_ptr, Int32* a0)
   at boost.function1<void,int const &>.()(function1<void\,int const \&>* , Int32* a0)
   at mforms.ToolBarItem.callback(ToolBarItem* )
   at ToolbarItemEventTarget.OnItemActivation(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
Don't know, suddenly appeared, and after that, every time appears.
[4 Apr 14:04] Rui Kuroki
Working again after I close all tabs, closed the workbench, reopened.
[4 Apr 19:26] Miguel Solorzano
Thank you for the bug report. I couldn't repeat this issue, please try to re-install it selecting the repair option. Thanks.
[5 May 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".