Bug #52838 HUD display needs main form to be named "MainForm" to find it.

Submitted: 14 Apr 2010 20:33 Modified: 16 Apr 2010 12:42
Reporter: Michael LaBrot Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.18 OSS Beta OS:Windows (XP Pro)
Assigned to: Mike Lischke CPU Architecture:Any

[14 Apr 2010 20:33] Michael LaBrot
Description:
When opening an *.mwb file by double-clicking on it, application crashes. Visual Studio reports this exception:

System.Exception was unhandled
  Message="HUD display needs main form to be named \"MainForm\" to find it."
  Source="MySQLCsUtilities"
  StackTrace:
       at MySQL.Utilities.HUDForm.Reshow(Boolean animated)
       at MySQL.Utilities.HUDForm.Show(String title, String message, Boolean animated)
       at MySQL.Forms.UtilitiesImpl.show_wait_message(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* title, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* text)
       at MySQL.MCallback2<void\,std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > const \&\,std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > const \&>.cpp_callback(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* a1, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* a2)
       at wb.WBContextUI.init_finish(WBContextUI* , WBOptions* )
       at MySQL.Workbench.WbContext.finished_loading(WbOptions options)
       at MySQL.GUI.Workbench.Program.Main(String[] Args)
  InnerException: 

How to repeat:
Open an *.mwb file by double-clicking on it.
[14 Apr 2010 21:04] Michael LaBrot
The model was produced by version 5.2.15 OSS Beta. Many of the foreign keys are missing referencedColumns in the document.mwb.xml file.
[15 Apr 2010 11:34] Mike Lischke
Fixed in repository.
[15 Apr 2010 15:10] Johannes Taxacher
fix confirmed in repository
[16 Apr 2010 12:42] Tony Bedford
An entry has been added to the 5.2.19 changelog:

Double-clicking on a model file (*.mwb) to open it caused MySQL Workbench to crash.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.