Hi,
As Ram is pointed, there could be some syntax error in CMOD code. So check the code and refer below threads for similar issue but in ABAP.
http://scn.sap.com/thread/1557590
http://scn.sap.com/thread/2079279
Search results
Hope it helps you to fix the issue.
Thanks,
Umashankar