My Oracle Support Banner

Error: " Index was outside the bounds of the array" When Searching Filters, Then Removing The Search Criteria, Then Clicking Add (Doc ID 2336886.1)

Last updated on JUNE 04, 2019

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 16.1.6.7 and later
Information in this document applies to any platform.

Symptoms

When attempting to search for a filter in Visualizer, then remove that search, then click 'Add', the following error occurs:

ERROR

Index was outside the bounds of the array.

  at Infragistics.Collections.SparseArray.ValidateIndex(Int32 index)
  at Infragistics.Collections.SparseArray.SetItemHelper(Int32 index, Object item, Boolean performingAdd)
  at Infragistics.Windows.DataPresenter.DataRecordsSynchronizer.Process_CollectionChangedWhenAsyncResetPending(Object sender, NotifyCollectionChangedEventArgs e)
  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.RefreshFilterSource()
  at Primavera.Venus.TSLD.ViewModels.TSLDOptionsViewModel.OnAddFilter()
  at Prism.Commands.DelegateCommandBase.<>c__DisplayClass5_0.b__0(Object arg)
  at Prism.Commands.DelegateCommandBase.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Prism.Commands.DelegateCommandBase.d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
  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)

Assembly Name : Primavera.Visualizer, Version=16.1.6.21203, Culture=neutral, PublicKeyToken=null
Assembly Information : 16.1.6.21203


STEPS

The issue can be reproduced at will with the following steps:
1. Login to Visualizer
2. Go to Timescale Logic Diagram (TSLD)
3. Create a new layout then select 'Options'
4. Go to Filters
3. Search for something. Example:  test
4. Delete search criteria
5. Select 'Add'

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.