Bug #57570 "-quit-when-done" option crashes Workbench with Unexpected Error

Submitted: 19 Oct 2010 13:15 Modified: 4 Mar 2011 15:37
Reporter: Cata P Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.29 OS:Windows (Windows 7)
Assigned to: Mike Lischke CPU Architecture:Any

[19 Oct 2010 13:15] Cata P
Description:
When running MySQL Workbench for Windows with the arguments "-script [FILE.lua] -quit-when-done", Workbench just crashes with the following message:

  [MySQL Workbench Unexpected Error]

  MySQL Workbench has encountered a problem

  Auf das verworfene Objekt kann nicht zugegriffen werden.
  Objektname: "MainForm".

Translation:
  Cannot access released / disposed object.
  Object name: "MainForm".

This happens regardless of the contents of the executed script, which can even be fully empty.

How to repeat:
Execute Workbench from the terminal:
  MySQLWorkbench.exe -script [FILE.lua] -quit-when-done

It will crash after running the script.
[3 Mar 2011 13:54] Johannes Taxacher
fix confirmed in repository
[4 Mar 2011 15:37] Tony Bedford
An entry has been added to the 5.2.32 changelog: 

       When running &workbench; with the arguments "-script 
        [FILE.lua] -quit-when-done", it crashed with the 
        following message: 

  [MySQL Workbench Unexpected Error] 

  MySQL Workbench has encountered a problem 

  Cannot access released / disposed object. 
  Object name: "MainForm".

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

Page generated in 0.049 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.