Have you checked the result of the getter method?
Is it the pointer you expect?

Cheers,
_