Have just upgraded to AR Live 2017.2
After entering timesheets then going to Process Payroll, I press next to the Employees pay section and it comes up with "Somethings gone wrong and needs to close' message.
The view error details are:
AccountRight Application Error Report
=====================================
Application Version: 2017.2.20.2131
Application File Version: 2017.2.20.2822
Incident Id: 81277075-6e8f-4568-8687-9e100e0939c4
Time: Saturday, 9 December 2017 7:01:04 PM
Code:
System.NullReferenceException
Message:
Object reference not set to an instance of an object.
Stack Trace
----------------------------------------
1 : System.NullReferenceException
----------------------------------------
System.NullReferenceException: Object reference not set to an instance of an object.
at MYOB.ARLive.PayrollEngine!0x0600014b!MYOB.ARLive.PayrollEngine.TaxCalculation.Tax.CalculateTaxAmount(Decimal totalPaysThisPay, Decimal totalWages) +0x0
at MYOB.ARLive.PayrollEngine!0x0600014a!MYOB.ARLive.PayrollEngine.TaxCalculation.Tax.CalculateAmount() +0x54
at MYOB.ARLive.BusinessLayer!0x06000450!MYOB.ARLive.BusinessLayer.Implementation.Services.PayRunTemplateService.CreateTaxTemplateLine(PayRunContext`1 context) +0xc5
at MYOB.ARLive.BusinessLayer!0x06000aa4!MYOB.ARLive.BusinessLayer.Implementation.Services.PayRunTemplateService.<>c__DisplayClass24`2.<ProcessLines>b__23(TDetailsLine l) +0x2a
at System.Core!0x0600181e!System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() +0x4d
at MYOB.ARLive.BusinessLayer!0x06000431!MYOB.ARLive.BusinessLayer.Implementation.Services.PayRunTemplateService.ProcessLines[TDetailsLine,TTemplateLine](Tree`1 context, IPayRun payRun, IEmployeePayrollDetailProjection employeePayrollDetails, IEmployeePaymentTemplate employeePaymentTemplate, IList`1 employeeTimeAllocationData, Func`2 conversionFunction) +0x7e
at MYOB.ARLive.BusinessLayer!0x0600043d!MYOB.ARLive.BusinessLayer.Implementation.Services.PayRunTemplateService.ProcessTaxLines(Tree`1 context, IPayRun payRun, IEmployeePayrollDetailProjection employeePayrollDetails, IEmployeePaymentTemplate employeePaymentTemplate, IList`1 employeeTimeAllocationData) +0x13
at MYOB.ARLive.BusinessLayer!0x06000428!MYOB.ARLive.BusinessLayer.Implementation.Services.PayRunTemplateService.CreateEmployeePaymentTemplate(Tree`1 context, IPayRun payRun, IEmployeePayrollDetailProjection employeePayrollDetails, IList`1 employeeTimeAllocationData, Boolean includeStandardPayAmounts) +0xfd
at MYOB.ARLive.BusinessLayer!0x06000424!MYOB.ARLive.BusinessLayer.Implementation.Services.PayRunTemplateService.GetEmployeePaymentTemplates(Tree`1 context, IPayRun payRun, IList`1 unprocessedTimesheets) +0x66
at MYOB.ARLive.Services!0x060001e6!MYOB.ARLive.Services.PayRunTemplateContainerService.BuildBusinessOperationTree(Tree`1 businessOperationTree, IPayRunTemplateReferenceDataContainer container) +0x6
at MYOB.ARLive.Services!0x06000002!MYOB.ARLive.Services.ContainerService`2.ProcessContainer(TContainer container, IExecutionContext executionContext, Boolean ignoreWarnings) +0xd8
at MYOB.ARLive.ServiceBridge!0x06000056!MYOB.ARLive.ServiceBridge.ServiceBridge.ProcessCreateEmployeeTemplates(ICompanyFile companyFile, IPayRunTemplateReferenceDataContainer container, Boolean ignoreWarnings) +0xd
at MYOB.ARLive.ServiceBridge!0x06000055!MYOB.ARLive.ServiceBridge.ServiceBridge.InvokeCreateEmployeeTemplates(ICompanyFile companyFile, IPayRunTemplateReferenceDataContainer container, Boolean ignoreWarnings) +0x0
--- End of stack trace from previous location where exception was thrown ---
at mscorlib!0x06005359!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +0xc
at Huxley.Services!0x060000c6!MYOB.Huxley.Services.ARLiveBridge.RunNewStack.Execute[T](String methodName, Object[] parameters) +0x6d
at Huxley.ApplicationServices!0x06000703!MYOB.Huxley.ApplicationServices.Container.PayRunTemplateContainerService.RunInNewStack(ICompanyFile companyFile, IPayRunTemplateReferenceDataContainer parameters, Boolean ignoreWarnings) +0x0
at Huxley.ApplicationServices!0x06000702!MYOB.Huxley.ApplicationServices.Container.PayRunTemplateContainerService.CreateEmployeeTemplates(IPayRunTemplateReferenceDataContainer container) +0x0
at Huxley.UI.Decorators!0x060004b3!MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyApplicationServicesContainerAPIIPayRunTemplateContainerService.MYOB.Huxley.ApplicationServices.Container.API.IPayRunTemplateContainerService.CreateEmployeeTemplates(IPayRunTemplateReferenceDataContainer container) +0x50
at Huxley.UI.Model!0x0600011a!MYOB.Huxley.UI.Model.Context.ARLive.ProcessPayrollContext.RebuildEmployeePayrollTemplates() +0x46
at Huxley.UI.Controllers!0x06000940!MYOB.Huxley.UI.Controllers.Payroll.ProcessPayroll.ARLive.SelectEditEmployeesPayController.BuildEmployeePaymentTemplateSummaries() +0x0
at Huxley.UI.Forms!0x06000f0a!MYOB.Huxley.UI.Forms.Payroll.ProcessPayroll.ARLive.SelectEditEmployeesPay.OnPageActivated() +0x6
at Huxley.UI.Forms!0x06000a82!MYOB.Huxley.UI.Forms.BaseForms.BaseViewWizard.OnCustomRight1Clicked(ButtonClickedArgs args) +0x1ba
at Huxley.UI.Forms!0x06000722!MYOB.Huxley.UI.Forms.BaseForms.BaseViewForm.CallButtonClicked(Action`1 execute, ButtonClickedArgs args, String buttonText) +0x12
at Huxley.UI.Forms!0x060006a2!MYOB.Huxley.UI.Forms.BaseForms.BaseViewForm.btnCustom1_Click(Object sender, EventArgs e) +0x30
at System.Windows.Forms!0x06000d14!System.Windows.Forms.Control.OnClick(EventArgs e) +0x19
at DevExpress.XtraEditors.v14.2!0x06000b65!DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e) +0x2e
at DevExpress.XtraEditors.v14.2!0x06000b5f!DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e) +0x45
at System.Windows.Forms!0x06000df8!System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) +0x184
at System.Windows.Forms!0x06000e08!System.Windows.Forms.Control.WndProc(Message& m) +0x66f
at DevExpress.Utils.v14.2!0x060013fb!DevExpress.Utils.Controls.ControlBase.WndProc(Message& m) +0x2e
at DevExpress.XtraEditors.v14.2!0x060001c5!DevExpress.XtraEditors.BaseControl.WndProc(Message& msg) +0x0
at System.Windows.Forms!0x06005458!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) +0x0
at System.Windows.Forms!0x0600545b!System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) +0x8e
at System.Windows.Forms!0x06002c59!System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) +0x25
==========
MODULE: DevExpress.Utils.v14.2 => DevExpress.Utils.v14.2, Version=14.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a; G:8816a7c165b24a3d8d93692e6a3c1f89; A:1
MODULE: DevExpress.XtraEditors.v14.2 => DevExpress.XtraEditors.v14.2, Version=14.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a; G:aa653019eaec439383600077d15e01f3; A:1
MODULE: Huxley.ApplicationServices => Huxley.ApplicationServices, Version=2017.2.20.2131, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:f9c83eca47614ab0b3a7914a662c38b0; A:1
MODULE: Huxley.Services => Huxley.Services, Version=2017.2.20.2131, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:441a7ddc55b4439db97bbb14ad6ce8d9; A:1
MODULE: Huxley.UI.Controllers => Huxley.UI.Controllers, Version=2017.2.20.2131, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:64d0ce7fe5c84726b50bd4f2b38b68b5; A:1
MODULE: Huxley.UI.Decorators => Huxley.UI.Decorators, Version=2017.2.20.2131, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:ee005c71c7f643048da2b28b58223dab; A:1
MODULE: Huxley.UI.Forms => Huxley.UI.Forms, Version=2017.2.20.2131, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:5ab58a27eab8463db3da3323186ed548; A:1
MODULE: Huxley.UI.Model => Huxley.UI.Model, Version=2017.2.20.2131, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:1bba6036f1fc4d728ef278db0af96789; A:1
MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:2da02c04c2554277b0c38a20dcddec6d; A:2
MODULE: MYOB.ARLive.BusinessLayer => MYOB.ARLive.BusinessLayer, Version=2017.2.20.2131, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:e1e695d9f3da4b3cb03581ce4dc5c699; A:1
MODULE: MYOB.ARLive.PayrollEngine => MYOB.ARLive.PayrollEngine, Version=2017.2.20.2131, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:67c788fce4374d0a9283d7b8d1421ab2; A:1
MODULE: MYOB.ARLive.ServiceBridge => MYOB.ARLive.ServiceBridge, Version=2017.2.20.2131, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:c7ec26b2f5464cd3b86193c48a1773f3; A:1
MODULE: MYOB.ARLive.Services => MYOB.ARLive.Services, Version=2017.2.20.2131, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:38b2b52974004cc8a3ac3de52b685cd5; A:1
MODULE: System.Core => System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:90dd8e4f6256448a86e01dfb58bf6c5a; A:2
MODULE: System.Windows.Forms => System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:afe5dfc93ead452caf5b4facbb9f28a7; A:1
----------------------------------------
Please advise on how to fix.
Thanks
Eileen