Exception in CellRegionsPartitioner

2 posts, 0 answers
  1. Dominic
    Dominic avatar
    17 posts
    Member since:
    May 2012

    Posted 02 Dec 2016 Link to this post

    Hello,

     

    with the last two released version we are getting following exceptions sporadically.

    We have no repro case and do not know when/why they occur. It suddenly happend, when we cahnged the Telerik Asseblies to version >= 2016.3.914.1050.

    It seems to happen when we clear a collection that is bound to a gridview.

    [Arg_ArgumentOutOfRangeException]
    Argumente: 
    Debuggingressourcen-Zeichenfolgen sind nicht verfügbar. Oft enthalten der Schlüssel und die Argumente genügend Informationen zur Diagnose des Problems. Weitere Informationen erhalten Sie unter http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.50428.00&File=mscorlib.dll&Key=Arg_ArgumentOutOfRangeException
    Parametername: count
    StackTrace:
       bei System.Linq.Enumerable.Range(Int32 start, Int32 count)
       bei Telerik.Windows.Controls.GridView.Selection.CellRegionsPartitioner.CalculateAffectedRegions(Pair`2 firstAndLastSelectedIndices, Int32 columnCount)
       bei Telerik.Windows.Controls.GridView.Selection.CellRegionsPartitioner.CalculateAffectedRegions()
       bei Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler.UpdateSelectedCells(IList`1 items, Boolean isSelected)
       bei Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler.UpdateCellSelectionOnSelectedItemsChanged(SelectionChangeEventArgs selectionChangeArgs)
       bei Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler.OnOwnerSelectionChangedDispatch(Object sender, SelectionChangeEventArgs e)

     

    And another one:

     

    [Arg_ArgumentOutOfRangeException]
    Argumente: 
    Debuggingressourcen-Zeichenfolgen sind nicht verfügbar. Oft enthalten der Schlüssel und die Argumente genügend Informationen zur Diagnose des Problems. Weitere Informationen erhalten Sie unter http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.50428.00&File=mscorlib.dll&Key=Arg_ArgumentOutOfRangeException
    Parametername: count
       bei System.Linq.Enumerable.Range(Int32 start, Int32 count)
       bei Telerik.Windows.Controls.GridView.Selection.CellRegionsPartitioner.CalculateAffectedRegions(Pair`2 firstAndLastSelectedIndices, Int32 columnCount)
       bei Telerik.Windows.Controls.GridView.Selection.CellRegionsPartitioner.CalculateAffectedRegions()
       bei Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler.UpdateSelectedCells(IList`1 items, Boolean isSelected)
       bei Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler.UpdateCellSelectionOnSelectedItemsChanged(SelectionChangeEventArgs selectionChangeArgs)
       bei Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler.OnOwnerSelectionChangedDispatch(Object sender, SelectionChangeEventArgs e)
       --- Ende der internen Ausnahmestapelüberwachung ---
       bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       bei System.Delegate.DynamicInvokeImpl(Object[] args)
       bei Telerik.Windows.RadRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       bei Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       bei Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)
       bei Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)
       bei Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)
       bei Telerik.Windows.Controls.GridView.GridViewDataControl.RaiseSelectionChangedEvent(SelectionChangeEventArgs args)
       bei Telerik.Windows.Controls.DataControl.RaiseSelectionChangedEvent(ItemSelectionChange selectionChange)
       bei Telerik.Windows.Controls.DataControl.Telerik.Windows.Data.Selection.ISelectorInternal.RaiseSelectionChangedEvent(ItemSelectionChange selectionChange)
       bei Telerik.Windows.Data.Selection.ItemSelectionHandler.EndAllowedSelection(ItemSelectionChange selectionChange)
       bei Telerik.Windows.Data.Selection.ItemSelectionHandler.EndPendingSelection(ItemSelectionChange pendingSelection)
       bei Telerik.Windows.Data.Selection.ItemSelectionHandler.EndSelection()
       bei Telerik.Windows.Data.Selection.ItemSelectionHandler.SelectJustOneItem(Object item)
       bei Telerik.Windows.Controls.DataControl.SelectedItemChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       bei Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       bei System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       bei System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       bei System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       bei System.Windows.Data.BindingOperations.SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding)
       bei Telerik.Windows.Controls.GridView.GridViewDataControl.LoadData(NotifyCollectionChangedEventArgs args)
       bei Telerik.Windows.Controls.GridView.GridViewDataControl.OnItemsCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
       bei Telerik.Windows.Controls.DataControl.OnItemsCollectionChangedDispatch(Object sender, NotifyCollectionChangedEventArgs e)
       bei System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
       bei Telerik.Windows.Data.DataItemCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       bei Telerik.Windows.Data.DataItemCollection.OnCollectionViewCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
       bei Telerik.Windows.Data.Listener`2.ReceiveWeakEvent(Object sender, TArgs args)
       bei Telerik.Windows.Data.WeakEvent.WeakListener`1.Handler(Object sender, TArgs args)
       bei Telerik.Windows.Data.QueryableCollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
       bei Telerik.Windows.Data.QueryableCollectionView.RefreshOverride()
       bei Telerik.Windows.Data.QueryableCollectionView.RefreshOrDefer()
       bei Telerik.Windows.Data.QueryableCollectionView.ProcessSynchronousCollectionChanged(NotifyCollectionChangedEventArgs args)
       bei Telerik.Windows.Data.QueryableCollectionView.ProcessCollectionChanged(NotifyCollectionChangedEventArgs args)
       bei Telerik.Windows.Data.QueryableCollectionView.OnSourceCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
       bei Telerik.Windows.Data.QueryableCollectionView.Telerik.Windows.Data.IWeakEventListener<System.Collections.Specialized.NotifyCollectionChangedEventArgs>.ReceiveWeakEvent(Object sender, NotifyCollectionChangedEventArgs args)
       bei Telerik.Windows.Data.WeakEvent.WeakListener`1.Handler(Object sender, TArgs args)
       bei System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       bei System.Collections.ObjectModel.ObservableCollection`1.ClearItems()
       bei System.Collections.ObjectModel.Collection`1.Clear()
       bei Bdl.DialogCrm.Silverlight.ViewModels.SelectionWf.SelectionWfViewModel.Dispose()
       bei Bdl.DialogCrm.Silverlight.Core.ViewManagement.Bases.ContainerViewModelBase`1.Reset()
       bei Bdl.DialogCrm.Silverlight.Core.ViewManagement.Bases.ViewModelBase.ResetViewModels()
       bei Bdl.DialogCrm.Silverlight.Core.Security.Authenticator.Logout()
       bei Bdl.DialogCrm.Silverlight.MainPage.Logout()
       bei Bdl.DialogCrm.Silverlight.MainPage.<BtnLogout_Click>b__5(Object s, BDLWindowClosedEventArgs result)
       bei Bdl.DialogCrm.Silverlight.Dialogs.DialogCrmMessageBox.DialogCrmMessageBox_Closed(Object sender, WindowClosedEventArgs e)

     

  2. Yoan
    Admin
    Yoan avatar
    1088 posts

    Posted 05 Dec 2016 Link to this post

    Hi Dominic,

    This exception should be fixed in our latest version. May I ask you to download our latest internal build (LIB) and give it a try?

    Regards,
    Yoan
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top