Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

NAV2016 Build 43897/44365: Recursion error when reversing a large Gen. Journal

Posted on by Microsoft Employee

Hello,

has anyone a proven solution for the following recursion error:

Our client wants to reverse the journal of a close income statement, that has been posted with dimensions and additional reporting currency. They get the error, that NAV is running out of memory because of to many recursive function calls. 

In the debuggers call stack you can see that the not subscribed event trigger OnAfterInsertGlobalGLEntry() of codeunit 12 has been fired from within function FinishPosting more then 4900 times. 

Our temporary solution was commenting out the OnAfterInsertGlobalGLEntry() event trigger call in codeunit12.FinishPosting(). After that it works as it should.

IMO it seems to be not a very stable solution how events are implementetd then. It can't be the solution that the size of general journals to reverse depends on the NAV servers memory?! 

Best regards,

Marco

*This post is locked for comments

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: NAV2016 Build 43897/44365: Recursion error when reversing a large Gen. Journal

    Hi,

    If you are still facing this issue then open incident to MS so they can provide the solution

  • Abz@Tecman Profile Picture
    Abz@Tecman 10 on at
    RE: NAV2016 Build 43897/44365: Recursion error when reversing a large Gen. Journal

    Hello

    I've got the same scenario where a user is posting a single cash receipt journal line that is applied against 1200+ customer ledger entries.... previous postings have gone through fine.

    Did anyone get a permenant long term resolution for this?

  • Sergisoft Profile Picture
    Sergisoft 20 on at
    RE: NAV2016 Build 43897/44365: Recursion error when reversing a large Gen. Journal

    Hi Marco,

    I had the same issue at posting a big journal and I get it temporary sorted doing the same change you did.

    Hopefully MS will get it sorted on next CU.

    Thanks,

    Sergi.

  • keoma Profile Picture
    keoma 32,675 on at
    RE: NAV2016 Build 43897/44365: Recursion error when reversing a large Gen. Journal

    if it is not customized, please open a ticket at microsoft support.

    please write a feedback, if they provide a solution.

    if it is a known bug, it will be solved with an upcoming hotfix or CU.

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans