Object Reference not set to an instance of an object
The error message means exactly what it says, you are trying to use an object reference that has not been initialised. But the only person who can fix it is you, since you know how your code works, and can run it in the debugger to find the error.