laptop and a wrench

Bug

IProximityOperator.ReturnDistance returns an exception when used against a polygon geometry in a multi-threaded ArcObjects application.

Last Published: March 13, 2020 ArcObjects SDK
Bug ID Number BUG-000128948
SubmittedFebruary 26, 2020
Last ModifiedJune 5, 2024
Applies toArcObjects SDK
Version found10.8
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

The geometry library methods do not cause the exception. An ArcObject coclass instance must be created on the thread calling the methods on that instance interfaces. The instance cannot be created on one thread and accessed by another thread. Serialize an instance into a memory blob in one thread, and de-serialize it from the memory blob on another thread, and then call the methods on the de-serialized coclass.

Steps to Reproduce

Bug ID: BUG-000128948

Software:

  • ArcObjects SDK

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