laptop and a wrench

Bug

Application crashes when the IPointCollection passed into IDynamicDisplay.DrawPolyline method is created from an IPolygon.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM052375
SubmittedDecember 30, 2009
Last ModifiedApril 2, 2025
Applies toNo Product Found
Version found9.3.1
Program languageC#
Version Fixed10.1
StatusFixed

Additional Information

This issue is no longer reproducible at SP 2. Make sure to call SetEmpty on the pointcollection after drawing.

Workaround

Use Multipoint and geometric collection, geomColl = new MultipointClass(); object missing = Type.Missing; IPointCollection4 pointColl = m_poly as IPointCollection4; for (int i = 0; i < pointColl.PointCount - 1; i++) { geomColl.AddGeometry(pointColl.get_Point(i), ref missing, ref missing); }

Steps to Reproduce

Bug ID: NIM052375

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