c4i

ESRI.ArcGIS.Client.AdvancedSymbology.ProcessMessage crashes the application

Discussion created by c4i on Jun 18, 2014
Latest reply on Jun 19, 2014 by MBranscomb-esristaff
Steps to Reproduce:
1. Create a message with sic that ends with L--- and LabelRules 434 in the mil2525c esri database's SymbolInfo table (e.g. WO-DMCD----L---).
2. Process the message using ESRI.ArcGIS.Client.AdvancedSymbology.ProcessMessage(message)

Expected Result:
- message is processed

Actual Result:
- Application crashes

Additional Notes:
- Only symbols ending with L--- and with LabelRules 434 has this issue. Other symbols can be processed without issue.
- ArcGIS 10.2

Code Snip:
NOTE: this code snip comes from https://developers.arcgis.com/net/desktop/api-reference/html/M_Esri_ArcGISRuntime_Layers_MessageLayer_ProcessMessage.htm
The only difference is that I've changed the sic and spacial reference.
__________________________________________
using ESRI.ArcGIS.Client.AdvancedSymbology;

MessageLayer layer = new MessageLayer();
layer.SymbolDictionaryType = ESRI.ArcGIS.Client.AdvancedSymbology.SymbolDictionaryType.Mil2525C;
Message message = MessageHelper.CreateMilitaryUpdateMessage("MyStringIdentifier", "position_report", new List<MapPoint> {
new MapPoint(3.22, 53.9) }, new Dictionary<string, string>()
{
    { "sic", "WO-DMCD----L---" }
},
new SpatialReference(102100));
layer.ProcessMessage(message);

Outcomes