Problem: Merging features with inconsistent geometry may cause ArcMap to fail


The Merge command may cause ArcMap to fail if one or more of the features to be merged have inconsistent geometry.


Features may contain inconsistent shapes when constructed programmatically. When the Merge command tries to combine inconsistent shapes, it may cause ArcMap to exit.

Solution or Workaround

If the data is in a shapefile, you can use the 'Export and Clean Shapefile' developer sample to correct any features with inconsistent geometry. You can download this sample from the ArcObjects Online site. Click the link in Related Information and do a Quick Search.

Related Information