Few of our users reported client crash when entering General journal line. It is not consistent and happening randomly. Event log shows access violation but the user has necessary privilege to create/post transactions and they were able to create/post transactions after reopening AX. I tried clearing AUC files and usage data, still doesn’t fix the issue. Anyone faced same type of issue, any help on this will be much appreciated.
Application: Ax32.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at <Module>.SegmentedEntryWrapper.OnSegmentValueChanged(SegmentedEntryWrapper*, Microsoft.Dynamics.Kernel.Client.UI.WPF.Controls.SegmentValueChangedEventArgs)
at Microsoft.Dynamics.Kernel.Client.SegmentedEntryEventProxy.OnSegmentValueChanged(System.Object, Microsoft.Dynamics.Kernel.Client.UI.WPF.Controls.SegmentValueChangedEventArgs)
at Microsoft.Dynamics.Kernel.Client.UI.WPF.Controls.SegmentedEntry.segment_SegmentValueChanged(System.Object, Microsoft.Dynamics.Kernel.Client.UI.WPF.Controls.SegmentValueChangedEventArgs)
at Microsoft.Dynamics.Kernel.Client.UI.WPF.Controls.Segment.RaiseSegmentValueChangedEvent()
at Microsoft.Dynamics.Kernel.Client.UI.WPF.Controls.Segment.SetSelectedValue(Microsoft.Dynamics.Kernel.Client.UI.WPF.Controls.AutoCompleteDataEntry)
at Microsoft.Dynamics.Kernel.Client.UI.WPF.Controls.SegmentedEntry.newSegmentTextBox_KeyDown(System.Object, System.Windows.Input.KeyEventArgs)
at System.Windows.Input.KeyEventArgs.InvokeEventHandler(System.Delegate, System.Object)
at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
at System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs, Boolean)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawKeyboardActions, Int32, Boolean, Boolean, Int32)
at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(System.Windows.Interop.MSG ByRef, Boolean ByRef)
at System.Windows.Interop.HwndKeyboardInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at <Module>._wWinMainCRTStartup()
*This post is locked for comments
Hi
In my opinion, you have to analyze the Dump produce by the AX Client.
So, you need to capture hang dump from the AX client.
You can use Task Manager for this as well, but bear in mind that if the OS is x64, the 32-bit version of task manager (in C:\Windows\SysWOW64\taskmgr.exe) has to be used to get a valid dump file from a 32-bit process (see blog: blogs.msdn.com/.../capturing-memory-dumps-for-32-bit-processes-on-an-x64-machine.aspx)
In the link below you can find how to analyze the Dump.
blogs.msdn.com/.../finding-the-x-stack-and-ax-user-with-public-symbols-in-ax2012.aspx
Finally, I suggest to Compile the Application and Full Cil as well.
Regards
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,902 Super User 2024 Season 2
Martin Dráb 229,336 Most Valuable Professional
nmaenpaa 101,156