Re: 'System.NullReferenceException' occurred - WeOnlyDo Discussion board

Re: 'System.NullReferenceException' occurred (General questions)

by cdrundles, Monday, April 14, 2008, 19:21 (6066 days ago) @ woddrazen

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: