This project is read-only.
1

Resolved

Unhandled Exception

description

I keep getting the below unhandled exception. It started occuring after I successfully moved a window from one desktop to another. Before I did this, I would double-click on a desktop (regardless of where) and get to the desktop I double clicked on. Now, it seems I have to avoid double-clicking on an application preview and instead double-click on a blank area to avoid this exception.
 
Dave
 
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
at System.Drawing.Bitmap.GetHicon()
at VirtualDesktop.Main.GetDesktopTrayIcon(Int32 ind, Boolean selected)
at VirtualDesktop.IconToolbar.GenerateImage()
at VirtualDesktop.IconToolbar.DesktopSwitched()
at VirtualDesktop.VirtualDesktopManager.VirtualDesktopSwitchedEventHandler.Invoke()
at VirtualDesktop.VirtualDesktopManager.set_CurrentDesktop(VirtualDesktop value)
at System.Windows.Forms.ToolStripDropDown.OnItemClicked(ToolStripItemClickedEventArgs e)
at System.Windows.Forms.ToolStrip.HandleItemClick(ToolStripItem dismissingItem)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(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)
 
 
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

Virtual Desktops
Assembly Version: 0.9.1.0
Win32 Version: 0.9.1.0

CodeBase: file:///C:/Program%20Files%20(x86)/Vista%20%26%20XP%20Virtual%20Desktops/Virtual%20Desktops.exe

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

Z-Pixel
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Vista%20%26%20XP%20Virtual%20Desktops/Z-Pixel.DLL

ebgl-e32
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

MouseHook
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Vista%20%26%20XP%20Virtual%20Desktops/MouseHook.DLL

 
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
 
For example:
 
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
 
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

comments

zhuman wrote Jan 25, 2011 at 7:16 PM

This will be fixed in the next release, due out soon. Note that the current source tree is not up to date as CodePlex's SVN system is failing to let me complete a check-in.

wrote Jan 25, 2011 at 7:18 PM

wrote Feb 22, 2013 at 1:00 AM

wrote May 16, 2013 at 12:16 PM

wrote May 16, 2013 at 12:16 PM

wrote Jun 14, 2013 at 8:28 AM