This project is read-only.
2
Vote

Unhandled exception; Object name: 'IconToolbar'

description

When switching desktops, an unhandled exception is given.
Cannot access a disposed object.
Object name: 'IconToolbar'.
 
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'IconToolbar'.
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 VirtualDesktop.IconToolbar.GenerateImage()
at VirtualDesktop.IconToolbar.DesktopSwitched()
at VirtualDesktop.IconToolbar._Lambda$__1(Int32 a0, Int32 a1)
at VirtualDesktop.VirtualDesktopManager.VirtualDesktopSwitchedEventHandler.Invoke(Int32 previousDesk, Int32 newDesk)
at VirtualDesktop.VirtualDesktopManager.set_CurrentDesktop(VirtualDesktop value)
at VirtualDesktop.VirtualDesktopManager.set_CurrentDesktopIndex(Int32 value)
at VirtualDesktop.IconToolbar.IconToolbar_MouseClick(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.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)
 
 
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)

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

VirtualDesktops
Assembly Version: 2.1.4277.41337
Win32 Version: 2.1.4277.41337

CodeBase: file:///C:/Program%20Files%20(x86)/Finestra/VirtualDesktops.exe

System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)

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

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)

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

System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

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

Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)

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)/Finestra/Z-Pixel.DLL

System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

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.5420 (Win7SP1.050727-5400)

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

oqul63rj
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)

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)/Finestra/MouseHook.DLL

Microsoft.WindowsAPICodePack.Shell
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Finestra/Microsoft.WindowsAPICodePack.Shell.DLL

WindowsBase
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.5011 built by: Win7SP1

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll

System.Security
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

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

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

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

System.Data.SqlXml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

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

System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.5420 built by: Win7SP1

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

Microsoft.WindowsAPICodePack
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Finestra/Microsoft.WindowsAPICodePack.DLL

PresentationCore
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.5011 built by: Win7SP1

CodeBase: file:///C:/Windows/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll

PresentationFramework
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.5011 built by: Win7SP1

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll

System.Deployment
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.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.
 
System:
Windows 7 Pro
Version 6.1 build 7601 sp1.
 
 
 
Running tasks:
System Idle Process
System
smss.exe
csrss.exe
wininit.exe
services.exe
lsass.exe
lsm.exe
winlogon.exe
nvvsvc.exe
MsMpEng.exe
svchost.exe
spoolsv.exe
svchost.exe
httpd.exe
sqlservr.exe
nvxdsync.exe
nvvsvc.exe
mysqld.exe
svchost.exe
sqlwriter.exe
TeamViewer_Service.exe
JavaServer.exe
NisSrv.exe
WUDFHost.exe
SearchIndexer.exe
taskhost.exe
TeamViewer.exe
dwm.exe
explorer.exe
ipoint.exe
MSOSYNC.EXE
pidgin.exe
woot.exe
ApacheMonitor.exe
jusched.exe
Everything.exe
notify.exe
AdobeARM.exe
acrotray.exe
zendcontroller.exe
GhostIt.exe
Launchy.exe
ONENOTEM.EXE
msseces.exe
wuauclt.exe
grpwise.exe
ZendStudio.exe
notepad++.exe
taskhost.exe
firefox.exe
AAM Updates Notifier.exe
plugin-container.exe
httpd.exe
php-cgi.exe
conhost.exe
php-cgi.exe
Foxit Reader.exe
audiodg.exe
chrome.exe
AutoHotkey.exe
VirtualDesktops.exe
cmd.exe
tasklist.exe
WmiPrvSE.exe
 
If any more information is needed, I will gladly provide it.
 
Thanks

comments

zhuman wrote Sep 23, 2011 at 7:46 PM

How often does this happen? It looks like it should only happen in very rare circumstances. I've fixed it in the code, so it should be in the next release.

wrote Jan 29, 2012 at 3:53 AM

maesmatt wrote Jan 29, 2012 at 4:01 AM

Same exact problem.
  • Does happen when using the Switcher function. The desktops will come up and if I click back to an item on my current desktop, it works fine; but if I click on an item in another desktop, the "IconToolbar" error appears. Fortunately it allows me to click continue, and then I can select the item again and it works. But obviously this is extremely annoying.
  • It also occurs when using the mini-toolbar or the tray-icons to switch (which I don't normally use)

wrote Feb 22, 2013 at 1:00 AM