GlyphIndices error in EditControl

We installed newest release of Syncfusion last week and some text that displayed fine before now results in this stack trace.
Do you know what might be wrong?

-                              e.Exception        {"The number of elements in this collection must be greater than zero.\r\nParameter name: glyphIndices"}     System.Exception {System.ArgumentException}

+                             Data       {System.Collections.ListDictionaryInternal}          System.Collections.IDictionary {System.Collections.ListDictionaryInternal}

                                HResult -2147024809       int

                                HelpLink               null         string

+                             IPForWatsonBuckets      0x5f31d063         System.UIntPtr

+                             InnerException null         System.Exception

                                IsTransient          false      bool

                                Message              "The number of elements in this collection must be greater than zero.\r\nParameter name: glyphIndices"       string

                                ParamName       "glyphIndices"   string

                                RemoteStackTrace          null         string

                                Source  "PresentationCore"        string

                                StackTrace          "   at System.Windows.Media.GlyphRun.Initialize(GlyphTypeface glyphTypeface, Int32 bidiLevel, Boolean isSideways, Double renderingEmSize, Single pixelsPerDip, IList`1 glyphIndices, Point baselineOrigin, IList`1 advanceWidths, IList`1 glyphOffsets, IList`1 characters, String deviceFontName, IList`1 clusterMap, IList`1 caretStops, XmlLanguage language, TextFormattingMode textFormattingMode)\r\n   at System.Windows.Media.GlyphRun..ctor(GlyphTypeface glyphTypeface, Int32 bidiLevel, Boolean isSideways, Double renderingEmSize, IList`1 glyphIndices, Point baselineOrigin, IList`1 advanceWidths, IList`1 glyphOffsets, IList`1 characters, String deviceFontName, IList`1 clusterMap, IList`1 caretStops, XmlLanguage language)\r\n   at Syncfusion.Windows.Edit.Utils.ConvetTextToGlyph(String text, FontFamily fontFamily, Double fontSize, Point point, Brush foreGround, Boolean isRTL)\r\n   at Syncfusion.Windows.Edit.LanguageBase.OnLineItemRender(LineItem item, DrawingContext context)\r\n   at Syncfusion.Windows.Edit.LineItem.DrawText(DrawingVisual drawingVisual)\r\n   at Syncfusion.Windows.Edit.LineItem.Refresh()\r\n   at Syncfusion.Windows.Edit.LanguageBase.ApplyFormats(LineItem item)\r\n   at Syncfusion.Windows.Edit.LanguageBase.ResetColor(Int32 line)\r\n   at Syncfusion.Windows.Edit.LanguageBase.ResetLine(LineItem item, Boolean updateWordCollectionForAllItems)\r\n   at Syncfusion.Windows.Edit.LineItem.Refresh()\r\n   at Syncfusion.Windows.Edit.EditControl.EditControl_SizeChanged(Object sender, SizeChangedEventArgs e)\r\n   at System.Windows.SizeChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)\r\n   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)\r\n   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)\r\n   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)\r\n   at System.Windows.FrameworkElement.OnRenderSizeChanged(SizeChangedInfo sizeInfo)\r\n   at System.Windows.ContextLayoutManager.fireSizeChangedEvents()\r\n   at System.Windows.ContextLayoutManager.UpdateLayout()\r\n   at System.Windows.UIElement.UpdateLayout()\r\n   at 

7 Replies

UN Unknown Syncfusion Team April 7, 2020 02:23 PM UTC

Hi Steve, 

Thanks for contacting Syncfusion support. 

We are currently analyzing the reported query “Crash occurs in WPF EditControl when updated to latest Syncfusion version” and we will update you tomorrow (April 8, 2020). We appreciate your patience until then. 

Regards, 
Niranjan Kumar 



UN Unknown Syncfusion Team April 8, 2020 01:17 PM UTC

Hi Steve, 

Sorry for the inconvenience. 

We are unable to reproduce the reported issue. Cam you please share the below mentioned details ? It will be really helpful for us to proceed further. 
  1. Font you are using in EditControl and Font in you system.
  2. The version from which you updated to latest version.
  3. Has the exception occurred while performing any operation ?

Regards, 
Niranjan Kumar 



SM Steve McWilliams April 8, 2020 03:42 PM UTC

The font is Segoe UI.

We changed from version 16.3450.0.21  to 18.1460.0.42

This doesn't seem to happen during an operation. Just in displaying.


UN Unknown Syncfusion Team April 9, 2020 01:27 PM UTC

Hi Steve, 

Thanks for your update. 

Currently we are validating the reported query and analyzing the cause of this issue. We will share you the details after complete analysis on April 13,2020. We appreciate your patience until then. 

Regards, 
Niranjan Kumar 



UN Unknown Syncfusion Team April 13, 2020 12:43 PM UTC

Hi Steve, 

Thanks for your patience. 

We have checked the reported query with the details you have shared us , but we are unable to reproduce the issue. So can you please let us know whether you will be available for web meeting ? If so , can you please let us know the date and time you will be available? This will be helpful for us to provide solution at earliest. 

Regards, 
Niranjan Kumar Gopalan  



SM Steve McWilliams April 13, 2020 02:10 PM UTC

The developer and I can be available for meeting tomorrow 4/14 at 2 pm US Eastern time.
Will that be OK for you ?


UN Unknown Syncfusion Team April 14, 2020 07:06 AM UTC

Hi Steve, 

Thanks for your update. 

 We have created a new incident under your Direct trac account for updating the meeting details . We suggest you to follow up with the incident for further updates. Please log in using the below link.  


 Regards, 
Niranjan Kumar Gopalan 


Loader.
Up arrow icon