icsharpcode / SharpDevelop

#develop (short for SharpDevelop) is a free IDE for .NET programming languages.
2.08k stars 771 forks source link

unhandled exception on first run after installation of 5.1 on windows server 2008 #760

Open gibbsr opened 8 years ago

gibbsr commented 8 years ago

SharpDevelop Version : 5.1.0.5216-0e58df71 .NET Version : 4.5.51209 OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1 Current culture : English (United States) (en-US) Running under WOW6432, processor architecture: x86-64 Terminal Server Session Working Set Memory : 63532kb GC Heap Memory : 6133kb

Exception thrown: System.ArgumentException: Parameter is not valid. at System.Drawing.Image.get_Flags() at System.Windows.Forms.ControlPaint.IsImageTransparent(Image backgroundImage) at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle, Color backColor, Point scrollOffset) at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle) at System.Windows.Forms.Control.OnPaintBackground(PaintEventArgs pevent) at System.Windows.Forms.ScrollableControl.OnPaintBackground(PaintEventArgs e) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer) at System.Windows.Forms.Control.WmEraseBkgnd(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.Form.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)

---- Recent log messages: 13:02:59.770 [1] DEBUG - Service startup: ICSharpCode.SharpDevelop.Parser.IAssemblyParserService 13:02:59.770 [1] INFO - InitSharpDevelop finished 13:02:59.770 [1] INFO - Initializing workbench... 13:03:05.028 [1] WARN - Loading resources ICSharpCode.TypeScriptBinding.Resources.ImageResources.en: NOT FOUND 13:03:05.030 [1] WARN - Codon (Refactoring) specified in the insertafter of the [Codon: name = Include, id = GoToTypeScriptDefinition, addIn=C:\Program Files (x86)\SharpDevelop\5.1\bin..\AddIns\BackendBindings\TypeScriptBinding\TypeScriptBinding.addin] codon does not exist! 13:03:05.030 [1] WARN - Codon (Refactoring) specified in the insertafter of the [Codon: name = Include, id = FindTypeScriptReferences, addIn=C:\Program Files (x86)\SharpDevelop\5.1\bin..\AddIns\BackendBindings\TypeScriptBinding\TypeScriptBinding.addin] codon does not exist! 13:03:05.030 [1] WARN - Codon (Refactoring) specified in the insertafter of the [Codon: name = Include, id = RenameTypeScriptReference, addIn=C:\Program Files (x86)\SharpDevelop\5.1\bin..\AddIns\BackendBindings\TypeScriptBinding\TypeScriptBinding.addin] codon does not exist! 13:03:05.030 [1] WARN - Codon (Refactoring) specified in the insertbefore of the [Codon: name = MenuItem, id = DebuggerSetCurrentStatement, addIn=C:\Program Files (x86)\SharpDevelop\5.1\bin..\AddIns\Debugger\Debugger.AddIn.addin] codon does not exist! 13:03:05.030 [1] WARN - Codon (Refactoring) specified in the insertbefore of the [Codon: name = MenuItem, id = DebuggerRunToCursor, addIn=C:\Program Files (x86)\SharpDevelop\5.1\bin..\AddIns\Debugger\Debugger.AddIn.addin] codon does not exist! 13:03:05.030 [1] WARN - Codon (Refactoring) specified in the insertbefore of the [Codon: name = MenuItem, id = DebuggerSeparator, addIn=C:\Program Files (x86)\SharpDevelop\5.1\bin..\AddIns\Debugger\Debugger.AddIn.addin] codon does not exist! 13:03:05.030 [1] WARN - Codon (AddExpressionBreakpoint) specified in the insertafter of the [Codon: name = MenuItem, id = AddWatchExpression, addIn=C:\Program Files (x86)\SharpDevelop\5.1\bin..\AddIns\Debugger\Debugger.AddIn.addin] codon does not exist! 13:03:05.030 [1] WARN - Codon (FindNextSelected) specified in the insertafter of the [Codon: name = MenuItem, id = Replace, addIn=C:\Program Files (x86)\SharpDevelop\5.1\bin..\AddIns\Misc\SearchAndReplace\SearchAndReplace.addin] codon does not exist! 13:03:05.793 [1] INFO - Loading addin CodeCoverage AddIn 13:03:05.862 [1] INFO - Loading addin XML Editor 13:03:05.980 [1] DEBUG - Service startup: ICSharpCode.SharpDevelop.Debugging.IDebuggerService 13:03:05.980 [1] INFO - Loading addin Debugger 13:03:08.752 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Gui.CompilerMessageView... 13:03:09.485 [1] DEBUG - [AddInManager2] AddInsViewModelBase: Changed package source to SharpDevelop AddIn Repository 13:03:09.531 [1] INFO - Starting workbench... 13:03:09.531 [1] DEBUG - NavigationService -- suspend logging 13:03:09.531 [1] INFO - Loading addin Start Page 13:03:09.702 [1] INFO - Loading addin Usage Data Collector 13:03:10.509 [1] DEBUG - Service startup: ICSharpCode.SharpDevelop.WinForms.IWinFormsService 13:03:10.528 [1] DEBUG - NavigationService -- resume logging 13:03:10.655 [1] ERROR - ThreadException caught --> Exception: System.ArgumentException: Parameter is not valid. at System.Drawing.Image.get_Flags() at System.Windows.Forms.ControlPaint.IsImageTransparent(Image backgroundImage) at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle, Color backColor, Point scrollOffset) at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle) at System.Windows.Forms.Control.OnPaintBackground(PaintEventArgs pevent) at System.Windows.Forms.ScrollableControl.OnPaintBackground(PaintEventArgs e) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer) at System.Windows.Forms.Control.WmEraseBkgnd(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.Form.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)

---- Post-error application state information: Installed 3rd party AddIns: ProjectService.CurrentSolution: ProjectService.CurrentProject: Workbench.ActiveContent:

This was on a new install, it occured on startup. The box is a windows server 2008 R2 instance. On exiting, and restarting, the issue did not occur a second time.