I have a editable autocomplete combo bound to an IEnumerable under the current 2014.1 version.Everything works fine.. however after I change the value three times by selecting different values in the combo I get this error:
System.NullReferenceException: "Object reference not set to an instance of an object." at MS.Internal.XcpImports.CheckHResult(UInt32 hr) at MS.Internal.XcpImports.UIElement_Measure(UIElement element, Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at Infragistics.Controls.Editors.ComboEditorBase`2.InvalidateDropDownPosition(Boolean adjustHeight) at Infragistics.Controls.Editors.ComboEditorBase`2.DataManager_DataUpdated(Object sender, EventArgs e) at Infragistics.DataManagerBase.OnDataUpdated() at Infragistics.DataManager`1.ApplyClientDataManipulations(Boolean setSortedFilteredDataSource) at Infragistics.DataManager`1.ResolveFilteredSortedPagedDataSource() at Infragistics.DataManagerBase.InvalidateSortedFilterdDataSource() at Infragistics.DataManagerBase.ClearCachedDataSource(Boolean invalidateTotalRowCount) at Infragistics.DataManager`1.ClearCachedDataSource(Boolean invalidateTotalRowCount) at Infragistics.DataManagerBase.set_Filters(RecordFilterCollection value) at Infragistics.Controls.Editors.ComboEditorBase`2.SearchAndFilterItemsByText(String text, Boolean performAutoComplete) at Infragistics.Controls.Editors.ComboEditorBase`2.ProcessEditorText(Boolean allowDropDown, Boolean attemptAutoComplete) at Infragistics.Controls.Editors.ComboEditorBase`2.ProcessEditorText(Boolean allowDropDown) at Infragistics.Controls.Editors.ComboEditorBase`2.Editor_LostFocus(Object sender, RoutedEventArgs e) at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args) at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
Hello Greg,
Thank you for your post!
I have been looking into your issue and have created a small sample application to test the functionality you have mentioned and I was not able to reproduce the issue.
Currently the XamComboEditor supports collections of type IEnumerabe with complex properties. For example ObservableCollection<Person>.
I am attaching the sample application I have been testing with for your reference. Would you please modify it with the functionality you are using, so it reproduces the issue. This way I would be able to further investigate this issue for you.
Thank you for the cooperation. Looking forward to hearing from you.
It's probably that I'm not implementing the complex properties. I found the error message really confusing though.
I have since switched to the standard Silverlight combobox which seems to work ok with the same collection.
Maybe I will revisit this in the future if the standard combobox doesn't suit my needs.
Thank you for your help,
Greg
For the second error, I got an error relating to loading the records that looked like it might be related to WCF RIA. I set it back to static resource today to get the error message for you and it works perfectly now. I have no idea why.Maybe something changed slightly in my code.I still get the first error even with the static resource binding however today I have to change the value of the combo box 7 or 8 times instead of 3 to get the error.
I have been looking into your issue. Would you please modify the sample application “Combo_Binding”, that I have attached in my first post, with the functionality you are using, so the sample application reproduces the issue you have mentioned.
This way I would be able to further investigate the issue for you and provide you with further support.
I am just checking if you have any further questions on this matter. Please do not hesitate to let me know if you do.
Hi,
We have also encountered the same exception. We are using XamComboEditor control bound to an ObservableCollection. The exception appears to get triggered after several times of typing in text to filter the list.
As temporary workaround, we've disabled filtering (AllowFiltering = False) on this control, and no exceptions so far.
Cheers,
-Lyndon
Thanks for the workaround. In the instance where I was experiencing the error I was able to get by with a regular combobox.
However, I am using this control in several projects which may or may not develop the same problem now that I've upgraded.
If there is a way to notify me when the service release comes out for this please do.
Hello Igor,
I have been looking into your post!
The latest service release for Silverlight for Infragistics 14.1 version is - 2083. This is why what I can suggest is to try to update your project to the latest version of Infragistics controls - 14.1.20141.2083.
Please do not hesitate to let me know if you have any further questions on this matter.
The issue is still present (SL 14.1.20141.2009). It is very annoying as it crashes whole SL application.
When can we expect a fix for this issue?
The recently published Service release fixed this issue.
Great! Thank you.
I have been looking into your question. On our web site you would be able to find a schedule for the future service releases. Here is a link for the schedule: https://ko.infragistics.com/support/service-releases.