Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Crash when typing in UltraComboEditor
posted
We're getting a fairly regular crash when using the UltraComboEditor.  The error seems to happen when you select the combo box and then hit letter keys to select items in the list.  We have DropDownStyle set to DropDownList and DropDownListWidth set to -1, other than that we took all the defaults.  Here is the stack trace that we're getting:
 
System.NullReferenceException: Object reference not set to an instance of an object.
   at Infragistics.Win.ValueListItem.DoesTextMatch(String testString, Boolean partial)
   at Infragistics.Win.ValueListItemsCollection.GetItemFromDisplayText(Int32& lastValueListIndex, String displayText, Int32 beginAtIndex, Boolean partial)
   at Infragistics.Win.ValueList.Infragistics.Win.IValueList.GetValue(String text, Int32& index, Int32 beginAtIndex, Boolean partial)
   at Infragistics.Win.EditorWithCombo.ProcessAlphaNumericChar(Char keyChar)
   at Infragistics.Win.EditorWithCombo.OnOwnerKeyPress(KeyPressEventArgs e)
   at Infragistics.Win.EmbeddableEditorBase.ProcessOwnerKeyPress(Object sender, KeyPressEventArgs e)
   at Infragistics.Win.EmbeddableEditorOwnerBase.RaiseKeyPress(KeyPressEventArgs e)
   at Infragistics.Win.UltraWinEditors.UltraComboEditor.OnKeyPress(KeyPressEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
Parents
  • 37774
    posted

    I wasn't able to reproduce this issue using an UltraComboEditor with a few items added to it, the DropDownStyle set to DropDownList, and the DropDownWidth set to -1 (which didn't seem to do anything).  Are there any other conditions that you have to reproduce this issue?  The first thing that I would recommend is that you have the latest hotfix to see if that fixes anything.

    -Matt

Reply Children