Bug #72455 Update to a function results in unexpected error
Submitted: 25 Apr 2014 14:29 Modified: 28 Apr 2014 19:00
Reporter: Edward Moore Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S2 (Serious)
Version:6.1.4.11773 OS:Windows
Assigned to: CPU Architecture:Any

[25 Apr 2014 14:29] Edward Moore
Description:
When using ALTER FUNCTION and having made a change and applied it workbench will frequently report unexpected error - Reference not set to an instance of the object.

This occurs on closing the SQL worksheet in which the alteration to the function was made. 

It seems more prevalent if you have not actually changed the function.

How to repeat:
When using ALTER FUNCTION and having made a change and applied it workbench will frequently report unexpected error - Reference not set to an instance of the object.

This occurs on closing the SQL worksheet in which the alteration to the function was made. 

It seems more prevalent if you have not actually changed the function.
[25 Apr 2014 14:53] MySQL Verification Team
Thank you for the bug report.

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 MySQL.GUI.Workbench.Plugins.DbMysqlRoutineEditor.RefreshFormData()
   at MySQL.GUI.Workbench.Plugins.ObjectEditorPlugin.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 wb.WBContext.flush_idle_tasks(WBContext* )
   at MySQL.Workbench.WbContext.flush_idle_tasks()
   at MySQL.GUI.Workbench.Program.timer_Tick(Object sender, EventArgs e)
[28 Apr 2014 19:00] Alfredo Kojima
duplicate of bug #72328