Forum Discussion

Icecouriers's avatar
Icecouriers
Contributing User
2 years ago

AccountRight Desktop Crashing when saving a customised form

I am having a repeatable Account Right crash every time we try to save a customised form. Is there anything else accounting software can do to waste more business time?

 

AccountRight Application Error Report
=====================================
Application Version: 2023.6.1.4
Application File Version: 2023.6.1.4
Incident Id: 4364ef09-6a5c-4e4c-bf5f-a03b6acd18b7
Time: Thursday, 27 July 2023 11:11:19 AM

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 Huxley.RF.Core.Presentation!0x060002aa!MYOB.Huxley.RF.Core.Presentation.Serialization.RFViewSerializer.SerializeView(RFViewBase view) +0x111
at Huxley.RF.Forms!0x0600051c!MYOB.Huxley.RF.Forms.Serialization.FormSerializer.SerializeView(RFViewBase view) +0x0
at Huxley.RF.Core.Presentation!0x060002ac!MYOB.Huxley.RF.Core.Presentation.Serialization.RFViewSerializer.SaveView(RFViewBase view) +0x18
at Huxley.RF.Core.Presentation!0x060002ae!MYOB.Huxley.RF.Core.Presentation.Serialization.RFViewSerializer.SaveViewToStream(RFViewBase view, Stream streamName) +0x0
at Huxley.RF.Core.Presentation!0x060001ac!MYOB.Huxley.RF.Core.Presentation.ViewModels.RFWorkspaceViewModel`2.Save(Stream streamName) +0xe
at Huxley.RF.Forms!0x06000509!MYOB.Huxley.RF.Forms.ViewModels.Base.FormWorkspaceViewModel`2.Save(Stream stream) +0x0
at Huxley.RF.Framework!0x0600004c!MYOB.Huxley.RF.Forms.Presentation.Controls.FormSaveAsDialog.btnSave_Executed(Object sender, ExecutedRoutedEventArgs e) +0xbd
at PresentationCore!0x06000d12!System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target) +0x7
at PresentationCore!0x06000baa!System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) +0x7
at PresentationCore!0x06000bb7!System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) +0x30
at PresentationCore!0x060005cf!System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) +0xe6
at PresentationCore!0x0600083c!System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) +0x57
at PresentationCore!0x06000689!System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) +0x1f
at PresentationCore!0x06000de1!System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated) +0x78
at PresentationCore!0x06000de0!System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated) +0xf
at PresentationFramework!0x060078a7!MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) +0x36
at PresentationFramework!0x06005c1e!System.Windows.Controls.Primitives.ButtonBase.OnClick() +0x13
at PresentationFramework!0x0600429e!System.Windows.Controls.Button.OnClick() +0x1a
at PresentationFramework!0x06005c3c!System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) +0x46
at PresentationCore!0x060006a0!System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) +0x1d
at PresentationCore!0x060011d2!System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) +0x7
at PresentationCore!0x06000baa!System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) +0x7
at PresentationCore!0x06000bb7!System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) +0x30
at PresentationCore!0x060005cf!System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) +0xe6
at PresentationCore!0x0600083b!System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) +0x65
at PresentationCore!0x0600069c!System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) +0x3a
at PresentationCore!0x060011d2!System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) +0x7
at PresentationCore!0x06000baa!System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) +0x7
at PresentationCore!0x06000bb7!System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) +0x30
at PresentationCore!0x060005cf!System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) +0xe6
at PresentationCore!0x0600083c!System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) +0x57
at PresentationCore!0x0600068a!System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) +0x14
at PresentationCore!0x06000689!System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) +0x11
at PresentationCore!0x06000fb2!System.Windows.Input.InputManager.ProcessStagingArea() +0x1ef
at PresentationCore!0x06000fa9!System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) +0x24
at PresentationCore!0x0600101e!System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) +0x35
at PresentationCore!0x06001a54!System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) +0x210
at PresentationCore!0x06001a49!System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) +0x0
at PresentationCore!0x06001a99!System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) +0x54
at WindowsBase!0x060001a6!MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) +0x30
at WindowsBase!0x06000196!MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) +0x36
at WindowsBase!0x06000f77!System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) +0x77
at WindowsBase!0x06000f76!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) +0x36
at WindowsBase!0x06000fc2!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) +0xbb
at WindowsBase!0x06000194!MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) +0x11d
at WindowsBase!0x0600004c!MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at WindowsBase!0x06000fe4!System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) +0x40
at WindowsBase!0x06000f9f!System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) +0x5e
at PresentationFramework!0x06000deb!System.Windows.Window.ShowHelper(Object booleanBox) +0xae
at PresentationFramework!0x06000d23!System.Windows.Window.Show() +0x1f
at PresentationFramework!0x06000d27!System.Windows.Window.ShowDialog() +0x1ec
at Huxley.RF.Framework!0x06000142!MYOB.Huxley.RF.Framework.Windows.FormRibbonWindow.SaveForm(Boolean isSaveAsAction) +0x3a
at Huxley.RF.Framework!0x06000140!MYOB.Huxley.RF.Framework.Windows.FormRibbonWindow.OnSaveFormAsClicked(Object sender, RoutedEventArgs e) +0x11
at PresentationCore!0x06000bb7!System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) +0x10
at PresentationCore!0x060005cf!System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) +0xe6
at PresentationCore!0x0600083c!System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) +0x57
at PresentationCore!0x06000688!System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) +0x14
at PresentationFramework!0x0600523b!System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg) +0x13
at WindowsBase!0x06000f77!System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) +0x77
at WindowsBase!0x06000f76!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) +0x2
at WindowsBase!0x0600104f!System.Windows.Threading.DispatcherOperation.InvokeImpl() +0x7a
at WindowsBase!0x0600104e!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) +0x7
at WindowsBase!0x060002e7!MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) +0x1b
at mscorlib!0x06003c30!System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +0x79
at mscorlib!0x06003c2f!System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +0x0
at mscorlib!0x06003c2e!System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) +0x2b
at WindowsBase!0x060002e6!MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) +0x34
at WindowsBase!0x0600104c!System.Windows.Threading.DispatcherOperation.Invoke() +0xf
at WindowsBase!0x06000fe2!System.Windows.Threading.Dispatcher.ProcessQueue() +0xe5
at WindowsBase!0x06000fe9!System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) +0x3f
at WindowsBase!0x060001a6!MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) +0x30
at WindowsBase!0x06000196!MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) +0x36
at WindowsBase!0x06000f77!System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) +0x77
at WindowsBase!0x06000f76!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) +0x2
at WindowsBase!0x06000fc2!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) +0xbb
at WindowsBase!0x06000194!MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) +0x11d
at System.Windows.Forms!0x060047c7!System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms!0x06005511!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) +0x177
at System.Windows.Forms!0x06005540!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) +0x1e9
at System.Windows.Forms!0x0600553f!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) +0x14
at System.Windows.Forms!0x060005fa!System.Windows.Forms.Application.Run(Form mainForm) +0xc
at Huxley.Application!0x060000f0!MYOB.Huxley.Application.Program.Main(String[] args) +0x20b
at Huxley.Application!0x060000da!MYOB.Huxley.Application.Launcher.Main(String[] args) +0x5
==========
MODULE: Huxley.Application => Huxley.Application, Version=2023.6.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:cd644898368c4a92b883c269b0727b0b; A:1
MODULE: Huxley.RF.Core.Presentation => Huxley.RF.Core.Presentation, Version=2023.6.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:9382b72d6d334d858058eed2ba65da0b; A:1
MODULE: Huxley.RF.Forms => Huxley.RF.Forms, Version=2023.6.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:8209a4febd114c40bc47ca894147a7d4; A:1
MODULE: Huxley.RF.Framework => Huxley.RF.Framework, Version=2023.6.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:f6836ebe1d4a4552996c8a4d31d73a5b; A:1
MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:ffe3c6a4dc2848cebedab6c1e9865ba5; A:2
MODULE: PresentationCore => PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; G:5baa91fbb8674f3cb1d37a440651fda3; A:2
MODULE: PresentationFramework => PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; G:549185dbb88343859552c34b93e775b1; A:1
MODULE: System.Windows.Forms => System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:543c9eec2a3d4078aab81f89e0020776; A:1
MODULE: WindowsBase => WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; G:ab20906a8756422dbbdd64e732b8dfc2; A:1

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

 

  • Hi Icecouriers 

     

    MYOB are exploring all options:(

     

    Does this happen with any customised form or only a particular one? 

     

    Regards

    Gavin

    • Icecouriers's avatar
      Icecouriers
      Contributing User

      Hi Gavin

      Its pretty poor when you spend all day trying to get someone at MYOB to take an interest in a problem that brings your business to its knees. I have tried all avenues to get some answers, but cant even raise a response from MYOB so thank you for reaching out.

       

      I have been trying to alter (customise) a supplier bill for use as an RCTI to make sure it complies with items listed in the ATO Taxation legislation. I have tried over and over again, even the smallest change to this report throws a crash scenario upon saving. As a result I ventured to try and save a customised itemised invoice and had the same issue. It seems it might be related to customising any form. Thanks again for your interest Gavin. Surely I am not the lone ranger here, the only MYOB customer to ever customise and invoice? Surely it is related to my software installation alone?

      • gavin12345's avatar
        gavin12345
        Ultimate User

        Hi Icecouriers 

         

        This would be most likely a corruption in your company file. Others can save, and I just did right now. So it is unlikely a software issue.

         

        You could try to exporting the affected forms and then re-import and see if this helps.

         

        This is a known issue with forms being corrupted, however this was from before 2020. Back then some users/IT guys ran a Compact function on the MYOB company file to try to reduce it's size. While the process worked as a temporary measure, it also inadvertently corrupted forms over a certain size. If this was done to your forms back then, the issue may have remained in the file. 

         

        If export and re-import doesn't work, try creating a new file, export the form from that file and import into your file. This will replace the standard form, you could then try to customise.

         

        Regards

        Gavin