Question

Photo of Michael Garrison

0

Exception on a specific financial batch

We are getting an exception today whenever a specific batch summary page is (attempted to be) loaded. Can someone provide a translation for me so I can figure out what is wrong in the database and try to fix it?

 

System.Web (Exception of type 'System.Web.HttpUnhandledException' was thrown.)
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)

App_Web_u1sknmcl (Object reference not set to an instance of an object)
at RockWeb.Blocks.Finance.BatchDetail.b__d(<>f__AnonymousType2`2 c)
   at System.Linq.Lookup`2.Create[TSource](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at System.Linq.GroupedEnumerable`3.GetEnumerator()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.d__0.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at RockWeb.Blocks.Finance.BatchDetail.ShowReadonlyDetails(FinancialBatch batch)
   at RockWeb.Blocks.Finance.BatchDetail.ShowDetail(Int32 batchId)
   at RockWeb.Blocks.Finance.BatchDetail.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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

  • Photo of David Turner

    0

    Looks like there's an issue with the new Currency Summary information displayed on the batch summary page that will result in that exception if the batch contains any transactions without a currency type. We'll work on getting that fixed. As a work around, you can try to find the transaction(s) through the Finance > Transactions page and set a currency type for the transactions that don't have one.