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.