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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Ax 2012 BreakException

(0) ShareShare
ReportReport
Posted on by

Hi All,

Last night a batch job  I created threw an exception like that:

I made a quick search with Google but I was not lucky.

Object Server 01:  Microsoft.Dynamics.Ax.Xpp.BreakException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.BreakException' was thrown.

   at Microsoft.Dynamics.Ax.MSIL.cqlClassIL.create(Int32 classId, Object[] parameters, Type[] types, Object[] varargs, Type[] varargsTypes, Object ILObject)

My question is what is a BreakException and how can I learn any information about it.

The batch job runs Daily but I got this error for the first time.

 

Any ideas will be appreciated.

Thanks,

SVL

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Amir Nazim Profile Picture
    5,994 on at

    any chance you have the breakpoint written on underline service or batch job class.

    run complete CIL will tell you if you have any BP.

  • Suggested answer
    syed baber Profile Picture
    11,633 on at

    Hi SVL,

    Try to run the code without batch and see if you are getting the same exception. This will give you some clue.

    Thanks,

    Baber.

  • Community Member Profile Picture
    on at

    Hi


    I'm facing the same problem. Did you found a solution or the origin of this errormessage?

    Thanks

  • Naresh Kolli Profile Picture
    563 on at

    Hi,

    If any code deplyment done and not compiled the code properly and also if CIL is not done, this type error may occur.

    Try to do incremental CIL and check, if done without errors then schedule the batch job and check.

    If CIL error, removes those CIL errors, then schedule the batch job and check.

  • Community Member Profile Picture
    on at

    Hi

    Thanks for your information. We restartet the AOS and recompiled (x++ and cil). And it seems to work now.

    Thanks a lot

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans