not a great catchObject reference not set to an instance of an object.

Crash!

Sorry, about that. I told people that "should" know what they are doing about the problem.
Try this.