Question

Photo of Davey Blackburn

0

Adding or Editing People Info - Object Reference Error

Beginning a few days ago when we try to add or edit info for a household we receive this error notification (see Exception Log below). Please advise as to what we should do to fix this. Thank you!!

 

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.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.themes_rock_layouts_fullwidth_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\4b231487\ee975df1\App_Web_fullwidth.aspx.b957ec3c.sv-vdmy6.0.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

- NullReferenceException in Rock

Message
Object reference not set to an instance of an object.

Stack Trace

   at Rock.Web.UI.Controls.AddressControl.<>c__DisplayClass14.b__c(DefinedValueCache v)
   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.d__0.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Rock.Web.UI.Controls.AddressControl.BindStates(String country)
   at Rock.Web.UI.Controls.AddressControl.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at Rock.Web.UI.Controls.AddressControl.get_ValidationGroup()
   at Rock.Web.UI.RockBlock.SetValidationGroup(ControlCollection controls, String validationGroup)
   at Rock.Web.UI.RockBlock.SetValidationGroup(ControlCollection controls, String validationGroup)
   at Rock.Web.UI.RockBlock.SetValidationGroup(ControlCollection controls, String validationGroup)
   at Rock.Web.UI.RockBlock.SetValidationGroup(ControlCollection controls, String validationGroup)
   at Rock.Web.UI.RockBlock.OnLoad(EventArgs e)
   at RockWeb.Blocks.Crm.PersonDetail.AddFamily.OnLoad(EventArgs e) in e:\hostingspaces\resonate\myresonateindy.com\wwwroot\Blocks\Crm\PersonDetail\AddFamily.ascx.cs:line 140
   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 includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  • Jeremy Turgeon

    Hey Davey, can you provide the version of Rock you're running, the hosting provider, server and SQL versions and any other relevant info (is this an international address, are all records experiencing the issue, etc.)

  • Mike Peterson

    Does Clearing the Cache fix this issue? It looks like it might be getting an error when loading the Information for States.

  • Photo of Mike Peterson

    2

    To clear the cache, be logged into Rock as an Admin and you'll see the admin bar at the bottom right.  Cick on the information icon (as shown) and you'll see a Clear Cache button come up.

     

    clearcache.png

  • Photo of Davey Blackburn

    1

    Thank you! Clearing the Cache seems to have worked!!

  • Photo of Davey Blackburn

    0

    Hey Jeremy,

    Absolutely. we're running the most recently updated version of Rock, using Arvixe's BusinessClass ASP Plan as hosting provider, SQL Server 2012, all records are experiencing this issue, all users are also experiencing this issue (we have 3-4 different people who have tried to update info and have received the same error).

    Let me know if there is any other info that would be helpful! Thank you, Jeremy!

  • Photo of Davey Blackburn

    0

    Hey Mike, how do I go about clearing the cache?