Bug #52284 Error occurs when do a select all and using context menu to delete selected rcds
Submitted: 22 Mar 2010 19:33 Modified: 2 May 2010 9:21
Reporter: Steve Symonds Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.16 OS:Windows (windows7)
Assigned to: CPU Architecture:Any

[22 Mar 2010 19:33] Steve Symonds
Description:
Exception = System.Runtime.InteropServices.SEHException
Message = External component has thrown an exception.
FullText = System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at MySQL.Grt.ListModel.delete_node(NodeId node)
   at MySQL.Utilities.GridView.OnRowsRemoved(Object sender, DataGridViewRowsRemovedEventArgs e)
   at System.Windows.Forms.DataGridView.OnRowsRemoved(DataGridViewRowsRemovedEventArgs e)
   at System.Windows.Forms.DataGridView.OnRowsRemovedInternal(Int32 rowIndex, Int32 rowCount)
   at System.Windows.Forms.DataGridViewRowCollection.OnCollectionChanged_PostNotification(CollectionChangeAction cca, Int32 rowIndex, Int32 rowCount, DataGridViewRow dataGridViewRow, Boolean changeIsDeletion, Boolean changeIsInsertion, Boolean recreateNewRow, Point newCurrentCell)
   at System.Windows.Forms.DataGridViewRowCollection.OnCollectionChanged(CollectionChangeEventArgs e, Int32 rowIndex, Int32 rowCount, Boolean changeIsDeletion, Boolean changeIsInsertion, Boolean recreateNewRow, Point newCurrentCell)
   at System.Windows.Forms.DataGridViewRowCollection.RemoveAtInternal(Int32 index, Boolean force)
   at System.Windows.Forms.DataGridViewRowCollection.RemoveAt(Int32 index)
   at System.Windows.Forms.DataGridViewRowCollection.Remove(DataGridViewRow dataGridViewRow)
   at MySQL.Grt.Db.RecordsetView.deleteRowsMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.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.ToolStripDropDown.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.ToolStripDropDown.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:
Open workbench
edit table data
select all records
right mouse click 
select delete selected records
[22 Mar 2010 20:16] MySQL Verification Team
Thank you for the bug report. Verified as described.
[24 Mar 2010 10:51] Sergei Tkachenko
Could you provide table's create statement?
[2 May 2010 23: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".