Re: 'System.NullReferenceException' occurred (General questions)
Thank you for your help!
It turned out that I had suscribed to thread and .NET exceptions which caused the debugger to give the impression that the null reference was coming from the constructor when in fact the exception happened later in the code. Removing the exception subscriptions allowed me to see where the exception was really coming from.
Complete thread:
- 'System.NullReferenceException' occurred in WeOn - cdrundles, 2008-04-09, 17:32
- Re: 'System.NullReferenceException' occurred - woddrazen, 2008-04-09, 18:27
- Re: 'System.NullReferenceException' occurred - cdrundles, 2008-04-09, 23:22
- Re: 'System.NullReferenceException' - woddrazen, 2008-04-09, 23:33
- Re: 'System.NullReferenceException' occurred - cdrundles, 2008-04-10, 00:13
- Re: 'System.NullReferenceException' - woddrazen, 2008-04-10, 08:39
- Re: 'System.NullReferenceException' occurred - cdrundles, 2008-04-14, 19:21
- Re: 'System.NullReferenceException' - woddrazen, 2008-04-10, 08:39
- Re: 'System.NullReferenceException' occurred - cdrundles, 2008-04-10, 00:13
- Re: 'System.NullReferenceException' - woddrazen, 2008-04-09, 23:33
- Re: 'System.NullReferenceException' occurred - cdrundles, 2008-04-09, 23:22
- Re: 'System.NullReferenceException' occurred - woddrazen, 2008-04-09, 18:27