AccountRight Application Error Report ===================================== Application Version: 2021.3.24.4119 Application File Version: 2021.3.24.4119 Incident Id: 21c2d30c-ff89-490a-b39a-dd3d243358ad Time: Tuesday, 13 July 2021 11:43:00 AM Code: System.ArgumentException Message: An item with the same key has already been added. Stack Trace ---------------------------------------- 1 : System.ArgumentException ---------------------------------------- System.ArgumentException: An item with the same key has already been added. at mscorlib!0x06000339!System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +0x10 at mscorlib!0x06003938!System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +0x0 at mscorlib!0x0600392c!System.Collections.Generic.Dictionary`2.System.Collections.Generic.ICollection>.Add(KeyValuePair`2 keyValuePair) +0x0 at MYOB.ARLive.QueryRepository!0x06000151!MYOB.ARLive.QueryRepository.Repositories.EmployeePayrollDetailsEntitlementAccrualQueryRepository.GetAll(IExecutionContext executionContext, Nullable`1 payRunDate) +0x1d2 at MYOB.ARLive.Services!0x06000336!MYOB.ARLive.Services.OperationTreeExtensions.<>c__DisplayClass1_0`1.b__8() +0x5 at mscorlib!0x06000f21!System.Lazy`1.CreateValue() +0x81 at mscorlib!0x06000f20!System.Lazy`1.LazyInitValue() +0x80 at mscorlib!0x06000f1f!System.Lazy`1.get_Value() +0x3c at Huxley.Utilities!0x060008e8!MYOB.Huxley.Utilities.Core.Tree`1.<>c__DisplayClass25_0`2.b__0() +0x0 at mscorlib!0x06000f21!System.Lazy`1.CreateValue() +0x81 at mscorlib!0x06000f20!System.Lazy`1.LazyInitValue() +0x80 at mscorlib!0x06000f1f!System.Lazy`1.get_Value() +0x3c at Huxley.Utilities!0x06000690!MYOB.Huxley.Utilities.Core.Tree`1.GetScopedValue[TKey,TValue](TKey key, Boolean throwIfNotFound, TValue defaultValue, Func`1 valueFactory) +0x15 at MYOB.ARLive.QueryRepository!0x06000085!MYOB.ARLive.QueryRepository.Utilities.ScopedDictionaryExtensions.GetEmployeePayrollDetailsEntitlementAccrual(IScopedDictionary context) +0x0 at MYOB.ARLive.Services!0x060001b1!MYOB.ARLive.Services.StartPayRunContainerService.ProcessBusinessOperationTree(IStartPayRunContainer container, IExecutionContext executionContext, Tree`1 businessOperationTree) +0x169 at MYOB.ARLive.Services!0x06000037!MYOB.ARLive.Services.ContainerService`2.ProcessContainer(TContainer container, IExecutionContext executionContext, Boolean ignoreWarnings) +0xe8 at MYOB.ARLive.ServiceBridge!0x06000044!MYOB.ARLive.ServiceBridge.ServiceBridge.ProcessStartNewPayRun(ICompanyFile companyFile, IStartPayRunContainer container, Boolean ignoreWarnings) +0xd at MYOB.ARLive.ServiceBridge!0x06000043!MYOB.ARLive.ServiceBridge.ServiceBridge.InvokeStartNewPayRunProcess(ICompanyFile companyFile, IStartPayRunContainer container, Boolean ignoreWarnings) +0x0 --- End of stack trace from previous location where exception was thrown --- at mscorlib!0x060053ef!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +0xc at Huxley.Services!0x06001558!MYOB.Huxley.Services.ARLiveBridge.RunNewStack.Execute[T](String methodName, Object[] parameters) +0x65 at Huxley.ApplicationServices!0x06000d49!MYOB.Huxley.ApplicationServices.Container.PayRunContainerService.RunInNewStack(ICompanyFile companyFile, IStartPayRunContainer parameters, Boolean ignoreWarnings) +0x0 at Huxley.ApplicationServices!0x06000d3e!MYOB.Huxley.ApplicationServices.Container.PayRunContainerService.StartPayRun(IEnumerable`1 objectSetVersions, IStartPayRunContainer payRunParameters) +0x18b at Huxley.UI.Decorators!0x06002d20!MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyApplicationServicesContainerAPIIPayRunContainerService.MYOB.Huxley.ApplicationServices.Container.API.IPayRunContainerService.StartPayRun(IEnumerable`1 objectSetVersions, IStartPayRunContainer container) +0x52 at Huxley.UI.Model!0x060040b9!MYOB.Huxley.UI.Model.Context.ARLive.ProcessPayrollContext.<>c__DisplayClass11_0.b__0() +0x0 at Huxley.UI.Model!0x06003a97!MYOB.Huxley.UI.Model.Context.Base.UIContextContainer`2.InvokeContainerGet(Func`1 getFunction, Boolean force) +0x60 at Huxley.UI.Model!0x06003aff!MYOB.Huxley.UI.Model.Context.ARLive.ProcessPayrollContext.StartPayRun(IPayRunParameters parameters, IList`1 unprocessedTimesheetSelections) +0x3e at Huxley.UI.Controllers!0x06002160!MYOB.Huxley.UI.Controllers.Payroll.ProcessPayroll.ARLive.SelectPayPeriodController.BuildPayRun() +0xb3 at Huxley.UI.Controllers!0x06002162!MYOB.Huxley.UI.Controllers.Payroll.ProcessPayroll.ARLive.SelectPayPeriodController.SaveChangesProcessAllObjects(IEnumerable`1 filteredObjectsToSave) +0x0 at Huxley.UI.Controllers!0x060013ba!MYOB.Huxley.UI.Controllers.Base.BaseControllerBusinessObject`5.SaveChanges(IEnumerable`1 entitiesToSave) +0x5d at Huxley.UI.Forms!0x06002ae6!MYOB.Huxley.UI.Forms.BaseForms.BaseViewBusinessObject.SaveChanges(IEnumerable`1 entitiesToSave) +0x52 at Huxley.UI.Forms!0x06002ae4!MYOB.Huxley.UI.Forms.BaseForms.BaseViewBusinessObject.SaveChanges(IUIObject objectToSave) +0x10 at Huxley.UI.Forms!0x06002418!MYOB.Huxley.UI.Forms.Payroll.ProcessPayroll.ARLive.SelectPayPeriod.OnPageLeaving(PageLeavingEventArgs args) +0x33 at Huxley.UI.Forms!0x06002be4!MYOB.Huxley.UI.Forms.BaseForms.BaseViewWizard.OnCustomRight1Clicked(ButtonClickedArgs args) +0x12e at Huxley.UI.Forms!0x06002874!MYOB.Huxley.UI.Forms.BaseForms.BaseViewForm.CallButtonClicked(Action`1 execute, ButtonClickedArgs args, String buttonText) +0x12 at Huxley.UI.Forms!0x060027f0!MYOB.Huxley.UI.Forms.BaseForms.BaseViewForm.btnCustom1_Click(Object sender, EventArgs e) +0x30 at System.Windows.Forms!0x06000e17!System.Windows.Forms.Control.OnClick(EventArgs e) +0x19 at DevExpress.XtraEditors.v17.1!0x06000d4f!DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e) +0x2e at DevExpress.XtraEditors.v17.1!0x06000d48!DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e) +0x1d at System.Windows.Forms!0x06000efe!System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) +0x184 at System.Windows.Forms!0x06000f0e!System.Windows.Forms.Control.WndProc(Message& m) +0x62c at DevExpress.Utils.v17.1!0x06002708!DevExpress.Utils.Controls.ControlBase.WndProc(Message& m) +0x2e at DevExpress.XtraEditors.v17.1!0x06000256!DevExpress.XtraEditors.BaseControl.WndProc(Message& msg) +0x0 at System.Windows.Forms!0x0600571d!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) +0x0 at System.Windows.Forms!0x06005720!System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) +0x8e at System.Windows.Forms!0x06002dec!System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) +0x25 ========== MODULE: DevExpress.Utils.v17.1 => DevExpress.Utils.v17.1, Version=17.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a; G:b8c34c059b804930811d5f6d50999b6c; A:1 MODULE: DevExpress.XtraEditors.v17.1 => DevExpress.XtraEditors.v17.1, Version=17.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a; G:6df94e55f5bd4444b910d4b2a37076a4; A:1 MODULE: Huxley.ApplicationServices => Huxley.ApplicationServices, Version=2021.3.24.4119, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:0d1234cc739b4f6aa887a1539c58164e; A:1 MODULE: Huxley.Services => Huxley.Services, Version=2021.3.24.4119, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:6f47069a4b124fd09f41e6b8b754067e; A:1 MODULE: Huxley.UI.Controllers => Huxley.UI.Controllers, Version=2021.3.24.4119, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:191e0a30662d43c781a6f0bc99445cbd; A:1 MODULE: Huxley.UI.Decorators => Huxley.UI.Decorators, Version=2021.3.24.4119, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:e914584a9a074d908948f181eb9ec9c3; A:1 MODULE: Huxley.UI.Forms => Huxley.UI.Forms, Version=2021.3.24.4119, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:f7806b402f1f4d939a1a1a51f352b5fe; A:1 MODULE: Huxley.UI.Model => Huxley.UI.Model, Version=2021.3.24.4119, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:a4f7f1a8006c458fb8a9dbacb3d645d4; A:1 MODULE: Huxley.Utilities => Huxley.Utilities, Version=2021.3.24.4119, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:5eaba9a779854c0e99aaa062139d0589; A:1 MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:39c0c6bcf63b4e9db2429620a7801264; A:2 MODULE: MYOB.ARLive.QueryRepository => MYOB.ARLive.QueryRepository, Version=2021.3.24.4119, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:3cb235d5bb954d3bb76a2bd78f86517e; A:1 MODULE: MYOB.ARLive.ServiceBridge => MYOB.ARLive.ServiceBridge, Version=2021.3.24.4119, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:81f062caf97448eab7cd7202bdff0962; A:1 MODULE: MYOB.ARLive.Services => MYOB.ARLive.Services, Version=2021.3.24.4119, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:a6884174c7294fa9a9dda5bdeca4492d; A:1 MODULE: System.Windows.Forms => System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:39795963ccc24de1b3d33f2bb6415be5; A:1 ----------------------------------------