MDS2012:MDS throw System.ArgumentOutOfRangeException. - by Lei Lu

Status : 

  Not Reproducible<br /><br />
		The product team could not reproduce this item with the description and steps provided.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


2
0
Sign in
to vote
ID 788466 Comments
Status Closed Workarounds
Type Bug Repros 2
Opened 5/23/2013 12:41:09 AM
Access Restriction Public

Description

1. Open  MDS 2012 UI.
2. Select a model ->then a Entity
3. Click Add member and don't Click OK button
4. Click the Page down 
 
Actual Results:

MDS is crash.

 
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at System.Collections.ObjectModel.Collection`1.get_Item(Int32 index)
   at Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView`1.GetEnumerator()
   at System.Windows.Controls.DataForm.get_ItemsCount()
   at System.Windows.Controls.DataForm.SetCanMoveToLastItem()
   at System.Windows.Controls.DataForm.SetAllCanProperties()
   at System.Windows.Controls.DataForm.SetIsItemValid()
   at System.Windows.Controls.DataForm.GenerateUI(Boolean clearEntityErrors, Boolean swapOldAndNew)
   at System.Windows.Controls.DataForm.OnCurrentItemPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
   at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
   at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
   at System.Windows.Controls.DataForm.UpdateCurrentItem()
   at System.Windows.Controls.DataForm.<SetUpCollectionView>b__8(DataForm instance, Object source, EventArgs eventArgs)
   at System.Windows.Controls.WeakEventListener`3.OnEvent(TSource source, TEventArgs eventArgs)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView`1.OnCurrentChanged()
   at Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView`1.MoveCurrentToPosition(Int32 position)
   at Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView`1.MoveCurrentTo(Object item)
   at Microsoft.MasterDataServices.Client.ViewModel.MasterData.EntityMembersViewModel.set_SelectedItem(Member value)
   at Microsoft.MasterDataServices.Client.ViewModel.Common.ItemsBase`2.ReloadItems()
   at Microsoft.MasterDataServices.Client.ViewModel.MasterData.EntityMembersViewModel.EntityMembers_RefreshNeeded(Object sender, EventArgs e)
   at Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView`1.Refresh()
   at Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView`1.MoveToPage(Int32 pageIndex)
   at Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView`1.MoveToNextPage()
   at System.Windows.Controls.DataPager.PageMoveHandler(Int32 oldPageIndex, Int32 newPageIndex, PageMoveOperationDelegate pageMoveOperation)
   at System.Windows.Controls.DataPager.OnNextPageButtonBaseClick(Object sender, RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
Sign in to post a comment.
Posted by Microsoft on 8/22/2013 at 1:24 PM
Hello, Lei. This does not repro on the most recent CU. If you still face this issue after updating, please post here and we will reactivate the item.

-Walter A Jokiel, Program Manager, SQL Server (wajokiel@microsoft.com)
Posted by Microsoft on 7/2/2013 at 12:30 PM
Hello Lei. Thank you for bringing this to our attention. We really do appreciate the feedback. We’ll investigate and get back to you.

-Walter A Jokiel, Program Manager, SQL Server (wajokiel@microsoft.com)