We can't help based on that little information.
Run your application in the debugger, and it should stop on the offending line. Have a quick look at the objects involved, and the null instance should be pretty obvious. Fixing it, however, is down to your code!
