IRelationshipClass::GetRelationshipsForObjectSet method will crash ArcMap if there are no relationships in the relationship class and the destination table of the relationship is empty.
use ITable::RowCount to determine if destination table is empty, if it is empty, don't execute the IRelationshipClass::GetRelationshipsForObjectSet method.