Bug #66311 "Edit Table..." function does not respond or produces error message
Submitted: 10 Aug 2012 16:31 Modified: 10 Aug 2012 18:15
Reporter: Joshua Rose Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.2.41 OS:Windows (Microsoft Windows 7 Enterprise Edition Service Pack 1 (build 7601), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[10 Aug 2012 16:31] Joshua Rose
Description:
"Edit Table..." in context menu of a table in an EER diagram does not respond or produces error message. Double-clicking the table does not allow me to edit the table either. Application must be restarted before I can edit the table again. If another Edit Table box is already open, closing it first dow not work either.

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

MySQL Workbench CE for Windows version 5.2.41  revision 9727
Configuration Directory: C:\Users\joshuar\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 Enterprise Edition Service Pack 1 (build 7601), 64-bit
CPU: 2x Intel(R) Pentium(R) D CPU 3.40GHz, 2.0 GiB RAM
Active video adapter (0): Intel(R) 82945G Express Chipset Family
Installed video RAM: 256 MB
Current video mode: 1920 x 1200 x 4294967296 colors
Used bit depth: 32
Driver version: 8.15.10.1930
Installed display drivers: igdumd64.dll
Current user language: English (United States)

Exception = System.InvalidCastException
Message = Unable to cast object of type 'MySQL.Forms.MenuImpl' to type 'MySQL.GUI.Workbench.Plugins.DockablePlugin'.
FullText = System.InvalidCastException: Unable to cast object of type 'MySQL.Forms.MenuImpl' to type 'MySQL.GUI.Workbench.Plugins.DockablePlugin'.
   at MySQL.GUI.Workbench.Plugins.DockablePlugin.GetFromFixedPtr(IntPtr ptr)
   at MySQL.GUI.Workbench.MainForm.ShowPlugin(IntPtr ptr)
   at MySQL.Forms.AppImpl.show_editor_wrapper(UInt32 native_handle)
   at boost.detail.function.void_function_invoker1<void (__cdecl*)(unsigned int),void,unsigned int>.invoke(function_buffer* function_ptr, UInt32 a0)
   at wb.WBContext.flush_idle_tasks(WBContext* )
   at MySQL.Workbench.WbContext.flush_idle_tasks()
   at MySQL.GUI.Workbench.Program.timer_Tick(Object sender, EventArgs e)

How to repeat:
Create blanks EER diagram. Create some tables with columns in them. Double-click / "Edit table..." on a table A. Double-click / "Edit Table..." on another table B. Table B will not be able to be editted
[10 Aug 2012 17:11] Valeriy Kravchuk
This is a duplicate of bug #66013.
[10 Aug 2012 18:15] Joshua Rose
Thanks, sorry, didn't realize it was duplicate. Just went with the prompt to report it. Good to see that it will be fixed in next release.