Bug #57948 Synchronise wizard reports external error when differences tree is expanded
Submitted: 3 Nov 2010 9:12 Modified: 10 Jan 2013 23:23
Reporter: Kai Sautter (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.29 OS:Windows (XP)
Assigned to: CPU Architecture:Any
Tags: qc

[3 Nov 2010 9:12] Kai Sautter
Description:
If the Model and Database Differences tree (screen 5 of wizard to synchronise model with database) is expanded, an external component reports an error, if changes to the database had been made while the wizard is already active.

How to repeat:
(1) Create a new model
(2) Synchronise it to the server
(3) Make some changes to the database schema on the server
(4) Start the synchronise wizard (Database --> Synchronise Model ...)
(5) Proceed to step 4, fetch object list
(6) Proceed to step 5, select changes to apply
(7) Expand the model tree to see differences
(6) Add a table to your schema on the server
(7) Go back one step in the wizard to "select schemata" (step 3)
(8) Proceed again to step 5, fetch object list
(9) Expand the model tree to see differences

--> error message:
"MySQL Workbench has encountered a problem
External component has thrown an exception."

Suggested fix:
The source of the error could be the required update of the differences tree/list.
[3 Nov 2010 9:29] Kai Sautter
This error does not occur, if a table structure is changed on the fly using ALTER TABLE (e.g. ADD COLUMN...).
[4 Nov 2010 10:53] MySQL Verification Team
Thank you for the bug report.
[10 Jan 2013 23:23] Philip Olson
Fixed as of the upcoming MySQL Workbench 5.2.46 release, and here's the changelog entry:

Changes made to a database schema while the "Database", "Synchronize
Model" wizard was active, would throw an exception.

Thank you for the bug report.