Bug #72328 Workbench informs that an "Object reference not set to an instance of an object"
Submitted: 13 Apr 2014 1:30 Modified: 13 May 2014 23:33
Reporter: Mario Diethelm Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:Workbench 6.1, 6.1.4 OS:Windows (8.1)
Assigned to: CPU Architecture:Any

[13 Apr 2014 1:30] Mario Diethelm
Description:
When exit from the stored procedure editor, randomly Workbench display the message "Object reference not set to an instance of an object"

How to repeat:
The problem appears to be random. There is not an obvious and consistent pattern.
[14 Apr 2014 8:29] MySQL Verification Team
Hello Mario,

Thank you for the bug report.
Verified as described.

Thanks,
Umesh
[14 Apr 2014 8:35] MySQL Verification Team
// How to repeat

- Goto Stored Procedure explorer
- Open an existing SP (Right click and ALTER Stored Procedure..)
- Add few dots to the SP documentation
- Click Apply 
- Close the SP editor
Above steps would trigger "Object reference not set to an instance of an object."

13:56:38 [INF][        WQE.net]: Launching SQL IDE
13:56:39 [INF][        WQE.net]: SQL IDE UI is ready
13:57:47 [ERR][      Workbench]: Object reference not set to an instance of an object.
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)
[10 May 2014 18:19] David Bayer
I have the same problem on Windows 7 Service Pack 1.
[13 May 2014 23:33] Philip Olson
Fixed as of the upcoming MySQL Workbench 6.1.6 release, and here's the changelog entry:

Closing the "Stored Procedure Editor" after changing a stored procedure
(and clicking "Apply") would emit an "Object reference not set to an
instance of an object." error.

Thank you for the bug report.