Generate Incremental CIL errors

Hi everyone,

When i try to Generate Incremental CIL compilation, i am getting the below errors.

–“CIL generation: Value cannot be null. Parameter name: parameterTypes”

–“CIL generation: Object reference not set to an instance of an object.”

Please suggest me that, why these errors and how to solve.

i hpu the below links will help u

http://sinedax.blogspot.com/2012/02/ax-2009-ep-sysargumentnullexception.html

http://blog.walisystemsinc.com/2011/11/value-cannot-be-null-parameter-name.html

http://sinedax.blogspot.com/2012/02/ax-2009-ep-sysargumentnullexception.html

http://community.dynamics.com/product/ax/f/33/t/48820.aspx

http://community.dynamics.com/product/ax/f/33/p/62627/113480.aspx#113480

http://community.dynamics.com/product/ax/f/33/p/60614/111208.aspx

http://daxdilip.blogspot.com/2011/08/troubleshooting-dynamics-ax-2012-excel.html

http://community.dynamics.com/product/ax/f/33/p/60614/111208.aspx

thanks

i hpu the below links will help u

http://sinedax.blogspot.com/2012/02/ax-2009-ep-sysargumentnullexception.html

http://blog.walisystemsinc.com/2011/11/value-cannot-be-null-parameter-name.html

http://sinedax.blogspot.com/2012/02/ax-2009-ep-sysargumentnullexception.html

http://community.dynamics.com/product/ax/f/33/t/48820.aspx

http://community.dynamics.com/product/ax/f/33/p/62627/113480.aspx#113480

http://community.dynamics.com/product/ax/f/33/p/60614/111208.aspx

http://daxdilip.blogspot.com/2011/08/troubleshooting-dynamics-ax-2012-excel.html

thanks

Thanks Phani,

I wil try and let u know[:)]

Hi Phani,

I did not find any solution in anyone of above links.

Let me put more clarity on my issue,

I create a RunBaseBatch classes and its working fine when i run it normally. but, i am getting some CIL related erros while i run the same with batch processing.

So, to solve this, I clicked on Generate Incremental CIL compilatoin. after compilation i got few errors which are already i mentioned in the above.

Hi,

Two things to check -

  1. Have you ever completed ‘complete CIL compilation’? If not, try this first.

  2. Check all your customizations and make sure all are compiling correctly.

Hi,

Please follow the below steps to clear this error :

step1) First Stop the AOS.

step2) Delete all of the source in the C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL directory.

step3) Start the AOS.

step4) Perform a Full CIL.

step5) Perform a Incremental CIL

  1. Stop the AOS
  2. Delete the contents of the bin\XppIL [C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL] folder on the AOS server (with backup in place) [not the folders, just the files which are outside the folders - 2003 files in total]
  3. Restart the AOS
  4. Open AX
  5. In AOT, Navigate to Build → Generate Full CIL
    After doing these, if you still get any errors,
  6. Navigate to the individual objects in AOT which are throwing the errors
  7. Compile them one after the other.
  8. Full Compile Again [Build → Generate Full CIL]

It will solve your issue.