Hello,We are using InfragisticsWPF4.v15.2.dll controls where are geting error "IndexOutOfRangeException", Our use case is similar to "https://www.infragistics.com/community/forums/t/108559.aspx", but in this thread we are not geting the details about in which version this issue is fixed.
We even tried upgrading to v16.1, there also we are geting the same issue. at Infragistics.Collections.SparseArray.ValidateIndex(Int32 index) in c:\P6Client\Ananke\ThirdParty\Infragistics\src15.2\Windows\Helpers\SparseArray.cs:line 2664 at Infragistics.Collections.SparseArray.SetItemHelper(Int32 index, Object item, Boolean performingAdd) in c:\P6Client\Ananke\ThirdParty\Infragistics\src15.2\Windows\Helpers\SparseArray.cs:line 2686 at Infragistics.Windows.DataPresenter.DataRecordsSynchronizer.Process_CollectionChangedWhenAsyncResetPending(Object sender, NotifyCollectionChangedEventArgs e) in c:\P6Client\Ananke\ThirdParty\Infragistics\src15.2\DataPresenter\VirtualData\DataPresenterVirtualData.cs:line 1710 at System.Collections.ObjectModel.ReadOnlyObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs args) at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e) at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item) at MS.Internal.Data.CollectionViewGroupRoot.AddToSubgroups(Object item, LiveShapingItem lsi, CollectionViewGroupInternal group, Int32 level, Boolean loading) at System.Windows.Data.ListCollectionView.PrepareGroups() at System.Windows.Data.ListCollectionView.PrepareLocalArray() at System.Windows.Data.ListCollectionView.RefreshOverride() at System.Windows.Data.CollectionView.RefreshInternal() at Primavera.Venus.TSLD.ViewModels.TSLDOptionsViewModel.b__474_0() in C:\P6Client\Ananke\Venus\Primavera.Venus.TSLD\ViewModels\TSLDOptionsViewModel.cs:line 2660 at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout) at System.Windows.Threading.Dispatcher.Invoke(Action callback) at Primavera.Venus.TSLD.ViewModels.TSLDOptionsViewModel.RefreshFilterSource() in C:\P6Client\Ananke\Venus\Primavera.Venus.TSLD\ViewModels\TSLDOptionsViewModel.cs:line 2658 at Primavera.Venus.TSLD.ViewModels.TSLDOptionsViewModel.FilterDictionary_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) in C:\P6Client\Ananke\Venus\Primavera.Venus.TSLD\ViewModels\TSLDOptionsViewModel.cs:line 105 at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e) at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e) at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item) at Primavera.Venus.TSLD.ViewModels.TSLDOptionsViewModel.d__453.MoveNext() in C:\P6Client\Ananke\Venus\Primavera.Venus.TSLD\ViewModels\TSLDOptionsViewModel.cs:line 2372--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at Primavera.Venus.TSLD.ViewModels.TSLDOptionsViewModel.<<-ctor>b__0_0>d.MoveNext() in C:\P6Client\Ananke\Venus\Primavera.Venus.TSLD\ViewModels\TSLDOptionsViewModel.cs:line 67
Hello Neeraj,
Thank you for contacting Infragistics. The fix, from the forum post you provided, was implemented in version 16.2 and later. I recommend installing version 17.2, which just released. You may download the trial here,
https://www.infragistics.com/products/wpf
Let me know if you have any questions or concerns.
Thank You.
We can upgrade the Infragistics version in our new/subsequent releases. Since we cannot upgrade the Infragistics on our released product versions, we would like this fix to be backported to version 15.2.
We do have access to Infragistics 15.2 source code, we are even fine in getting the code piece needs to be included to fix this issue.
Would appreciate your help.
I've responded to your private case, CAS-188807-B1T4S7. Please update that case if you have any questions.
Sincerely,
Michael Di FilippoAssociate Software DeveloperInfragistics, Inc.www.infragistics.com/support