laptop and a wrench

Bug

The renderer.GetSymbol(GeoElement) method returns wrong result with the unique value renderer with multiple fields, if a field contains a null value.

ArcGIS Maps SDK for .NET
Bug ID Number BUG-000157715
SubmittedApril 21, 2023
Last ModifiedOctober 11, 2023
Applies toArcGIS Maps SDK for .NET
Version found200.0
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusIn Product Plan

Workaround

If an attribute has a <no value>, replace it with the “<Null>” text. Example:

if (feature.Attributes["NrofPeople"] == null)

{

  feature.Attributes["NrofPeople"] = "<Null>";

}

var symbol = renderer.GetSymbol(feature);

Steps to Reproduce

Bug ID: BUG-000157715

Software:

  • ArcGIS Maps SDK for .NET

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