Question

Photo of Silvia Daniel

0

Business and Churches page not loading

Hi All,

When i click on the Finance/Administration/Business and Churches i am getting the following error.

Exception Log:

NullReferenceException in App_Web_moneqj5s

Message

Object reference not set to an instance of an object.

Stack Trace

   at RockWeb.Blocks.Finance.BusinessList.lAddress_DataBound(Object sender, RowEventArgs e)

   at Rock.Web.UI.Controls.RockLiteralField.HandleOnDataBound(Object sender, RowEventArgs e)

   at System.Web.UI.Control.OnDataBinding(EventArgs e)

   at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)

   at System.Web.UI.Control.DataBindChildren()

   at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)

   at System.Web.UI.Control.DataBindChildren()

   at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)

   at System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource)

   at System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding)

   at Rock.Web.UI.Controls.Grid.CreateChildControls(IEnumerable dataSource, Boolean dataBinding)

   at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)

   at System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data)

   at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)

   at RockWeb.Blocks.Finance.BusinessList.BindGrid()

   at RockWeb.Blocks.Finance.BusinessList.OnLoad(EventArgs e)

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Page.ProcessRequestMain(Boolean incl

Capture.PNG

  • Photo of Chris Funk

    0

    There is a bug in Rock version 9.3 and version 9.4 (https://github.com/SparkDevNetwork/Rock/issues/3984) that will cause the Business List block to throw an exception/error if you have a business record in your database that does not have an address.  There is a fix in place for 9.5, but no release date has been announced. 
  • Photo of Silvia Daniel

    0

    Thank you so much