Bug #38429 Uncaught Exception when copying tables
Submitted: 29 Jul 2008 15:47 Modified: 5 Aug 2008 14:05
Reporter: Jeremy Tinley Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.0.23 OS:Windows (XP Pro SP2)
Assigned to: Mike Lischke CPU Architecture:Any

[29 Jul 2008 15:47] Jeremy Tinley
Description:
Attempted to copy a table and then paste into a new schema.  Resulted in:

Unknown Exception caught in c:\documents and settings\mysqldev\my documents\visual studio 2005\projects\workbench\backend\windows\wb.wr\src\Wb.h at line 1010

How to repeat:
Create new schema in existing WB file
Go to existing schema
Right click + Copy
Click on newly created schema
[29 Jul 2008 15:48] Jeremy Tinley
Also seems to reproduce if I try to paste the table into the new schema.
[29 Jul 2008 15:58] Johannes Taxacher
seems to be threading problem.

use following steps to reproduce:
1.) start WB
2.) double click "Add Table"
3.) click the [+} for adding a new schema
4.) close both editors
5.) select the table
6.) user rightclick-copy (or Ctrl+C)
7.) switch to the second schema tab
now a message box showing the message posted above comes in

if you wait a few seconds between step 6 and 7 the error isn't raised
[29 Jul 2008 16:04] Jeremy Tinley
Confirmed - if I wait a few seconds, I don't get the exception.
[1 Aug 2008 14:23] Mike Lischke
Fixed in rev. 3171.
[1 Aug 2008 21:53] Johannes Taxacher
fix comfirmed. will be included in 5.0.24
[5 Aug 2008 14:05] Tony Bedford
An entry has been added to the 5.0.24 changelog:

An attempt to copy a table and then paste it into a new schema resulted in an Unknown Exception being generated.