Hello Developer,
We have observed that after updation of Infragistic version 16.1.20161.1000 to 16.2.20162.1006 our tool occured crashing. Crashing is related with control XamDataTree.From our side we simple reinitilize list which contaion objects then we call OnPropertyChanged.Here i have attached details of crashing.So please give us feedback what is wrong.This issue is very critial for our customer.
With Best Regards
Nadeem
System.NullReferenceException HResult=0x80004003 Message=Object reference not set to an instance of an object. Source=InfragisticsWPF.Controls.Menus.XamDataTree StackTrace: at Infragistics.Controls.Menus.Primitives.NodesPanel.RenderNode(XamDataTreeNode node, Double availableWidth) at Infragistics.Controls.Menus.Primitives.NodesPanel.MeasureOverride(Size availableSize) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.ContextLayoutManager.UpdateLayout() at Infragistics.Windows.DataPresenter.DataPresenterBase.BringRecordIntoView(Record record) at Infragistics.Windows.DataPresenter.DataPresenterBase.OnActiveRecordChange(Record newActiveRecord, Boolean scrollIntoView) at Infragistics.Windows.DataPresenter.DataPresenterBase.SetActiveRecord(Record record, Boolean scrollIntoView) at Infragistics.Windows.DataPresenter.DataPresenterBase.OnCoerceActiveRecord(DependencyObject target, Object value) at System.Windows.DependencyObject.ProcessCoerceValue(DependencyProperty dp, PropertyMetadata metadata, EntryIndex& entryIndex, Int32& targetIndex, EffectiveValueEntry& newEntry, EffectiveValueEntry& oldEntry, Object& oldValue, Object baseValue, Object controlValue, CoerceValueCallback coerceValueCallback, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, Boolean skipBaseValueChecks) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) 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.RecordManager.SetActiveRecordFromCurrentItemHelper(DataRecord& dr) at Infragistics.Windows.DataPresenter.RecordManager.SetActiveRecordFromCurrentItem(Boolean calledFromCurrentItemChanged) at Infragistics.Windows.DataPresenter.RecordManager.OnSourceCollectionReset() at Infragistics.Windows.DataPresenter.RecordManager.SetDataSource(IEnumerable currentValue, Boolean postReset) at Infragistics.Windows.DataPresenter.RecordManager.set_DataSource(IEnumerable value) at Infragistics.Windows.DataPresenter.DataPresenterBase.VerifyRecordManagerDataSource() at Infragistics.Windows.DataPresenter.DataPresenterBase.InitializeRecordManagerDataSource() at Infragistics.Windows.DataPresenter.DataPresenterBase.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at Infragistics.Windows.DataPresenter.XamDataGrid.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.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal) at System.Windows.DependencyObject.SetValue(DependencyPropertyKey key, Object value) at Infragistics.Windows.DataPresenter.DataPresenterBase.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at Infragistics.Windows.DataPresenter.XamDataGrid.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.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 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.ClrBindingWorker.OnSourcePropertyChanged(Object o, String propName) at System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType) at System.ComponentModel.PropertyChangedEventManager.OnPropertyChanged(Object sender, PropertyChangedEventArgs args) at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e) at CANDB.OverViewContentControlVM.OnPropertyChanged(PropertyChangedEventArgs e) in D:\Master\OneParam_V10\Subsystems\PumaParam\Application\IoSubSystems\CANDBEditor\CANDBEditor\View\OverViewContentControlVM.cs:line 575 at CANDB.OverViewContentControlVM.set_MessageLayoutView(ICollectionView value) in D:\Master\OneParam_V10\Subsystems\PumaParam\Application\IoSubSystems\CANDBEditor\CANDBEditor\View\OverViewContentControlVM.cs:line 1729 at CANDB.OverViewContentControlVM.GenerateMessageLayout(String messageName, String signame, ICollectionView singnallist) in D:\Master\OneParam_V10\Subsystems\PumaParam\Application\IoSubSystems\CANDBEditor\CANDBEditor\View\OverViewContentControlVM.cs:line 1781 at CANDB.CANSignalVM.set_Message(CANMessageVM value) in D:\Master\OneParam_V10\Subsystems\PumaParam\Application\IoSubSystems\CANDBEditor\CANDBEditor\CANSignalVM.cs:line 188
Hello Nadeem,
There was an issue with the XamDataTree in version 16.2.20162.1006 in which the XamDataTree was not handling initialization of its nodes correctly. This issue was found rather quickly in version 16.2 and has since been fixed.
In order to receive this fix, I would recommend downloading the most recent service release for version 2016.2 and installing it. To do so, you can follow the steps below:
1. View My Keys and Downloads: https://ko.infragistics.com/my-account/keys-and-downloads2. Log in to the Infragistics web site if you are not already logged in.3. Select the product you would like to download a service release for (in this case 2016.2).4. Select the “Service Releases” tab.5. Select the download (e.g. Infragistics Xamarin.Forms 2015 - Service Release)
Please let me know if you have any other questions or concerns on this matter.