I got this error message from .NET. It basically means “null pointer”:
Exception: Object reference not set to an instance of an object.
The more I look at it, the more I hate it. Why are there so many words? Who are we trying to impress? What’s an “instance of an object”? Don’t they mean:
Exception: Object reference not set to an instance of a class.
And isn’t “instance of a class” a fancy way to say “object”? So shouldn’t it be:
Exception: Object reference not set to an object.
And what else would it be set to? Can’t we just shorten this to:
Exception: Object reference not set.
Or why don’t we just say what we mean:
Exception: Null object reference.
Or, (heaven forbid):
Exception: Null pointer.
I know, I know, they aren’t pointers, they’re object references. Whatever. Bite me.