Forum Discussion

Essentials's avatar
Essentials
Contributing Partner
2 months ago

Payroll Timing Out and Application Closing

Attempting to process a Pay Run which keeps failing.

 

I have just tried to open the saved Pay Run created by my client to check details and received the below error log with an "AccountRight needs to close...." error.

 

Need an urgent fix as wages cannot be processed.

 

 

AccountRight Application Error Report

=====================================

Application Version: 2024.2.1.3

Application File Version: 2024.2.1.3

Incident Id: 860f75f1-7e95-4a31-a490-798791ec8678

Time: 3 April 2024 10:13:19 AM

 

Code:

Unknown (0)

 

 

Message:

 (Unknown): ShowUIView(PayrollProcessARLive,...,...)

 

 

Stack Trace

----------------------------------------

1 : MYOB.Huxley.API.HuxleyApplicationException

----------------------------------------

MYOB.Huxley.API.HuxleyApplicationException:  (Unknown): ShowUIView(PayrollProcessARLive,...,...) ---> System.NullReferenceException: Object reference not set to an instance of an object.

   at Huxley.UI.Model!0x06001714!MYOB.Huxley.UI.Model.Facades.Payroll.ProcessPayroll.ARLive.UIPayRunParameters.get_LeaveInAdvance() +0x2c

   at Huxley.UI.Model!0x0600171f!MYOB.Huxley.UI.Model.Facades.Payroll.ProcessPayroll.ARLive.UIPayRunParameters.ExtendUIValidationResults(List`1 results, String wrappedPropertyName) +0x0

   at Huxley.UI.Model!0x0600295d!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ExtendUIValidationResults(String wrappedPropertyName) +0x6

   at Huxley.UI.Model!0x0600295c!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ProcessValidationForPropertyMapping(IEnumerable`1 busObjPropMaps, Boolean shouldRunInBackground) +0x84

   at Huxley.UI.Model!0x0600295b!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ValidateUIModel(IEnumerable`1 propertyName, Boolean shouldRunInBackground) +0xb5

   at Huxley.UI.Model!0x06002958!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ValidationResults(IEnumerable`1 propertyNames, Boolean shouldRunInBackground) +0x7

   at Huxley.UI.Controllers!0x060011b9!MYOB.Huxley.UI.Controllers.Base.BaseControllerBusinessObject`5.Validate(IUIValidatable validate, IEnumerable`1 propertyNames, Boolean secondaryChange) +0x5

   at Huxley.UI.Controllers!0x060011b6!MYOB.Huxley.UI.Controllers.Base.BaseControllerBusinessObject`5.ValidateDataRecord() +0x8

   at Huxley.UI.Forms!0x060033d8!MYOB.Huxley.UI.Forms.Payroll.ProcessPayroll.ARLive.SelectPayPeriod.OnPageLeaving(PageLeavingEventArgs args) +0x9

   at Huxley.UI.Forms!0x060027a5!MYOB.Huxley.UI.Forms.BaseForms.BaseViewWizard.OnCustomRight1Clicked(ButtonClickedArgs args) +0x12e

   at Huxley.UI.Forms!0x060033a8!MYOB.Huxley.UI.Forms.Payroll.ProcessPayroll.ARLive.ProcessPayrollWizard.OnAfterContainerInitialized() +0x85

   at Huxley.UI.Forms!0x060026c8!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.InitializeContainer(IUIViewPresenter uiPresenter, IController parentController, IUIContext context, EntityInfo eInfo) +0x24e

   at Huxley.UI.Forms!0x06002721!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, String name, IController controller, IUIContext context, EntityInfo eInfo, Boolean visible) +0x228

   at Huxley.UI.Forms!0x0600271d!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, IUIContext context, EntityInfo eInfo) +0xa

   at Huxley.UI.Forms!0x0600235a!MYOB.Huxley.UI.Forms.BaseForms.BaseViewForm.InitializeForm(UIViewType ViewType, IUIViewPresenter uiViewPresenter, String containerResourceID, IUICompanyFile companyFile, EntityInfo eInfo, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod) +0x122

   at Huxley.UI.Framework!0x06000175!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.GetForm(UIViewType viewType, EntityInfo eInfo, IUIViewPresenter presenter, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod) +0x88

   at Huxley.UI.Framework!0x06000174!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.Show(IUIViewPresenter presenter, UIViewType viewType, Boolean showDialog, EntityInfo eInfo, IUIContext context, Boolean visible, BeginNotificationRefreshMethod refreshMethod) +0xaa

   at Huxley.UI.Framework!0x06000193!MYOB.Huxley.UI.Framework.Presenter.UIViewPresenter.ShowUIView(UIViewType uiViewType, EntityInfo entityInfo, BeginNotificationRefreshMethod refreshMethod) +0x4a

   --- End of inner exception stack trace ---

   at Huxley.UI.Framework!0x06000193!MYOB.Huxley.UI.Framework.Presenter.UIViewPresenter.ShowUIView(UIViewType uiViewType, EntityInfo entityInfo, BeginNotificationRefreshMethod refreshMethod) +0xa3

   at Huxley.UI.Framework!0x06000191!MYOB.Huxley.UI.Framework.Presenter.UIViewPresenter.ShowUIView(UIViewType uiViewType, EntityInfo entityInfo) +0x12

   at Huxley.UI.Controllers!0x060018ec!MYOB.Huxley.UI.Controllers.Payroll.PayrollLaunchUtility.LaunchProcessPayroll() +0x33

   at Huxley.UI.Forms!0x0600191d!MYOB.Huxley.UI.Forms.CommandCentre.CommandCentrePayroll.staProcessPayroll_Click(Object sender, EventArgs e) +0x0

   at System.Windows.Forms!0x06000d73!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!0x06000e57!System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) +0x184

   at System.Windows.Forms!0x06000e67!System.Windows.Forms.Control.WndProc(Message& m) +0x66f

   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!0x06005501!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) +0x0

   at System.Windows.Forms!0x06005504!System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) +0x8e

   at System.Windows.Forms!0x06002cd7!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.UI.Controllers => Huxley.UI.Controllers, Version=2024.2.1.3, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:20971d0ee6c140cdb9cbe7614dd6ff4c; A:1

MODULE: Huxley.UI.Forms => Huxley.UI.Forms, Version=2024.2.1.3, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:221a66c1577647d988c8d366fb1b6d68; A:1

MODULE: Huxley.UI.Framework => Huxley.UI.Framework, Version=2024.2.1.3, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:bbf1a4d2e9d7487f89246e39f6b32372; A:1

MODULE: Huxley.UI.Model => Huxley.UI.Model, Version=2024.2.1.3, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:0a743ceb90de4e88b2e27504d37e8f35; A:1

MODULE: System.Windows.Forms => System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:8eca987aa57a46198ff9f51f25fe4bb4; A:1

 

----------------------------------------

 

2 : System.NullReferenceException

----------------------------------------

System.NullReferenceException: Object reference not set to an instance of an object.

   at Huxley.UI.Model!0x06001714!MYOB.Huxley.UI.Model.Facades.Payroll.ProcessPayroll.ARLive.UIPayRunParameters.get_LeaveInAdvance() +0x2c

   at Huxley.UI.Model!0x0600171f!MYOB.Huxley.UI.Model.Facades.Payroll.ProcessPayroll.ARLive.UIPayRunParameters.ExtendUIValidationResults(List`1 results, String wrappedPropertyName) +0x0

   at Huxley.UI.Model!0x0600295d!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ExtendUIValidationResults(String wrappedPropertyName) +0x6

   at Huxley.UI.Model!0x0600295c!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ProcessValidationForPropertyMapping(IEnumerable`1 busObjPropMaps, Boolean shouldRunInBackground) +0x84

   at Huxley.UI.Model!0x0600295b!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ValidateUIModel(IEnumerable`1 propertyName, Boolean shouldRunInBackground) +0xb5

   at Huxley.UI.Model!0x06002958!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ValidationResults(IEnumerable`1 propertyNames, Boolean shouldRunInBackground) +0x7

   at Huxley.UI.Controllers!0x060011b9!MYOB.Huxley.UI.Controllers.Base.BaseControllerBusinessObject`5.Validate(IUIValidatable validate, IEnumerable`1 propertyNames, Boolean secondaryChange) +0x5

   at Huxley.UI.Controllers!0x060011b6!MYOB.Huxley.UI.Controllers.Base.BaseControllerBusinessObject`5.ValidateDataRecord() +0x8

   at Huxley.UI.Forms!0x060033d8!MYOB.Huxley.UI.Forms.Payroll.ProcessPayroll.ARLive.SelectPayPeriod.OnPageLeaving(PageLeavingEventArgs args) +0x9

   at Huxley.UI.Forms!0x060027a5!MYOB.Huxley.UI.Forms.BaseForms.BaseViewWizard.OnCustomRight1Clicked(ButtonClickedArgs args) +0x12e

   at Huxley.UI.Forms!0x060033a8!MYOB.Huxley.UI.Forms.Payroll.ProcessPayroll.ARLive.ProcessPayrollWizard.OnAfterContainerInitialized() +0x85

   at Huxley.UI.Forms!0x060026c8!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.InitializeContainer(IUIViewPresenter uiPresenter, IController parentController, IUIContext context, EntityInfo eInfo) +0x24e

   at Huxley.UI.Forms!0x06002721!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, String name, IController controller, IUIContext context, EntityInfo eInfo, Boolean visible) +0x228

   at Huxley.UI.Forms!0x0600271d!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, IUIContext context, EntityInfo eInfo) +0xa

   at Huxley.UI.Forms!0x0600235a!MYOB.Huxley.UI.Forms.BaseForms.BaseViewForm.InitializeForm(UIViewType ViewType, IUIViewPresenter uiViewPresenter, String containerResourceID, IUICompanyFile companyFile, EntityInfo eInfo, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod) +0x122

   at Huxley.UI.Framework!0x06000175!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.GetForm(UIViewType viewType, EntityInfo eInfo, IUIViewPresenter presenter, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod) +0x88

   at Huxley.UI.Framework!0x06000174!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.Show(IUIViewPresenter presenter, UIViewType viewType, Boolean showDialog, EntityInfo eInfo, IUIContext context, Boolean visible, BeginNotificationRefreshMethod refreshMethod) +0xaa

   at Huxley.UI.Framework!0x06000193!MYOB.Huxley.UI.Framework.Presenter.UIViewPresenter.ShowUIView(UIViewType uiViewType, EntityInfo entityInfo, BeginNotificationRefreshMethod refreshMethod) +0x4a ==========

MODULE: Huxley.UI.Controllers => Huxley.UI.Controllers, Version=2024.2.1.3, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:20971d0ee6c140cdb9cbe7614dd6ff4c; A:1

MODULE: Huxley.UI.Forms => Huxley.UI.Forms, Version=2024.2.1.3, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:221a66c1577647d988c8d366fb1b6d68; A:1

MODULE: Huxley.UI.Framework => Huxley.UI.Framework, Version=2024.2.1.3, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:bbf1a4d2e9d7487f89246e39f6b32372; A:1

MODULE: Huxley.UI.Model => Huxley.UI.Model, Version=2024.2.1.3, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:0a743ceb90de4e88b2e27504d37e8f35; A:1

 

----------------------------------------

 

3 Replies

  • Earl_HD's avatar
    Earl_HD
    MYOB Moderator

    Hi essentials,

    Thanks for your detailed post. We are currently aware of this issue, and when it occurs, you will need to re-do the sign-up process for Single Touch Payroll before initiating any pay runs.

    Feel free to post again, we're happy to help!

    If my response has answered your enquiry please click "Accept as Solution" to assist other users find this information.

    Regards,
    Earl

    • Essentials's avatar
      Essentials
      Contributing Partner

      Thanks Earl, but not a great solution.

       

      We now need to delete an in-progress pay run for 70 employees; sign up to STP again and then re-do the whole pay run?!?

      • Earl_HD's avatar
        Earl_HD
        MYOB Moderator

        Hi essentials,

        I appreciate your understanding. At the moment, this workaround is the solution we have available for this issue. Feel free to post again if you have further queries and one of us will be happy to assist you.

        Regards,
        Earl