Bug #52788 Error when launching Workbench
Submitted: 13 Apr 2010 15:13 Modified: 14 Apr 2010 21:23
Reporter: Mike Hansen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.16 OS:Windows (XP)
Assigned to: CPU Architecture:Any

[13 Apr 2010 15:13] Mike Hansen
Description:
Exception = System.ArgumentException
Message = Given combination of Class, Part, and State is not defined by the current visual style.
FullText = System.ArgumentException: Given combination of Class, Part, and State is not defined by the current visual style.
   at System.Windows.Forms.VisualStyles.VisualStyleRenderer.SetParameters(String className, Int32 part, Int32 state)
   at System.Windows.Forms.VisualStyles.VisualStyleRenderer.SetParameters(VisualStyleElement element)
   at System.Windows.Forms.ToolStripSystemRenderer.RenderStatusStripBackground(ToolStripRenderEventArgs e)
   at System.Windows.Forms.ToolStripSystemRenderer.OnRenderToolStripBackground(ToolStripRenderEventArgs e)
   at System.Windows.Forms.ToolStripRenderer.DrawToolStripBackground(ToolStripRenderEventArgs e)
   at System.Windows.Forms.ToolStrip.OnPaintBackground(PaintEventArgs e)
   at System.Windows.Forms.StatusStrip.OnPaintBackground(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.StatusStrip.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
Launch Workbench.
[14 Apr 2010 17:27] Johannes Taxacher
cannot reproduce on my win7 and XP box.
[14 Apr 2010 18:48] Mike Hansen
I'll reinstall and see if it cures it. The software asked if I wanted to file a bug, so I did.
[14 Apr 2010 18:57] Mike Hansen
I installed 5.2.18 and no longer get the error. 5.2.16 was working w/o the error. I'm not sure whey it suddenly started.
[14 Apr 2010 21:23] MySQL Verification Team
Closing since 5.2.18 don't presents the issue reported.