Error: "Object reference not set to an instance of an object". When undeleting and generating Signup Transaction for a User Record

When attempting to re-link a BBIS User record with a CRM Constituent record, by deleting and then undeleting and transmitting a sign-up transaction to CRM, the following error is received:

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:
 
[NullReferenceException: Object reference not set to an instance of an object.]
   Blackbaud.Web.Content.Core.User.GenerateSignupRequest(ShelbyConstituent oConstit, OriginInformation oOriginInformation, SignupSourceType eSource, Int32 ConstituentCodeID) +337
   Blackbaud.Web.Content.Core.User.CreateSignup(SignupSourceType eSignupSourceType) +489
   Blackbaud.Web.Content.Core.User.Undelete(UndeleteType eUndeleteType) +268
   Blackbaud.Web.Content.Portal.UserEditor.ServerValidate(ServerValidationInfo ValidationInfo) +856
   Blackbaud.Web.Content.Portal.Template6.CustomValidator1_ServerValidate(Object source, ServerValidateEventArgs args) +62
   System.Web.UI.WebControls.CustomValidator.OnServerValidate(String value) +172
   System.Web.UI.WebControls.BaseValidator.Validate() +102
   System.Web.UI.Page.Validate(String validationGroup) +133
   Blackbaud.Web.Content.Portal.BBPage.Validate(String validationGroup) +15
   Blackbaud.Web.Content.Portal.BBPage.ValidateGroup(String ValidationGroup) +283
   Blackbaud.Web.Content.Portal.UserEditor.RaisePostBackEvent(String eventArgument) +479
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3803
Download and install the latest version. (and hotfix, if applicable)

Steps to Duplicate

  1. Login to BBIS as a Supervisor User
  2. Go to Users & security > Users
  3. Delete a User Record 
 **Note the Name and Login to search for this record
  1. Search for User that was deleted in 3 above by marking the checkbox "Deleted"
  2. Click the link for "undelete and generate a sign-up transaction"
  3. The following error is received: "Object reference not set to an instance of an object."

Environment

 Blackbaud Internet Solutions
 3.0
 4.0

Was this article helpful?