at which point ur getting this error??
Reasons for this error : whenever an object is not found or cannot be accessed.
ex:
datatable dt = new datatable();
dt = null;
var a = dt.rows[0][0].tostring();
there are lot of instances like this where ull get this error.