Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Errors in event logs

Posted on by 655

Hi,

One of our French customers is having some strange errors in the event viewer every 25 minutes.

I don't know why because the session 65535 isn't listed in the online users.

Besides this error message, Ax is working perfectly. No issues have been reported by the customer.

I must admit that I've only started working in AX starting from version 2009 so might be overlooking something obvious.

Error 1

Object Server Axapta: Dialog issued for client-less session 65535: Erreur d'exécution de code: Débordement de la pile d'exécution interne.

Suivi de la pile:
(S) \Classes\xRecord\postLoad

Error 2

Object Server Axapta: Dialog issued for client-less session 65535: Erreur d'exécution de code: Débordement de la pile d'exécution interne.

Suivi de la pile:
(S) \Classes\xRecord\Insert

Any idea's/suggestions would be welcome ...

Regards,

Sven Peeters

*This post is locked for comments

  • Martin Dráb Profile Picture
    Martin Dráb 230,056 Most Valuable Professional on at
    RE: Errors in event logs

    The translation of the error seems to be "Overflow of the internal runtime stack", which means that you have a loop of method calls, which runs until the runtime runs out of all space on the stack.

    The first message mentions postLoad(), so I would review all customized postLoad() methods to see if I can't spot anything suspicious. The same could be done with insert() (mentioned in the latter message), but postLoad() is overridden less often, therefore it's a better starting point.

    By the way, SP4 is really old; I believe it's what I worked on already more than twelve years ago. Installing the latest kernel rollup and application service pack for Axapta 3.0 sounds like a good idea to me.

  • RE: Errors in event logs

    I will propose this solution because all other solutions failed.

  • Denis Macchinetti Profile Picture
    Denis Macchinetti 16,444 on at
    RE: Errors in event logs

    Hi Sven

    Try to stop AOSs, delete the AXAPD.AOI file in each AOS application folder and start the AOSs.

    Are many year that I don't work with AX 3.0, but I remember something similar.

  • RE: Errors in event logs

    Hi Vilmos,

    I'll start be checking the latest platform update ( binary hotfix ) available for AX3.

    Opening a support incident will not be possible because AX3 is not supported any longer.

    I'll get back to you once I've checked the binary hotfix option with the customer.

    Since it is happening like every 25 minutes 24/7 and no batch processing is done, I think it will be quite hard to coorelate it with a specific task.

    Might be the AOS that checks the cache of the tables or something like that.

    I'll see if I can find any clues in that direction.

  • Suggested answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: Errors in event logs

    The errors look quite strange, since xRecord is a kernel class. Some record manipulation seems to be failing.

    Microsoft might already have a fix if it is a known problem for them, have you verified if your AX AOS and Client versions are on the most recent binary hotfix available for your specific release?

    Maybe you could try to identify what processes are running at the time that the error message happens, to correlate it with a specific task (batch job running at that time, workflow, ad-hoc reporting, posting larger journals, etc.).

    If that does not steer you in the right direction of identifying the problem, you should consider opening a support incident with Microsoft.

  • RE: Errors in event logs

    Hi André,

    I forgot to mention that they don't do any batch processing in AX, so you think this must be coming from the kernel then?

    I did look for a translation and it would be : error executing code : stack overflow

    Regards,

    Sven Peeters

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,219 Super User 2024 Season 2 on at
    RE: AX 3 SP4 - Errors in event logs

    Hi Sven,

    Can you try to get at least the error messages in English?

    This process might be a kernel process. Can it ve related to some batch processing?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,219 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans