Bug #59559 Error in EER diagram trying to edit table's details
Submitted: 17 Jan 2011 16:23 Modified: 7 Mar 2011 13:58
Reporter: Marco Zuliani Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.2.31 CE revision 7115 OS:Windows (XP)
Assigned to: Mike Lischke CPU Architecture:Any
Tags: DockedWindowPlugin, model

[17 Jan 2011 16:23] Marco Zuliani
Description:
Sometimes, when working on the EER diagram, I receive the following error trying to edit a table's details (either through the context menu => "Edit table..." choice or by double-clicking on the table itself):

Cannot access a disposed object.
Object name: 'DockedWindowPlugin'

After this, it becomes impossible to edit a table within the model/EER diagram.
Only solution is to close SQL Workbench and re-open it.

How to repeat:
It does not happen all the time but still fairly frequently.
Simply double-clicking on a table object in and EER diagram brings it about after a few times.
The EER model I'm currently working on is a simple test and has only 4 tables.
It happened even with 1 or 2 tables, so it's certainly not related to the size or complexity of the diagram itself.
[18 Jan 2011 8:46] Valeriy Kravchuk
Please, send the output of Help > System Info menu item and some .mwb file that demonstrates the problem.
[18 Jan 2011 9:42] Marco Zuliani
Ok, I was able to replicate consistently the problem.
First, open up the model, open the ERR diagram and go to "edit table" for a few tables. This always works fine, no matter how many times you go into edit mode.
Then close the model (if nothing has changed, do not save - it does not make any difference) and re-open it again. Go to ERR diagram and start editing tables.
After 1-3 times, on average, the error pops up.
I have attached my sample .mwb file.
[18 Jan 2011 9:42] Marco Zuliani
Sample model file

Attachment: ecomm.mwb (application/octet-stream, text), 10.55 KiB.

[27 Jan 2011 19:02] Sveta Smirnova
Thank you for the feedback.

Verified as described on second try.
[8 Feb 2011 14:13] Alfredo Kojima
Easy way to repeat: open model, open diagram, open editor, close diagram, reopen diagram, open editor -> crash
[8 Feb 2011 16:51] Mike Lischke
Fixed in repository.
[3 Mar 2011 13:35] Johannes Taxacher
fix confirmed in repository
[7 Mar 2011 13:58] Tony Bedford
An entry has been added to the 5.2.32 changelog: 

      	In the EER Diagram view, clicking on a table to edit its details 
      	sometimes resulted in the following error: 
       
Cannot access a disposed object. 
Object name: 'DockedWindowPlugin'