Attempting to Export Registration Payment Reminder Grid Fails with NullReferenceException #6170
Open
2 tasks done
Labels
Status: Confirmed
It's clear what the subject of the issue is about, and what the resolution should be.
Type: Bug
Confirmed bugs or reports that are very likely to be bugs.
Description
When trying to export the grid on the registration payment reminder page, we get a NullReferenceException. I have confirmed this happens in 15.1, 16.6 (our current version), and on the RockSolidChurchDemo site.
Actual Behavior
NullReferenceException in mscorlib
Message
Object reference not set to an instance of an object.
Stack Trace
at System.Object.GetType()
at Rock.Web.UI.Controls.Grid.GetDataSourceObjectType() in \Rock\Web\UI\Controls\Grid\Grid.cs:line 3006
at Rock.Web.UI.Controls.Grid.Actions_ExcelExportClick(Object sender, EventArgs e) in \Rock\Web\UI\Controls\Grid\Grid.cs:line 2413
at Rock.Web.UI.Controls.GridActions.lbExcelExport_Click(Object sender, EventArgs e) in \Rock\Web\UI\Controls\Grid\GridActions.cs:line 696
at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAs
Expected Behavior
The list of persons with outstanding transactions should be exported to Excel.
Steps to Reproduce
Assuming you have event registrations with outstanding payment balances...
Reminders
Issue Confirmation
Rock Version
15.1, 16.6
Client Culture Setting
en-US
The text was updated successfully, but these errors were encountered: