IRelationshipClass::GetRelationshipsForObjectSet method will crash ArcMap if there are no relationships in the relationship class and the destination table of the relationship is empty.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM003129
Submitted
June 22, 2006
Last Modified
June 5, 2024
Applies to
No Product Found
Version found
9.1
Version Fixed
9.3
Status
Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Workaround
use ITable::RowCount to determine if destination table is empty, if it is empty, don't execute the IRelationshipClass::GetRelationshipsForObjectSet method.