Question

Photo of Nathan Parikh

0

Rock Exception Notifications

I've been getting multiple emails every couple days about a Rock Exception Notification. Looking through the error I'm not sure what is causing the issue.

As far as I can tell, our Rock installation is working just fine, but obviously something is triggering these exceptions. The error link places a link to a view of one of our groups in the Group Viewer but that page/group seems to be working fine. Any guidance on what is causing this and how to fix it would be appreciated.

The notification emails look like this:

An exception has occurred. Details of this error can be found below:

An error occurred on the Rock RMS site on page: [it places a link here to a view of one of our groups in the Group Viewer]

 

HttpUnhandledException in System.Web

Message
Exception of type 'System.Web.HttpUnhandledException' was thrown.

 

 

 

Stack Trace
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

-ArgumentException in mscorlib

Message
An item with the same key has already been added.

Stack Trace
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Rock.Attribute.Helper.LoadAttributes(IHasAttributes entity, RockContext rockContext)
at Rock.Attribute.Helper.LoadAttributes(IHasAttributes entity)
at Rock.Web.UI.Controls.AttributeField.GetValue(Control controlContainer)
at System.Web.UI.WebControls.BoundField.OnDataBindField(Object sender, 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.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 System.Web.UI.WebControls.DataBoundControl.PerformSelect()
at RockWeb.Blocks.Groups.GroupMemberList.BindGroupMembersGrid()
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 includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

  • Photo of David Leigh

    0

    Nathan,

    From the error message, it looks like this is caused by some kind of conflict in the Group Attributes.

    Does the Group have a Group Type that inherits from another Group Type?
    If so, check all of the Group Types in the inheritance chain and see if there is more than one Attribute that has the same Key.