Bug #78039 Getting exception while executing select query
Submitted: 12 Aug 2015 10:50 Modified: 18 Sep 2015 19:44
Reporter: Priyanka Trivedi Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S5 (Performance)
Version:6.3.4.0 build 828 OS:Microsoft Windows (windows enterprise)
Assigned to: CPU Architecture:Any

[12 Aug 2015 10:50] Priyanka Trivedi
Description:
http://bugs.mysql.com/report.php#

getting exception while executing select query 
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()
   at MySQL.Controls.FlatTabControl.SetBusy(Int32 index, Boolean busy)
   at MySQL.GUI.Workbench.SqlIdeForm.SetBusyTab(Int32 tab)
   at MySQL.Grt.RunWrappedDelegate1<void\,void\,int\,int\,MySQL::Grt::DelegateSlot1<void\,void\,int\,int>::ManagedDelegate>.native_callback(Int32* a1)
   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 boost.detail.function.void_function_obj_invoker1<boost::function<void __cdecl(int const &)>,void,int>.invoke(function_buffer* function_obj_ptr, 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.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   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.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.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:
run select query on one sql window 
Open another window and run the same
some exception was given.
[12 Aug 2015 12:43] Miguel Solorzano
Which exactly Windows version are you using? I couldn't repeat on Windows 8.1.
[13 Aug 2015 3:40] Priyanka Trivedi
I am using windows 7 Enterprise.

Try below mentioned steps
1) Open 5 to 6 SQL sheets.
2) try to close 2 sheets out of them.
3) open new SQL sheet again
4) now copy any Select SQL query from one SQL sheet and run in newly opened sheet.Finally due to this error i could not run any query.

At this exact situation i had got bug provided my network and vpn connections were good.i had to restart mySQL db to proceed my work.
[18 Aug 2015 19:44] Miguel Solorzano
It's always repeatable for you?. I couldn't repeat on my own queries and tabs opened and closed. Please describe more the kind of queries large dataset?.
[19 Sep 2015 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".