Trying to troubleshoot an error. Can you please tell me what would cause this error?
Application will shutdown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Infragistics.Windows.DataPresenter.RecordPresenter.InitializeIsAlternate()
at Infragistics.Windows.DataPresenter.DataItemPresenter.GetIsAlternate()
at Infragistics.Windows.DataPresenter.DataItemPresenter.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at Infragistics.Windows.DataPresenter.CellValuePresenter.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.TreeWalkHelper.InvalidateTreeDependentProperty(TreeChangeInfo info, DependencyObject d, FrameworkObject& fo, DependencyProperty dp, FrameworkPropertyMetadata fMetadata, Style selfStyle, Style selfThemeStyle, ChildRecord& childRecord, Boolean isChildRecordValid, Boolean hasStyleChanged, Boolean isSelfInheritanceParent)
at System.Windows.TreeWalkHelper.InvalidateTreeDependentProperties(TreeChangeInfo info, FrameworkElement fe, FrameworkContentElement fce, Style selfStyle, Style selfThemeStyle, ChildRecord& childRecord, Boolean isChildRecordValid, Boolean hasStyleChanged, Boolean isSelfInheritanceParent)
at System.Windows.FrameworkElement.InvalidateTreeDependentProperties(TreeChangeInfo parentTreeState, Boolean isSelfInheritanceParent)
at System.Windows.FrameworkElement.OnAncestorChangedInternal(TreeChangeInfo parentTreeState)
at System.Windows.TreeWalkHelper.InvalidateOnTreeChange(FrameworkElement fe, FrameworkContentElement fce, DependencyObject parent, Boolean isAddOperation)
at System.Windows.FrameworkElement.ChangeLogicalParent(DependencyObject newParent)
at System.Windows.FrameworkElement.AddLogicalChild(Object child)
at Infragistics.Windows.DataPresenter.VirtualizingDataRecordCellPanel.AddChild(FrameworkElement child)
at Infragistics.Windows.DataPresenter.VirtualizingDataRecordCellPanel.CreateCellElement(Int32 index, Field field, Boolean useCellPresenter, Nullable`1 isMouseOverCellArea)
at Infragistics.Windows.DataPresenter.VirtualizingDataRecordCellPanel.ReuseCellElements(IList`1 newVirtFields, IList`1 newNonVirtFields)
at Infragistics.Windows.DataPresenter.VirtualizingDataRecordCellPanel.VerifyFieldLists()
at Infragistics.Windows.DataPresenter.VirtualizingDataRecordCellPanel.OnScrollVersionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.ScheduleTransfer(Boolean isASubPropertyChange)
at MS.Internal.Data.ClrBindingWorker.NewValueAvailable(Boolean dependencySourcesChanged, Boolean initialValue, Boolean isASubPropertyChange)
at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
at MS.Internal.Data.PropertyPathWorker.OnDependencyPropertyChanged(DependencyObject d, DependencyProperty dp, Boolean isASubPropertyChange)
at MS.Internal.Data.ClrBindingWorker.OnSourceInvalidation(DependencyObject d, DependencyProperty dp, Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
at System.Windows.Data.BindingExpressionBase.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
at System.Windows.Data.BindingExpression.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
at System.Windows.DependentList.InvalidateDependents(DependencyObject source, DependencyPropertyChangedEventArgs sourceArgs)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at Infragistics.Windows.DataPresenter.DataPresenterBase.ProcessPostedRecordsInViewChanged(Object param)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
--- End of inner exception stack trace ---
Hello,
To determine what's going on I'll need to know which volume release for WPF you are using. Eg. 15.2 and the root cause of the issue. A sample and steps to reproduce the behavior would also be of some help to determine the issue.
That's just it, it's hard to reproduce and we have a user who is getting this error sporadically. I just need a general idea of what to look for to try and reproduce it. If you could just give me some ideas of what might cause this issue that's what I'm looking for. It's version 13.1.20131.2336. It's happening when we select field chooser to add a field, as soon as we add a field it is throwing this error.
I have created case for you with ID CAS-169592-Y0M6K4. You could reach your case following the link bellow:
https://es.infragistics.com/my-account/support-activity I've already responded via the mentioned case, so if you have any further questions or comments please update me there.
The fix for development issue 213827 which was logged for this issue is available in the latest service release which can be downloaded from the My Keys and Downloads page.