Bug #67416 It happened when I clicked a NotNull checkbox while creating a EER Diagram. And
Submitted: 30 Oct 2012 0:26 Modified: 30 Oct 2012 16:43
Reporter: Thiago Figueiredo jaywalking101 Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.42 OS:Windows (Microsoft Windows 7 Ultimate Edition Service Pack 1 (build 7601), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[30 Oct 2012 0:26] Thiago Figueiredo jaywalking101
Description:
It happened when I clicked a NotNull checkbox while creating a EER Diagram. And that's it.

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

MySQL Workbench CE for Windows version 5.2.42  revision 9752
Configuration Directory: C:\Users\jaywalking101\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 Ultimate Edition Service Pack 1 (build 7601), 64-bit
CPU: 4x Intel(R) Core(TM) i5-2310 CPU @ 2.90GHz, 8.0 GiB RAM
Active video adapter (0): NVIDIA GeForce 7300 SE/7200 GS
Installed video RAM: 256 MB
Current video mode: 1920 x 1080 x 4294967296 colors
Used bit depth: 32
Driver version: 8.17.13.142
Installed display drivers: nvd3dumx.dll,nvd3dum
Current user language: Portuguese (Brazil)

Exception = System.NullReferenceException
Message = Object reference not set to an instance of an object.
FullText = System.NullReferenceException: Object reference not set to an instance of an object.
   at std.vector<int,std::allocator<int> >.size(vector<int\,std::allocator<int> >* )
   at MySQL.Grt.?A0xcdeca877.CppVectorToNativeList<int,int>(vector<int\,std::allocator<int> >* input)
   at MySQL.Grt.nativeToManaged(vector<int\,std::allocator<int> >* input)
   at MySQL.Grt.RunWrappedDelegate2<void\,void\,std::vector<int\,std::allocator<int> >\,System::Collections::Generic::List<int> ^\,int\,int\,MySQL::Grt::DelegateSlot2<void\,void\,std::vector<int\,std::allocator<int> >\,System::Collections::Generic::List<int> ^\,int\,int>::ManagedDelegate>.native_callback(vector<int\,std::allocator<int> >* a1, Int32* a2)
   at boost.detail.function.function_invoker0<int (__cdecl*)(void),int>.invoke(function_buffer* function_ptr)
   at boost.function0<int>.()(function0<int>* )
   at boost.detail.function.void_function_obj_invoker0<boost::function<int __cdecl(void)>,void>.invoke(function_buffer* function_obj_ptr)
   at MySQL.Grt.ListModel.refresh()
   at MySQL.GUI.Workbench.Plugins.DbMysqlTableEditor.RefreshFormData()
   at MySQL.GUI.Workbench.Plugins.ObjectEditorPlugin.CallRefreshFormData()
   at MySQL.GUI.Workbench.Plugins.DbMysqlTableEditor.CallRefreshFormData()
   at MySQL.Grt.RunWrappedDelegate0<void\,void\,MySQL::Grt::DelegateSlot0<void\,void>::ManagedDelegate>.native_callback()
   at boost.detail.function.void_function_invoker0<void (__cdecl*)(void),void>.invoke(function_buffer* function_ptr)
   at MySQL.Grt.ListModel.set_field(NodeId node, Int32 column, Int32 value)
   at MySQL.Grt.Db.DbMysqlTableColumnsListModel.ValuePushed(Object sender, NodeControlValueEventArgs e)
   at Aga.Controls.Tree.NodeControls.BindableControl.OnValuePushed(NodeControlValueEventArgs args)
   at Aga.Controls.Tree.NodeControls.BindableControl.SetValue(TreeNodeAdv node, Object value)
   at Aga.Controls.Tree.NodeControls.NodeCheckBox.SetCheckState(TreeNodeAdv node, CheckState value)
   at Aga.Controls.Tree.NodeControls.NodeCheckBox.MouseDown(TreeNodeAdvMouseEventArgs args)
   at Aga.Controls.Tree.TreeViewAdv.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(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:
I have no idea. If it happens again I will restart MySQL Workbench.
[30 Oct 2012 16:43] Ruben Dario Morquecho Valdez
Tried on:
Win 7 64bits. Workbench 5.2.44 
several times and couldnt reproduce it.

do you have the EER  for sharing it in order to recreate?
or the steps done , in order to reproduce the bug. 

Thank you for your interest in MySQL.