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
925
Exception on TreeNode.Clear call
posted

Hi,

We've upgrade recently the project from Infragistics v16.2 to v18.2 and during testing we discovered that one functionality is not working. After long analysis I figure out that this functionality was working with older version but it got broken after update.

Unfortunately I cannot provide more specific details since creating a reproduction problem might not be simple due it involves a lot of actions.

Here is a stack trace:

  InfragisticsWPF.Controls.Menus.XamDataTree.dll!Infragistics.Controls.Menus.NodesManager.DataManager_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) Unknown
  InfragisticsWPF.DataManager.dll!Infragistics.DataManagerBase.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs e) Unknown
  InfragisticsWPF.DataManager.dll!Infragistics.DataManagerBase.OnDataSourceCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs e) Unknown
  InfragisticsWPF.DataManager.dll!Infragistics.DataManager<Eaf.Client.Mango.Navigation.Base.TreeItemViewModel>.OnDataSourceCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs e) Unknown
  InfragisticsWPF.DataManager.dll!Infragistics.DataManagerBase.SetDataSource.AnonymousMethod__206_0(Infragistics.DataManagerBase instance, object s, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) Unknown
  InfragisticsWPF.dll!Infragistics.WeakEventHandler<Infragistics.DataManagerBase, System.Collections.Specialized.INotifyCollectionChanged, System.Collections.Specialized.NotifyCollectionChangedEventArgs>.OnEvent(object source, System.Collections.Specialized.NotifyCollectionChangedEventArgs eventArgs) Unknown
  System.dll!System.Collections.ObjectModel.ObservableCollection<Eaf.Client.Mango.Navigation.Base.TreeItemViewModel>.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs e) Unknown
  System.dll!System.Collections.ObjectModel.ObservableCollection<System.__Canon>.ClearItems() Unknown
  mscorlib.dll!System.Collections.ObjectModel.Collection<XXXXXX.Navigation.Base.TreeItemViewModel>.Clear() Unknown() Unknown