raise if Ptr is empty and a method is called on the obj