Bug #66428 Problem to open table editor
Submitted: 17 Aug 2012 10:52 Modified: 17 Sep 2012 11:34
Reporter: Jan Harajda Email Updates:
Status: No Feedback Impact on me:
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.2.41 OS:Windows (Microsoft Windows XP Professional Service Pack 3 (build 2600))
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[17 Aug 2012 10:52] Jan Harajda
I select one table at the diagram and I use double click to open "table editor" window but unexpected error :
 Object type MySQL.Forms.MenuItemImpl is not posible retype to type MySQL.GUI.Workbench.Plugins.DockalbePlugin.

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

MySQL Workbench CE for Windows version 5.2.41  revision 9724
Configuration Directory: C:\Documents and Settings\jh\Data aplikací\MySQL\Workbench
Data Directory: C:\Program Files\MySQL\MySQL Workbench CE 5.2.41
Cairo Version: 1.8.8
OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)
CPU: Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz, 2.0 GiB RAM
Active video adapter (0): VirtualBox Graphics Adapter
Installed video RAM: 16 MB
Current video mode: 1304 x 768 x 4294967296 barev
Used bit depth: 32
Driver version: 4.1.16.r78094
Installed display drivers: VBoxDisp.dll
Current user language: Slovenština

Exception = System.InvalidCastException
Message = Objekt typu MySQL.Forms.MenuItemImpl nelze přetypovat na typ MySQL.GUI.Workbench.Plugins.DockablePlugin.
FullText = System.InvalidCastException: Objekt typu MySQL.Forms.MenuItemImpl nelze přetypovat na typ MySQL.GUI.Workbench.Plugins.DockablePlugin.
   v MySQL.GUI.Workbench.Plugins.DockablePlugin.GetFromFixedPtr(IntPtr ptr)
   v MySQL.GUI.Workbench.MainForm.ShowPlugin(IntPtr ptr)
   v MySQL.Forms.AppImpl.show_editor_wrapper(UInt32 native_handle)
   v boost.detail.function.void_function_invoker1<void (__cdecl*)(unsigned int),void,unsigned int>.invoke(function_buffer* function_ptr, UInt32 a0)
   v wb.ModelDiagramForm.handle_mouse_double_click(ModelDiagramForm* , MouseButton , Int32 , Int32 , EventState )
   v MySQL.Workbench.ModelDiagramFormWrapper.OnMouseDoubleClick(MouseEventArgs e, Int32 X, Int32 Y, Keys keystate, MouseButtons buttons)
   v MySQL.GUI.Workbench.ModelDiagramForm.CanvasPanel_MouseDoubleClick(Object sender, MouseEventArgs e)
   v System.Windows.Forms.Control.OnMouseDoubleClick(MouseEventArgs e)
   v MySQL.Utilities.WindowsCanvasViewerPanel.OnMouseDoubleClick(MouseEventArgs e)
   v System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   v System.Windows.Forms.Control.WndProc(Message& m)
   v System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   v System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   v System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   v System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
double click on table make same error
[17 Aug 2012 11:34] MySQL Verification Team
Thank you for the bug report. Please try 5.2.42 version. Thanks.
[18 Sep 2012 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".