laptop and a wrench

Bug

Comparing IMetadata::Metadata to NULL throws E_FAIL when obtained from a corrupt layer.

Last Published: December 17, 2015 No Product Found
Bug ID Number NIM009340
SubmittedMay 25, 2007
Last ModifiedApril 2, 2025
Applies toNo Product Found
Version found9.2
Program languageVBA
StatusNon-Reproducible

Additional Information

This defect is closed as non-reproducible as the steps/data needed to reproduce this issue are no longer available. If your client has a reproducible case on a supported configuration, please work with a Tech Assist to reopen and edit this defect.

Workaround

Add custom logic and error handling to detect when this operation throws the exception and, therefore, detect that the layer is invalid.

Steps to Reproduce

Bug ID: NIM009340

Software:

  • No Product Found

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