In Infragistics WPF4, version 20.1.20201.26, we are getting the following unhandled exception:
Outter Exception: "Exception thrown by the destination of a call." at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Delegate.DynamicInvokeImpl(Object[] args) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Inner Exception: "Reference to an object not set to an object instance." at Infragistics.Windows.DataPresenter.ExpandableFieldRecord.ChildDataTrackingInfo.Initialize(DataPresenterBase dp, Boolean bypassAddNewCheck) at Infragistics.Windows.DataPresenter.ExpandableFieldRecord.VerifyChildRecordManager(Boolean alwaysCreateIfEnumerable) at Infragistics.Windows.DataPresenter.ExpandableFieldRecord.GetChildRcdCollection(Boolean alwaysCreateifEnumerable) at Infragistics.Windows.DataPresenter.ExpandableFieldRecord.get_ChildRecordsIfNeeded() at Infragistics.Windows.DataPresenter.Record.get_ViewableChildRecordsIfNeeded() at Infragistics.Windows.DataPresenter.Record.get_HasVisibleChildren() at Infragistics.Windows.DataPresenter.ExpandableFieldRecord.get_HasVisibleChildren() at Infragistics.Windows.DataPresenter.ExpandableFieldRecord.CheckHasChildData() at Infragistics.Windows.DataPresenter.ExpandableFieldRecord.OnDataChanged() at Infragistics.Windows.DataPresenter.DataRecord.RefreshCellValueHelper(Field field, Object cellValue) at Infragistics.Windows.DataPresenter.DataRecord.RefreshCellValue(Field field, Boolean raiseInitializeRecord, Boolean isRecordPresenterDeactivated) at Infragistics.Windows.DataPresenter.RecordManager.ProcessChangeNotification(Object sender, Object eventArgs) at Infragistics.Windows.DataPresenter.RecordManager.ProcessQueuedChangeNotifications(Boolean calledFromDelayedChange) at Infragistics.Windows.DataPresenter.RecordManager.OnDelayedChange()
Any ideas on how to correct this?
Thanks
Dan
Hello Dan,
Is it possible to provide the code snipped, steps to reproduce or a small isolated sample, that would cause this exception to be reproduced?
Also, is this exception getting raised in new code that you were writing or is it caused because of different versions, for example upgrading to a newer version, which may mean that the exception is caused of version mismatch?
Looking forward to hearing from you.
Regards, Ivan Kitanov
Ivan,The exception happens randomly at one of our many customer sites. Unfortunately, we are unable to find the exact steps through which it can be replicated. This is partly because it is not in our code, but yours. Also, it is happening on a thread which is completely out of our control.
The version of code being run is being run at numerous sites, with only one reporting the problem. I looked at the dump and do not see a version mismatch when looking at the loaded assemblies. Dan