Announcements
Hi All,
when trying to add two sysoperationbatch class to create dependable conditional batch task and when executing the batch it is immediatly moving to error state and getting the below error.
An error occurred while processing batch job xxxMicrosoft.Dynamics.Ax.Xpp.ErrorException: An error occurred while processing batch job xxx at Dynamics.AX.Application.BatchRun.`runJobStaticCodeFromBuffer(Batch buffer) in xppSource://Source/ApplicationPlatform\AxClass_BatchRun.xpp:line 835 at Dynamics.AX.Application.BatchRun.runJobStaticCodeFromBuffer(Batch buffer) at Dynamics.AX.Application.BatchRun.`runJobStaticFromBuffer(Batch buffer) in xppSource://Source/ApplicationPlatform\AxClass_BatchRun.xpp:line 773 at Dynamics.AX.Application.BatchRun.runJobStaticFromBuffer(Batch buffer) at Microsoft.Dynamics.AX.Batch.BatchRunAction.Run() at Microsoft.Dynamics.AX.Batch.Batch.ExecuteOneBatchJobTask(BatchTaskInfoWrapper taskInfo)
End of task log
Thanks in advance.
I would start by looking properties of the exception, such as Message.
Hi Rusty Ryan,
I had more a less similar issue recently and it was related to the broken unpack method. I realized by checking the exact line from a stack trace in BatchRun.
In your case, it's line 835 and in my version, there is an error statement with the message "Unable to construct an object from the class %1 in the batch framework. Make sure that the X++ code has been compiled to Microsoft .NET Framework CIL, and that the constructor does not require any parameters." Maybe class you trying to add to the batch processing have a private new method?
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 676
Abhilash Warrier 635 Super User 2026 Season 1
André Arnaud de Cal... 605 Super User 2026 Season 1