This question already has an answer here:
I am receiving this error and I'm not sure what it means?
Object reference not set to an instance of an object.
This question already has an answer here:
I am receiving this error and I'm not sure what it means?
Object reference not set to an instance of an object.
Another easy way to get this:
exactly what it says, you are trying to use a null object as if it was a properly referenced object.