SuperGouge / ChanThreadWatch

Fork of the original discontinued ChanThreadWatch.
90 stars 13 forks source link

Unhandled Exception error #3

Closed BooJen closed 10 years ago

BooJen commented 10 years ago

Unhandled exception error when you try to remove a stopped thread by right clicking on that thread and choosing remove in the context menu. The stopped thread does not get removed, however the dialogue box offers options to [continue] or [quit].

details of dialogue box:

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

\ Exception Text ** System.ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary2.FindEntry(TKey key) at JDP.frmChanThreadWatch.UpdateCategories(String key, frmChanThreadWatch instance, Boolean remove) at JDP.frmChanThreadWatch.RemoveThreads(Boolean removeCompleted, Boolean removeSelected, Action1 preRemoveAction) at JDP.frmChanThreadWatch.miRemove_Click(Object sender, EventArgs e) at System.Windows.Forms.MenuItem.OnClick(EventArgs e) at System.Windows.Forms.MenuItem.MenuItemData.Execute() at System.Windows.Forms.Command.Invoke() at System.Windows.Forms.Command.DispatchID(Int32 id) at System.Windows.Forms.Control.WmCommand(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ListView.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)

SuperGouge commented 10 years ago

It seems to appear under specific conditions as I cannot reproduce it. Can you post the 13 lines starting with the problematic thread URL in the %AppData%/Roaming/Chan Thread Watch/threads.txt file please?

BooJen commented 10 years ago

I'm unable to reproduce the error after a reboot.