web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX Client Crash when entering General journal entry – AX2012 R2 CU7

(0) ShareShare
ReportReport
Posted on by

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

  • Suggested answer
    Denis Macchinetti Profile Picture
    16,444 on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans