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

When registering for an event using the Event Registration Form (Classic) part using a payment page with a payment 2.0 part, the below error is generated after completing payment. Note: The error might display as either just "Value cannot be null. Parameter name: source" or the full stack trace.

[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
In the instance reported, the error was caused by the use of the "Full Event Details" merge field on the Event Registration Form (classic) part. Removing the merge field fixed the issue on the payment page's confirmation screen.

Steps to Duplicate

1. Create or use an event registration form (classic) 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.


 Blackbaud Internet Solutions

Was this article helpful?

Thanks for your feedback! Did this solve your issue?

Comments (optional):

Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):

Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.