0
Fixed

Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

Anonymous 2 years ago in Studio • updated by Gandalf 2 years ago 1
Email Address : barney.buchan@dev2.co.za

Steps to follow : Was deleting rows in XPath tool by using the right click > Delete Row method. Had done a lot successfully before seeing this.

at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Activities.Presentation.Model.ModelItemCollectionImpl.get_Item(Int32 index)
at Dev2.Activities.Designers2.Core.ActivityCollectionDesignerViewModel`1.GetModelItem(Int32 indexNumber) in C:\Development\Repos\Warewolf-ESB\Dev\Dev2.Activities.Designers\Designers2\Core\ActivityCollectionDesignerViewModel_TDev2TO.cs:line 246
at Dev2.Activities.Designers2.Core.ActivityCollectionDesignerViewModel`1.GetDto(Int32 indexNumber) in C:\Development\Repos\Warewolf-ESB\Dev\Dev2.Activities.Designers\Designers2\Core\ActivityCollectionDesignerViewModel_TDev2TO.cs:line 251
at Dev2.Activities.Designers2.Core.ActivityCollectionDesignerViewModel`1.RemoveAt(Int32 indexNumber) in C:\Development\Repos\Warewolf-ESB\Dev\Dev2.Activities.Designers\Designers2\Core\ActivityCollectionDesignerViewModel_TDev2TO.cs:line 161
at Dev2.Activities.Designers2.Core.ActivityCollectionDesigner`1.DeleteDataGridRow(Object sender, RoutedEventArgs e) in C:\Development\Repos\Warewolf-ESB\Dev\Dev2.Activities.Designers\Designers2\Core\ActivityCollectionDesigner.cs:line 104
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
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)