Bug #67660 Create Statement from Object Browser
Submitted: 21 Nov 2012 13:51 Modified: 29 Nov 2012 19:49
Reporter: Francesco Brillante Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.44 OS:Windows (Microsoft Windows 7 Service Pack 1 (build 7601), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[21 Nov 2012 13:51] Francesco Brillante
Description:
trying to generate a Insert statement from Object Browser , I got this exception

----- Developer Notes -----

MySQL Workbench CE for Windows version 5.2.44  revision 9933
Configuration Directory: C:\Users\fbrillante\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft Windows 7  Service Pack 1 (build 7601), 64-bit
CPU: 4x Intel(R) Core(TM) i3 CPU       M 330  @ 2.13GHz, 3.8 GiB RAM
Active video adapter (0): Intel(R) HD Graphics
Installed video RAM: 1723 MB
Current video mode: 1366 x 768 x 4294967296 colori
Used bit depth: 32
Driver version: 8.15.10.2622
Installed display drivers: igdumd64.dll,igd10umd64.dll,igdumdx32,igd10umd32
Current user language: Italiano (Italia)

Exception = System.Runtime.InteropServices.SEHException
Message = Eccezione lanciata da un componente esterno.
FullText = System.Runtime.InteropServices.SEHException (0x80004005): Eccezione lanciata da un componente esterno.
   in mforms.Menu.handle_action(Menu* , basic_string<char\,std::char_traits<char>\,std::allocator<char> >* )
   in MySQL.Forms.MenuImpl.ItemClick(Object sender, EventArgs e)
   in System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   in System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   in System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   in System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   in System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   in System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   in System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   in System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   in System.Windows.Forms.Control.WndProc(Message& m)
   in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   in System.Windows.Forms.ToolStrip.WndProc(Message& m)
   in System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
try to right - click from a table and Send to Editor a Insert Statement
[22 Nov 2012 11:51] MySQL Verification Team
I can't repeat. Are you connecting to local server or remote one?. Thanks.
[22 Nov 2012 12:09] Francesco Brillante
Hi, I'm connecting to a local DB server.

More info for this issue:
Before this exception, I renamed an existing table. 
Object Browser then showed three tables with same name (that's a new issue!)
May be I picked one of 'fake' tables, on whose I tried to generate Insert statement.
[29 Nov 2012 19:49] MySQL Verification Team
I can't repeat on 3 different OS (XP, Vista, Windows 7).