ROOTR: added handling error in TRObjectProxy