AccountRight Application Error Report ===================================== Application Version: 2021.3.24.4119 Application File Version: 2021.3.24.4119 Incident Id: 69572ba3-4255-484e-bb2f-10cd406ae29b Time: Tuesday, 20 July 2021 7:13:53 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!0x06000982!MYOB.Huxley.RF.Core.Presentation.Controls.RibbonComponents.Dialogs.RFPrintPageSetupDialog.<>c__DisplayClass4_0.b__0(KeyValuePair`2 i) +0xd at System.Core!0x06000b7a!System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) +0x2c at Huxley.RF.Core.Presentation!0x0600073a!MYOB.Huxley.RF.Core.Presentation.Controls.RibbonComponents.Dialogs.RFPrintPageSetupDialog.RFPrintPageSetupDialog_DataContextChanged(Object sender, DependencyPropertyChangedEventArgs e) +0x42 at PresentationFramework!0x060005f8!System.Windows.FrameworkElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args) +0x0 at PresentationFramework!0x0600055f!System.Windows.FrameworkElement.OnDataContextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) +0xf at WindowsBase!0x06000bfb!System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) +0x68 at PresentationFramework!0x06000548!System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) +0xe at WindowsBase!0x06000bf6!System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) +0x0 at WindowsBase!0x06000bf4!System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) +0x3fe at WindowsBase!0x06000be5!System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal) +0x296 at WindowsBase!0x06000bd8!System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value) +0xe at Huxley.RF.Core.Presentation!0x06000114!MYOB.Huxley.RF.Core.Presentation.ViewModels.RFRibbonWindowViewModel.PageSetupDialogCommand_CommandExecuted(RFCommandParam commandParm) +0x15 at Huxley.RF.Core.Presentation!0x06000387!MYOB.Huxley.RF.Core.Presentation.Design.Commands.RFCommand.Execute(Object parameter) +0x12 at PresentationFramework!0x06007831!MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) +0x4a at PresentationFramework!0x0600520b!System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg) +0x18 at WindowsBase!0x06000f46!System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) +0x77 at WindowsBase!0x06000f45!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) +0x36 at WindowsBase!0x0600101e!System.Windows.Threading.DispatcherOperation.InvokeImpl() +0x7a at WindowsBase!0x0600101d!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) +0x7 at WindowsBase!0x060002c1!MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) +0x1b at mscorlib!0x06003ad5!System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +0x79 at mscorlib!0x06003ad4!System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +0x0 at mscorlib!0x06003ad3!System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) +0x2b at WindowsBase!0x060002c0!MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) +0x0 at WindowsBase!0x0600101b!System.Windows.Threading.DispatcherOperation.Invoke() +0xf at WindowsBase!0x06000fb1!System.Windows.Threading.Dispatcher.ProcessQueue() +0xe5 at WindowsBase!0x06000fb8!System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) +0x3f at WindowsBase!0x06000193!MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) +0x30 at WindowsBase!0x06000183!MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) +0x36 at WindowsBase!0x06000f46!System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) +0x77 at WindowsBase!0x06000f45!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) +0x2 at WindowsBase!0x06000f91!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) +0xbb at WindowsBase!0x06000181!MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) +0x11d at System.Windows.Forms!0x06004649!System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms!0x06005350!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) +0x177 at System.Windows.Forms!0x0600537e!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) +0x1e9 at System.Windows.Forms!0x0600537d!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) +0x14 at System.Windows.Forms!0x0600056a!System.Windows.Forms.Application.Run(Form mainForm) +0xc at Huxley.Application!0x060000ea!MYOB.Huxley.Application.Program.Main(String[] args) +0x210 at Huxley.Application!0x060000d4!MYOB.Huxley.Application.Launcher.Main(String[] args) +0x5 ========== MODULE: Huxley.Application => Huxley.Application, Version=2021.3.24.4119, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:c0cf4a68b92c4c4690a013fc1e5212b2; A:1 MODULE: Huxley.RF.Core.Presentation => Huxley.RF.Core.Presentation, Version=2021.3.24.4119, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:9f1e4c71272b4dde8b924e8823ebc84a; A:1 MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:4936770c83e64e99b8da4c10a63da5b8; A:2 MODULE: PresentationFramework => PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; G:60e29fa9fc9e474d80574ef34bc2942d; A:1 MODULE: System.Core => System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:356ba163ec5748339599a6231da394c1; A:2 MODULE: System.Windows.Forms => System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:1d5fd286f44440508e5b08fec7ecb659; A:1 MODULE: WindowsBase => WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; G:927d7b36833349c1b46d4d403123c629; A:1 ----------------------------------------