On occasion I get a NullReferenceException (Object reference not set to an instance of an object) in WebUIAPI.FindDone. When I debug I can see that this.current is null (so obviously the exception comes from when the foreach loop attempts to iterate the this.current items). I will continue to troubleshoot this as well and will let you know what I find, but wanted to mention it to you as well.
Full exception details are:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at uTorrentNotifier.WebUIAPI.FindDone(List1 current, List
1 last) in D:\Developer\Projects\CSharp Projects\uTorrent-Notifier\uTorrent Notifier\WebUIAPI\WebUIAPI.cs:line 82
at uTorrentNotifier.WebUIAPI.timer_Tick(Object sender, EventArgs e) in D:\Developer\Projects\CSharp Projects\uTorrent-Notifier\uTorrent Notifier\WebUIAPI\WebUIAPI.cs:line 63
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.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.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
uTorrent Notifier
Assembly Version: 0.4.7.0
Win32 Version: 0.4.7.0
CodeBase: file:///D:/Developer/Projects/CSharp%20Projects/uTorrent-Notifier/uTorrent%20Notifier/bin/Release/uTorrent%20Notifier.exe
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.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.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.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.4926 built by: NetFXw7
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.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
Growl.Connector
Assembly Version: 2.0.0.0
Win32 Version: 2.0.2.8
CodeBase: file:///D:/Developer/Projects/CSharp%20Projects/uTorrent-Notifier/uTorrent%20Notifier/bin/Release/Growl.Connector.DLL
Growl.CoreLibrary
Assembly Version: 2.0.0.0
Win32 Version: 2.0.2.8
CodeBase: file:///D:/Developer/Projects/CSharp%20Projects/uTorrent-Notifier/uTorrent%20Notifier/bin/Release/Growl.CoreLibrary.DLL
Newtonsoft.Json.Net20
Assembly Version: 3.5.0.0
Win32 Version: 3.5.0.0
CodeBase: file:///D:/Developer/Projects/CSharp%20Projects/uTorrent-Notifier/uTorrent%20Notifier/bin/Release/Newtonsoft.Json.Net20.DLL
LinqBridge
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/LinqBridge/1.0.0.0__c2b14eb747628076/LinqBridge.dll
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.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:
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.