Notifications
Announcements
I was trying to post an invoice in Purchase ledger >pending supplier invoice and i got a stack trace error. Can anyone tell me how to resolve this
Thanks
*This post is locked for comments
Hi,
You need to find out first if it is related to your user only or a security role. Is it for all users and there are no customizations? Probably a full CIL compile and restart of AOS machines will solve this issue.
Otherwise it can be caused by customizations (or customized role).
Then you can include the full message to see if there are some hints for you.
Note: Following is not answer to your question. these are just my comments about 'the way you asked question'
itself 'stack trace' is not an error at all.
'stack trace' is a Data Structure that saves information about currently active functions/subroutines in any Programming Language.
So if I am telling someone that I am receiving 'stack trace' error that means something wrong in my compiler. because 'stack trace' is part of core framework of any programming language
In Dynamics AX, its treated by a class xSession, which you cannot see in AOT.
if you want to see current stacktrace, use following code
static void getSackTraceCurrent(Args _args) { info(con2str(xSession::xppCallStack())); }
Ax shows error with help of stack trace so that user can know where error occurred.
Telling anyone StackTrace error is not something really a hint.
Hi
A full CIL and restart was done yesterday just waiting to see it that resolved the issue if not will look at your other suggestions
I m facing same error in posting retail statements, and I restart AOS Machine as well and there is no issue regarding CIL.
please share solution.
I got Same Type of Issue, so I cleared the AUC Files and Cleared Cache. Now it works for me.
Vinod Kumar
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
TAHER Mehdi 3
Martin Dráb 2 Most Valuable Professional
Nakul 2