Bug #35598 Unhandled Exception when expanding indexes in diagram
Submitted: 27 Mar 2008 11:41 Modified: 28 Mar 2008 17:26
Reporter: Daniel Haas Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.0.16 RC OS:Windows (Vista)
Assigned to: Alfredo Kojima CPU Architecture:Any

[27 Mar 2008 11:41] Daniel Haas
Description:
When editing a model (diagram) and clicking on the "Indexes" field of a table to expand or collapse the indexes of the table, Workbench shows an unhandled exception.
See the stacktrace attached.

How to repeat:
I way not able to reproduce this bug with a new file. However this happens with the file that was saved after the crash from http://bugs.mysql.com/bug.php?id=34168
I will also attach the file that shows the behaviour.
[27 Mar 2008 11:41] Daniel Haas
The stacktrace of the unhandled exception.

Attachment: stacktrace_showindexes.txt (text/plain), 6.14 KiB.

[27 Mar 2008 11:42] Daniel Haas
Example file that shows the bug.

Attachment: MyProject.mwb (application/octet-stream, text), 11.58 KiB.

[27 Mar 2008 11:44] Daniel Haas
Note this happens when clicking the Indexes-Bar on the projects-table.
[28 Mar 2008 4:08] Alfredo Kojima
Crash is fixed. Workaround is to set the referenced column of the FK defined in the
crashing table to a valid value (it's unset in the provided model)
[28 Mar 2008 11:59] Johannes Taxacher
fixed as described by developer, tested SVN Rev 2888
[28 Mar 2008 17:26] MC Brown
A note has been added to the 5.0.16rc changelog: 

Opening the Indexes portion of a table would generate a unhandled exception error.
[28 Mar 2008 17:28] MC Brown
Correction, this has been added to the 5.0.17 changelog.