Message SAP W_CB107 - Casting error. Application object does not refer to class &1

W_CB107 : Casting error. Application object does not refer to class &1