Hi Christian,
I agree with Roland, please check during debugging how it is processed. I expect that the exception X_MESSAGE is raised in method READ of Class (i.e. the referenced object) CL_RSDRI_INFOPROV. You must be able to find an explanation here.
Best regards,
Sander