Bug #60779 Edit Table Data throws unexpected error
Submitted: 6 Apr 2011 12:31 Modified: 14 May 2011 10:10
Reporter: Sebastian Stütz Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S2 (Serious)
Version:5.2.33 CE 7508 OS:Windows (7 x64)
Assigned to: CPU Architecture:Any
Tags: edit table data

[6 Apr 2011 12:31] Sebastian Stütz
Description:
When clicking on "edit table data" I get an "unexpected error" which is said to be caused by an external component. (German: "Eine externe Komponente hat eine Ausnahme ausgelöst")

System Info:

Option verbose  skipped because of missing value

Option standalone  skipped because of missing value

Option one-thread  skipped because of missing value

Option des-key-file  skipped because of missing value

Option innodb_rollback_on_timeout  skipped because of missing value

Option slave-skip-errors  skipped because of missing value

Option large-pages  skipped because of missing value

Option bootstrap  skipped because of missing value

MySQL Workbench CE for Windows version 5.2.33

Configuration Directory: C:\Users\AMuenkel\AppData\Roaming\MySQL\Workbench

Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE

Cairo Version: 1.8.8

Rendering Mode: OpenGL is available on this system, so OpenGL is used for rendering.

OpenGL Driver Version: 2.1.8787

OS: Microsoft Windows 7  (build 7600), 64-bit

CPU: 2x AMD Athlon(tm) II X2 240e Processor, 3.8 GiB RAM

Active video adapter: ATI Radeon HD 4200

Installed video RAM: 256 MB

Current video mode: 1920 x 1080 x 4294967296 Farben

Used bit depth: 32

Driver version: 8.632.1.2000

Installed display drivers: atiumd64.dll,atidxx64.dll,atiumdag,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll

Current user language: Englisch (Großbritannien)

How to repeat:
Click on "Edit table data" in SQL Editor.
[6 Apr 2011 13:06] Valeriy Kravchuk
What exact version of server, 5.x.y, are you working with?

Can you send complete CREATE TABLE statement for the table you tried to edit?
[6 Apr 2011 13:28] Sebastian Stütz
I downloaded installed the MySQL Server yesterday. It's the latest package for Windows x64. The Server is running on a separate machine in the local network.

Creating new tables in SQL Editor is working fine when using the assistant. However, sending CREATE TABLE in the Query Field fail (same error).
[6 Apr 2011 13:34] Sebastian Stütz
Problem does not depend on the actual configuration of the table. Even the simplest tables show this error.

Furthermore: It seems that this error pops up for all manual code in the Query Field, e.g. "drop table `test_schema`.`new_table`;" did not work. But deleting the table worked when I used the assistant for Dropping the Table afterwards (which used the very same piece of code).
[6 Apr 2011 16:31] MySQL Verification Team
I couldn't repeat on Vista 64-bit.
[7 Apr 2011 16:49] Alfredo Kojima
Please repeat the bug and when it happens, right click on the blank area below the icon in the exception window and select Copy Stack Trace, to paste that here.
[8 Apr 2011 7:02] Sebastian Stütz
For me it's easy to repeat since it happens all the time ;) Thx in advance!

Stack Trace:

Exception = System.Runtime.InteropServices.SEHException
Message = Eine externe Komponente hat eine Ausnahme ausgelöst.
FullText = System.Runtime.InteropServices.SEHException (0x80004005): Eine externe Komponente hat eine Ausnahme ausgelöst.
   bei Db_sql_editor.exec_sql(Db_sql_editor* , basic_string<char\,std::char_traits<char>\,std::allocator<char> >* , shared_ptr<Sql_editor>* , Boolean , Boolean , Boolean )
   bei MySQL.GUI.Workbench.Db_sql_editor.exec_sql(String sql, Boolean active_editor, Boolean wrap_with_non_std_delimiter)
   bei MySQL.GUI.Workbench.DbSqlEditor.DoExecuteSqlScript(Boolean currentStatementOnly)
   bei MySQL.GUI.Workbench.DbSqlEditor.ExecuteSqlScript()
   bei MySQL.GUI.Workbench.DbSqlEditor.OnPartialRefresh(Int32 what)
   bei MySQL.Grt.RunWrappedDelegate1<void\,void\,int\,int\,MySQL::Grt::DelegateSlot1<void\,void\,int\,int>::ManagedDelegate>.native_callback(Int32* a1)
   bei sigc.pointer_functor1<int const &,void>.()(pointer_functor1<int const \&\,void>* , Int32* _A_a1)
   bei sigc.adaptor_functor<sigc::pointer_functor1<int const &,void> >.operator()<int const &>(adaptor_functor<sigc::pointer_functor1<int const \&\,void> >* , Int32* _A_arg1)
   bei sigc.internal.slot_call1<sigc::pointer_functor1<int const &,void>,void,int const &>.call_it(slot_rep* rep, Int32* a_1)
   bei sigc.slot1<void,int const &>.()(slot1<void\,int const \&>* , Int32* _A_a1)
   bei sigc.adaptor_functor<sigc::slot<void,int const &,sigc::nil,sigc::nil,sigc::nil,sigc::nil,sigc::nil,sigc::nil> >.operator()<int const &>(adaptor_functor<sigc::slot<void\,int const \&\,sigc::nil\,sigc::nil\,sigc::nil\,sigc::nil\,sigc::nil\,sigc::nil> >* , Int32* _A_arg1)
   bei sigc.internal.slot_call1<sigc::slot<void,int const &,sigc::nil,sigc::nil,sigc::nil,sigc::nil,sigc::nil,sigc::nil>,void,int const >.call_it(slot_rep* rep, Int32* a_1)
   bei MySQL.Grt.ListModel.activate_popup_item_for_nodes(String name, List`1 nodes)
   bei MySQL.GUI.Workbench.ModelOverviewForm.PopupActionHandler(Object sender, EventArgs e)
   bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   bei System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   bei System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   bei System.Windows.Forms.ToolStrip.WndProc(Message& m)
   bei System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[18 Apr 2011 22:42] MySQL Verification Team
Could you please provide like Valeriy asked before: create table statement and the MySQL Server version. Thanks.
[26 Apr 2011 2:46] Alfredo Kojima
What's the name of the connection being used? The stack trace looks similar to the one from bug #60700
[26 Apr 2011 7:46] Sebastian Stütz
Server Version: 5.5.11
Error does not depend on content of CREATE TABLE statement - even simplest tables throw this error when trying to edit them.

Connection: Local TCP/IP Network, DB on standard port (3306)
ODBC 5.1.8 win x64 is installed (on other machine 32bit, makes no difference)

Establishing connection, Database Administration and creation of tables work fine.

No Error when editing table data with HeidiSQL.
[27 Apr 2011 17:00] Valeriy Kravchuk
I have to repeat Alfredo's question:

What's the name of the connection being used?
[2 May 2011 10:46] Sebastian Stütz
[SOLUTION] The connection contained symbol ":". After removing symbol the error vanished...
[14 May 2011 10:11] Valeriy Kravchuk
So, this must be a duplicate of bug #60700.