Bug #44227 Error, unserializing GTR data

Submitted: 12 Apr 2009 23:54 Modified: 23 Apr 2009 0:16
Reporter: Hector Centeno Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.1.9b r5142, 5.1.10 OS:MacOS (intel)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: gtr

[12 Apr 2009 23:54] Hector Centeno
Description:
When i try to open a file, witch didn't had any crash error or something, i got the message:

Can not open document'path/file.mwb'
Error unserializing GRT data inserting null value to not null list

And the app just don't allow me to open the file.

Backup file doesn't open aether.

How to repeat:
opening the file i have i guess
[13 Apr 2009 0:02] Hector Centeno
I already download 5.1.10b revision 5306 and it didn't fix the problem
[13 Apr 2009 4:11] Valeriy Kravchuk
Thank you for the problem report.
[16 Apr 2009 23:21] Alfredo Kojima
Hi

In what version did you create that file?
[17 Apr 2009 3:37] Alfredo Kojima
Your model contains a foreign key with an invalid column mapping (a referenced column is set to NULL).
You can fix it by unzipping and searching for <null/> and deleting that entry in a list called referencedColumns, along with the matching one by index in the list columns.

Code to automatically detect and fix such problems has been added and will be active in 5.1.11
[22 Apr 2009 19:04] Johannes Taxacher
fix confirmed, will be in 5.1.11
[23 Apr 2009 0:16] Hector Centeno
thanks, a lot, i'll be ready to download updates :D

Great app

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.042 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.