I often get error #1009 when calling a function for a link. In may situations the object is not a null reference, it is there. How can I fix this?

Thanks in advance,
D