Bug #25051 errors on start.
Submitted: 13 Dec 2006 21:48 Modified: 15 Feb 2007 17:15
Reporter: Carl Karsten (Silver Quality Contributor) Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Migration Toolkit Severity:S2 (Serious)
Version:version 1.1.8 OS:Windows (XP)
Assigned to: Assigned Account CPU Architecture:Any

[13 Dec 2006 21:48] Carl Karsten
Description:
errors on start with 2 dialogs: (ocr of attached screen shot)

The GRT environment could not be initialized ,
Please check your Java installation then try to restart the tool ,

Error details :
Migration , initMigration : Error calling lua function Migration , initMigration :
, /lua\Migration , lua : 64 : missing value parameter
stack traceback:
IC_ : in function ' setGlobal'
, /lua\Migration , lua : 64 : in function < , /lua\Migration , lua : 58 > Error Nr , l ooo8

5hell output :
M y 5 Q L G e n e r i c R u n t i m e E n v i r o n m e n t 2 , O , l 2

Type 'help' or '?' for help , Type 'quit' to exit the shell ,
Lua 5hell initiali_ed ,
Registered l 5 struct definition files ,
Initiali_ing native loader , , ,
Initiali_ing Java loader , , ,
Initiali_ing Lua loader , , ,
Initiali_ing Python loader , , ,
Registered 5 builtin modules ,
Registered l 7 Java modules ,
Registered l 6 Lua modules ,

''Error calling lua function RdbmsManagement , getManagementInfo :
, /lua\RdbmsManagement , lua : 8 l : Could not load data from file C : \Documents and
5ettings\carl\Qpplication Data\My5QL\Connections , xml
stack

How to repeat:
dl from sun and install jre-6-windows-i586.exe
dl from mysql and install mysql-gui-tools-5.0-r6-win32.msi

run 1MySQLMigrationTool.exe

get 2 dialogs.  hit ok, ok - app closes.
[13 Dec 2006 21:48] Carl Karsten
screen shot

Attachment: mqm1.png (image/png, text), 16.17 KiB.

[15 Dec 2006 10:25] Simon Lewis
Just to add that I too have hit this bug. Using V5.0-r6 plus JRE. Uninstalled then reinstalled both Java and GUI Tools in various sequences with no resolution.
Environment: Windows XP SP2 (Build 2600.xpsp_sp2_gdr.050301-1519)
Environment: J2SE Runtime Environment 5.0 Update 8 installed
Environment: Java 2 Runtime Environment,  SE v1.4.2_13 also installed
Checked Java console and disabled 1.4 (showing 1.4 and 1.5 as available). No effect.
All other GUI tools appear unaffected. Migration Toolkit unusable.
[15 Dec 2006 13:05] Mike Lischke
Carl, as a side node: our (error) dialogs support copy & paste, so you should be able to just press Ctrl+C to copy the dialog's text to the clipboard. This way you don't have to attach a screenshot or use OCR.
[4 Jan 2007 23:57] MySQL Verification Team
Could you please try with the latest release 5.0.r8? Thanks in advance.
[5 Jan 2007 1:00] Carl Karsten
C:\Program Files\MySQL\MySQL Tools for 5.0>MySQLMigrationTool.exe

Splash shows: version 1.1.8

              

Then on top of it 2 dialogs: 

top one:

"Error calling lua function RdbmsManagement.getManagementInfo: ./lua\RdbmsManagement.lua:81: Could not load data from file C:\Documents and Settings\carl\Application Data\MySQL\Connections.xml

stack

hit OK, then this is top:

The GRT environment could not be initialized.

Please check your Java installation then try to restart the tool.

Error details:

Migration.initMigration :Error calling lua function Migration.initMigration: ./lua\Migration.lua:64: missing value parameter

stack traceback:

        [C]: in function `setGlobal'

                ./lua\Migration.lua:64: in function <./lua\Migration.lua:58> Error Nr.10008

                Shell output:

                MySQL Generic Runtime Environment 2.0.12

                Type 'help' or '?' for help. Type 'quit' to exit the shell.

                Lua Shell initialized.

                Registered 15 struct definition files.

                Initializing native loader...

                Initializing Java loader...

                Initializing Lua loader...

                Initializing Python loader...

                Registered 5 builtin modules.

                Registered 17 Java modules.

                Registered 16 Lua modules.

Which is similar to when I run WorkBench:

The runtime environment (GRT) could not be initialized.

Please check your installation then try to restart the tool.

Error details:

Workbench.initWorkbench :Error calling lua function Workbench.initWorkbench: ./lua\Workbench.lua:123: missing value parameter

stack traceback:

        [C]: in function `setGlobal'

                ./lua\Workbench.lua:123: in function <./lua\Workbench.lua:120> Error Nr.10008

                Shell output:

                MySQL Generic Runtime Environment 2.0.12

                Type 'help' or '?' for help. Type 'quit' to exit the shell.

                Lua Shell initialized.

                Registered 15 struct definition files.

                Initializing native loader...

                Initializing Java loader...

                Initializing Lua loader...

                Initializing Python loader...

                Registered 5 builtin modules.

                Registered 17 Java modules.

                Registered 16 Lua modules.

                Registered 1 Workbench module.
[5 Jan 2007 1:02] Carl Karsten
the double spacing is probably because I cliped the text, saved to a text file on win, then used xclip and pasted it into Firefox on Linux.
[15 Jan 2007 17:15] Michael G. Zinner
Hi!

could you please rename the file C:\Documents and
Settings\carl\Application Data\MySQL\Connections.xml to Connections_old.xml and try to start the MT again? It looks like your Connections.xml is corrupted.

If the MT startup works normally after the change, please attach your Connections.xml to this bug report. That should help finding the cause of the problem. 

Thanks a lot,
Mike
[16 Feb 2007 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".