Bug #50832 error when import from script creatator
Submitted: 2 Feb 2010 13:20 Modified: 2 Mar 2010 13:40
Reporter: Anderson Jordão Marques AnJoMar Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2 OSS OS:Windows (XP SP3)
Assigned to: CPU Architecture:Any

[2 Feb 2010 13:20] Anderson Jordão Marques AnJoMar
Description:
Exception = System.ObjectDisposedException
Message = Cannot access a disposed object.
Object name: 'WorkbenchOverviewForm'.
FullText = System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'WorkbenchOverviewForm'.
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.Form.CreateHandle()
   at System.Windows.Forms.Control.get_Handle()
   at System.Windows.Forms.Control.RectangleToScreen(Rectangle r)
   at MySQL.GUI.Workbench.WorkbenchOverviewForm.WheelMessageFilter.PreFilterMessage(Message& m)
   at System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
   at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(ApplicationContext context)
   at MySQL.GUI.Workbench.Program.Main(String[] Args)

How to repeat:
(in brazilian portuguese)

Finalizar a importação de um script de criação, depois tentar atualizar os objetos no catálogo.

Arquivo de script:

CREATE TABLE `turma_questionario` (
  `idQuestionario` int(10) unsigned NOT NULL default '0',
  `idPesquisa` int(10) unsigned NOT NULL default '0',
  `idTurma` int(10) unsigned NOT NULL default '0',
  `dtAplicacao` datetime NOT NULL default '0000-00-00 00:00:00',
  `vlResult1` varchar(45) default NULL,
  `vlResult2` varchar(45) default NULL,
  `vlResult3` varchar(45) default NULL,
  `vlResult4` varchar(45) default NULL,
  `vlResult5` varchar(45) default NULL,
  `vlResult6` varchar(45) default NULL,
  `vlResult7` varchar(45) default NULL,
  `vlResult8` varchar(45) default NULL,
  `vlResult9` varchar(45) default NULL,
  `vlResult10` varchar(45) default NULL,
  `vlResult11` varchar(45) default NULL,
  `vlResult12` varchar(45) default NULL,
  `vlResult13` varchar(45) default NULL,
  `vlResult14` varchar(45) default NULL,
  `vlResult15` varchar(45) default NULL,
  PRIMARY KEY  (`idQuestionario`,`idPesquisa`,`idTurma`),
  KEY `fk_turma_questionario_questionario` (`idQuestionario`),
  CONSTRAINT `fk_turma_questionario_questionario` FOREIGN KEY (`idQuestionario`) REFERENCES `questionario` (`idQuestionario`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/************************************************************************
SELECT a.`idQuestionario`, a.`idPesquisa`, b.`idTurma`,
AVG(a.`vlResult1`), AVG(a.`vlResult2`), AVG(a.`vlResult3`), AVG(a.`vlResult4`), AVG(a.`vlResult5`),
AVG(a.`vlResult6`), AVG(a.`vlResult7`), AVG(a.`vlResult8`), AVG(a.`vlResult9`), AVG(a.`vlResult10`),
AVG(a.`vlResult11`), AVG(a.`vlResult12`), AVG(a.`vlResult13`), AVG(a.`vlResult14`), AVG(a.`vlResult15`)
FROM aluno_questionario a
INNER JOIN aluno_turma b ON(a.idAluno=b.idAluno)
GROUP BY a.`idQuestionario`, a.`idPesquisa`, b.`idTurma`;

SELECT * FROM turma_questionario t;
*************************************************************************/
[2 Feb 2010 13:40] Johannes Taxacher
Hi Anderson,

is that problem repeatable? could you give a more detailed explanation about how to reproduce that problem? the CREATE statement you provided refers to another table and the select you provided queries yet another one, so i'm not sure how to reproduce the problem
[3 Mar 2010 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".