laptop and a wrench

Bug

IArea.Centroid returns COMException on ArcGIS Desktop 10 SP3 and SP5.

Last Published: February 2, 2016 ArcGIS for Desktop
Bug ID Number NIM086321
SubmittedNovember 7, 2012
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.0
Program languageVBA
StatusNon-Reproducible

Additional Information

This is a retired product. The issue is non-reproducible in the latest build. If this issue persists, please contact Esri Technical Support.

Workaround

To avoid this error, follow the below steps:1. Once the machine is upgraded to 10 SP5, export the SDE feature class to a file geodatabase.2. Import it back to SDE and run the same code. There will not be any error and the program will provide the centroid values. This is mainly done to correct the geometry errors in the feature class.

Steps to Reproduce

Bug ID: NIM086321

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options