Error: “ArgumentNullException: Value cannot be null.Parameter name: source” after completing event registration using payment 2.0 part.

When registering for an event that uses the payment 2.0 part the below error is generated after completing payment.
[ArgumentNullException: Value cannot be null.
Parameter name: source]
   System.Linq.Enumerable.Count(IEnumerable`1 source) +360
   Blackbaud.Web.Content.Core.Event2.HelperFunctions.GetAttributeStringFromAttributeOptions(AttributeInformation[] attrInfo, PreferenceInformation[] prefInfo) +733
   Blackbaud.Web.Content.Core.Data.EventTransaction.BuildFullEventDetailsBlock() +7340
   Blackbaud.Web.Content.Core.Data.EventTransaction.GetFieldById(Int32 fieldid, Int32 AttributeID) +5324
   Blackbaud.Web.Content.Core.Controls.MergeField.get_Text() +731
   System.Web.UI.WebControls.Label.RenderContents(HtmlTextWriter writer) +74
   System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +50
   Blackbaud.Web.Content.Core.Controls.MergeField.Render(HtmlTextWriter writer) +192
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +247
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   Blackbaud.Web.Content.Core.Data.BBEC.ShoppingCart.EventItem.BuildAcknowledgementInternal(Page page, Boolean forEmail) +483
   Blackbaud.AppFx.ContentManagement.Parts.ShoppingCart.UI.CartDisplay.GetAcknowledgementBlocks(Boolean forEmail) +318
   Blackbaud.AppFx.ContentManagement.Parts.ShoppingCart.UI.CartDisplay.CreateAndCacheMergeData() +80
   Blackbaud.AppFx.ContentManagement.Parts.ShoppingCart.UI.CartDisplay.get_MergeData() +79
   Blackbaud.AppFx.ContentManagement.Parts.ShoppingCart.UI.CartDisplay.ProcessBillingInformation() +1635
   Blackbaud.AppFx.ContentManagement.Parts.ShoppingCart.UI.CartDisplay.DataBindViewConfirmation() +2586
   Blackbaud.AppFx.ContentManagement.Parts.ShoppingCart.UI.CartDisplay.DataBindActiveView(View view) +296
   Blackbaud.AppFx.ContentManagement.Parts.ShoppingCart.UI.CartDisplay.LoadPart() +309
   Blackbaud.AppFx.ContentManagement.Parts.ShoppingCart.UI.CartDisplay.Page_Load(Object sender, EventArgs e) +148
   System.Web.UI.Control.OnLoad(EventArgs e) +103
 
We’re currently evaluating this issue for a fix in a future service pack.
 

Steps to Duplicate

1. Create or use an event registration form that utilizes a payment 2.0 part.
2. Register for the event for a single registrant.
3. Proceed to payment and pay.
4. Observer runtime error when completing payment.
 

Environment

 4.0.178.0

Was this article helpful?