MDS2012:MDS throw System.NullReferenceException when try to add a new member. - by Lei Lu

Status : 


Sign in
to vote
ID 788465 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 5/23/2013 12:34:29 AM
Access Restriction Public


1. Open MDS->explorer a model.
2. Open a Entity.
3. Click Add Member several times.
MDS throw System.NullReferenceException: Object reference not set to an instance of an object.
If the Code is auto-generated, so user can add member continuously without  clicking “Ok”.
So for this bug, if the user continuous to Click ‘Add Member’ button, “OnEntityMembersCreateCompleted” will throw NullReferenceException.
“System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.MasterDataServices.Client.ViewModel.MasterData.EntityMembersViewModel.GetNewMember(Guid requestId, EntityMembersCreateResponse response, Exception ex)
   at Microsoft.MasterDataServices.Client.ViewModel.ServiceProxy.ServiceClient.<>c__DisplayClass16`2.<ExecuteRequest>b__15(Object sender, RequestCompletedEventArgs`1 e)
   at Microsoft.MasterDataServices.Client.ViewModel.ServiceProxy.ServiceClient.OnEntityMembersCreateCompleted(Object state)”
Sign in to post a comment.
Posted by Microsoft on 7/2/2013 at 12:27 PM
Hello Lei. Thanks for the feedback. We triaged this issue and at this time do not plan to address this in a future version of SQL Server. The suggestion will be saved for consideration with future releases.

-Walter A Jokiel, Program Manager, SQL Server (