Possible Duplicate:
How can we tell people that what they need is a debugger?
https://stackoverflow.com/search?q=Object+not+set+to+instance+%5Bc%23%5D
The C# tag gets several questions per week with the title "Object reference not set to instance of object" or "NullReferenceException" and invariably the answer is always either
- This thing is very obviously null, fix it
- or we can't tell, you're just going to have to step through it in your debugger
With the volume of questions that come in for precisely this runtime exception, is it worth showing a system message beforehand that this is a common error and the user should learn to debug? I don't know if you guys have a "common problem -> show message" feature, but if you do, add this. If you don't, add one, and add this.