Bug #119592 MySQL Workbench crashes during Table Data Import Wizard with ProgressBar disposed object error
Submitted: 24 Dec 7:29
Reporter: Apeksha Sonawane Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[24 Dec 7:29] Apeksha Sonawane
Description:
While importing a CSV file using the Table Data Import Wizard in MySQL Workbench on Windows, the import starts successfully and partially inserts data, but fails mid-way when the UI throws an unexpected error dialog:

"Cannot access a disposed object.
Object name: 'ProgressBar'."

After this error, MySQL Workbench crashes or becomes unusable. This appears to be a UI lifecycle issue where the progress bar object is disposed while still being referenced.

The issue occurs consistently with larger CSV files and when the file is located in a OneDrive-synced directory. The MySQL server continues running and partial data is inserted, indicating the issue is limited to the Workbench UI, not the server or data itself.

Workaround: Using LOAD DATA LOCAL INFILE successfully imports the same CSV without issues.

How to repeat:
1. Open MySQL Workbench on Windows.
2. Connect to a local MySQL server instance.
3. Select an existing schema.
4. Right-click the schema and choose “Table Data Import Wizard”.
5. Select a large CSV file (located in a OneDrive-synced folder).
6. Proceed with default settings and start the import.
7. The import starts successfully and inserts some rows.
8. During the import process, MySQL Workbench shows an unexpected error:
   “Cannot access a disposed object. Object name: ‘ProgressBar’.”
9. MySQL Workbench crashes or becomes unresponsive.