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
1240
Reference Exception in ChildDataTrackingInfo.Initialize
posted

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