Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

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

Posted on by Microsoft Employee

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
    Denis Macchinetti 16,444 on at
    RE: AX Client Crash when entering General journal entry – AX2012 R2 CU7

    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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,336 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans