Bug #67294 Error flagged when adding a new column
Submitted: 19 Oct 2012 4:09 Modified: 19 Nov 2012 16:29
Reporter: Kathy Long Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.44 OS:Microsoft Windows (Microsoft Windows 7 Service Pack 1 (build 7601), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[19 Oct 2012 4:09] Kathy Long
Description:
typed the column name = No_cores and the unexpected error box appeared, i tried it again with the same result

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

MySQL Workbench CE for Windows version 5.2.44  revision 9933
Configuration Directory: C:\Users\My\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.44
Cairo Version: 1.8.8
OS: Microsoft Windows 7  Service Pack 1 (build 7601), 64-bit
CPU: 4x Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz, 4.0 GiB RAM
Active video adapter (0): NVIDIA GeForce GT 240
Installed video RAM: 512 MB
Current video mode: 1280 x 1024 x 4294967296 colors
Used bit depth: 32
Driver version: 8.17.12.9573
Installed display drivers: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Current user language: English (United States)

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.?A0x63a8f0d3.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, String 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.BaseTextControl.SetLabel(TreeNodeAdv node, String value)
   at MySQL.Utilities.AdvNodeTextBox.DoApplyChanges(TreeNodeAdv node, Control editor)
   at Aga.Controls.Tree.NodeControls.EditableControl.ApplyChanges()
   at Aga.Controls.Tree.NodeControls.EditableControl.EditorValidating(Object sender, CancelEventArgs e)
   at System.Windows.Forms.Control.OnValidating(CancelEventArgs e)
   at System.Windows.Forms.Control.NotifyValidating()
   at System.Windows.Forms.Control.PerformControlValidation(Boolean bulkValidation)
   at System.Windows.Forms.ContainerControl.ValidateThroughAncestor(Control ancestorControl, Boolean preventFocusChangeOnError)
   at System.Windows.Forms.ContainerControl.EnterValidation(Control enterControl)
   at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
   at System.Windows.Forms.ContainerControl.AssignActiveControlInternal(Control value)
   at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control, Boolean originator)
   at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control)
   at System.Windows.Forms.Control.WmSetFocus(Message& m)
   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:
type No_cores as a new column name
[19 Oct 2012 16:29] Miguel Solorzano
Thank you for the bug report. I can't repeat with my own model file, could you please provide your model project file (private if you wish) and point which table to be added that column. Thanks.
[20 Nov 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".