Bug #50683 Double-clicking node in GRT Trees value-inspector causes exception
Submitted: 28 Jan 2010 9:46 Modified: 2 Feb 2010 14:56
Reporter: Johannes Taxacher Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.15 OS:Windows
Assigned to: Mike Lischke CPU Architecture:Any

[28 Jan 2010 9:46] Johannes Taxacher
Description:
when double-clicking one of the entries in the lower left panel in the GRT-Shell-Window, an exception is raised.

data gathered by exception dialog:

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.TreeModel.expand_node(NodeId node)
   at MySQL.Grt.GrtTreeModel.TreeViewExpanding(Object sender, TreeViewAdvEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at Aga.Controls.Tree.TreeViewAdv.OnExpanding(TreeNodeAdv node)
   at Aga.Controls.Tree.TreeViewAdv.SetIsExpanded(TreeNodeAdv node, Boolean value)
   at Aga.Controls.Tree.TreeViewAdv.SetIsExpanded(ExpandArgs eargs)
   at Aga.Controls.Tree.TreeViewAdv.SetIsExpanded(TreeNodeAdv node, Boolean value, Boolean ignoreChildren)
   at Aga.Controls.Tree.TreeNodeAdv.SetIsExpanded(Boolean value, Boolean ignoreChildren)
   at Aga.Controls.Tree.TreeNodeAdv.set_IsExpanded(Boolean value)
   at Aga.Controls.Tree.TreeViewAdv.OnMouseDoubleClick(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.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:
- start wb
- open GRTShell
- select root node in GRT Globals Panel
- doubleclick the item named "wb" in the lower panel
[28 Jan 2010 13:16] Mike Lischke
Fixed in 5.2
[1 Feb 2010 14:49] Johannes Taxacher
fix confirmed. will be included in 5.2.16
[2 Feb 2010 14:56] Tony Bedford
An entry has been added to the 5.2.16 changelog:

In the Workbench Scripting Shell dialog, clicking on an item in the value inspector panel (lower left corner) caused an exception:

System.Runtime.InteropServices.SEHException: External component has thrown an
exception.
   at MySQL.Grt.TreeModel.expand_node(NodeId node)
   at MySQL.Grt.GrtTreeModel.TreeViewExpanding(Object sender, TreeViewAdvEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at Aga.Controls.Tree.TreeViewAdv.OnExpanding(TreeNodeAdv node)
   ...