shellscape / Gmail-Notifier-Plus

Gmail Notifier Plus
http://shellscape.org
MIT License
90 stars 26 forks source link

Closing one of the mail instances results in a partial crash #92

Closed ShEsHy closed 12 years ago

ShEsHy commented 12 years ago

I use that window preview thingy Windows has, and I accidentally closed one of my mail instances by clicking the middle mouse button and got this crash log: Date: 13.6.2012 2:46:50 CPU: Microsoft Windows 7 Ultimate 6.1.7601.65536 Win32NT Processor: GenuineIntel Intel64 Family 6 Model 23 Stepping 6 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz 3599 ~Mhz Memory: 8588935168

Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at GmailNotifierPlus.Forms.Main._Notifier_FormClosed(Object sender, FormClosedEventArgs e) at System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e) at System.Windows.Forms.Form.WmClose(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)

Message: The given key was not present in the dictionary.

Stack Trace: at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at GmailNotifierPlus.Forms.Main._Notifier_FormClosed(Object sender, FormClosedEventArgs e) at System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e) at System.Windows.Forms.Form.WmClose(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)

Inner Exception:

shellscape commented 12 years ago

Thanks for the error info. This is fixed in the pending 3.5 release. In the future, please remember to report which version you're using.

shellscape commented 12 years ago

Also, reference this issue for an added catch/feature slated for 3.6, related to your report. https://github.com/shellscape/Gmail-Notifier-Plus/issues/93