Forum Discussion

EnduringMYOB's avatar
10 months ago

Error re-opening an in-progress pay run (Unknown): ShowUIView(PayrollProcessARLive,...,...)

Error re-opening an in-progress pay run (Unknown): ShowUIView(PayrollProcessARLive,...,...)

 

Create pay run in web app

Save and close

Open pay run in account right

receive this error

 

AccountRight Application Error Report

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

Application Version: 2024.2.1.3

Application File Version: 2024.2.1.3

Incident Id: 6406bc80-ba2e-4fb0-8e71-1e146abee073

Time: Thursday, 14 March 2024 1:28:52 PM

 

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

   at System.Windows.Forms!0x06001260!System.Windows.Forms.Control.WndProc(Message& m) +0x49f

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

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

   at System.Windows.Forms!0x0600314d!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:1b211ed7bbf0489d8a98bc79600e5674; 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

 

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

 

  • Shella_A's avatar
    Shella_A
    MYOB Moderator

    Hi EnduringMYOB,

     

    Thank you for your post and welcome to the Community Forum. We apologize for the delayed response. We value your effort in providing a detailed error message. To resolve this, we suggest re-initiating the Single Touch Payroll sign-up process before commencing any pay runs. This should eliminate the error message, allowing you to proceed with a smooth pay run. 

     

    Do not hesitate to post again if you encounter any issues in the future. 

     

    If you find this response helpful, kindly click the "Accept As Solution" button to aid others in finding this information.

     

     

    Kind regards,

    Shella

    • Hi Shella,

       

      Thank you for your reply.

       

      A couple of follow on questions

      1. it seems MYOB is aware of this issue, would it be prudent to either fix the underlying issue or update the error message to provide more meaningful information?

      2. does the single Touch Payroll sign-up process need to be reinitialiesed for every user, or just the person who does payroll? Our payroll person had already reinitialised and we were still receiving the error message.

       

      kind regards,

      MYOB User

      • Shella_A's avatar
        Shella_A
        MYOB Moderator

        Hi EnduringMYOB,

         

        Thanks for your response, and my apologies for the late reply.

         

        In response to your first question, MYOB is indeed aware of the issues that arise, and we are continuously working to improve our systems. As for updating the error message to provide more meaningful information, this is a valuable suggestion, and I will pass it on to the relevant team for consideration. Regarding your second question, Single Touch Payroll (STP) reporting is an Australian Taxation Office (ATO) regulation that applies to all employers. The STP-enabled software updates the ATO with each payroll run, and employers only need to notify the ATO when they make the last payroll run of the financial year to finalize their STP data. However, it might be best to consult with your registered tax or BAS agent or with the ATO directly for specific advice on this matter.

         

        I hope this answers your queries. Let me know if you need further assistance. I also recommend getting in touch through our online help center, MOCA, whenever you need immediate assistance.

         

         

        Kind regards,

        Shella