CA PPM Navigation Menus Invisible and Inactive

Document ID : KB000113471
Last Modified Date : 10/09/2018
Show Technical Document Details
Issue:
The Administration menu is invisible to admin users and the Home and Favorites menus are inactive (i.e. they do not respond and diplay menu items when clicked so they are unusable).
Cause:
We found some error messages in the bg-ca.log file showing that because of calculated attribute recursion, a memory stack overflow error had occurred:

ERROR 2018-09-09 02:34:15,063 [Event Interest Registration Thread] odf.out (clarity:admin:-1:none) Unable to parse expression for calculated attribute: td_cmp_total_cmpx expression: (td_cmp_digital_tp+td_cmp_analog_tp+td_cmp_dc_tp) 
java.lang.NullPointerException 

The above null pointer exception occurred, due to the unavailability of dependent attribute which failed with the below StackOverFlow error. 
at com.niku.odf.exprbuilder.calcAttribute.ExpressionTranslator.getQuery(ExpressionTranslator.java:370) 
ERROR 2018-09-09 02:34:15,079 [Event Interest Registration Thread] odf.out (clarity:admin:-1:none) Unable to parse expression for calculated attribute: td_cmp_site_count expression: td_cmp_site_loop+ (td_cmp_site_loop*(0.3*((Power(td_site_count,0.2))-1))) Syntax error 

ERROR 2018-09-09 02:34:15,079 [Event Interest Registration Thread] niku.union (clarity:admin:-1:none) Register interest in events for AutoStart processes failed 
java.lang.StackOverflowError 
at com.niku.odf.exprbuilder.calcAttribute.ExpressionTranslator.parameterList(ExpressionTranslator.java:171) 
at com.niku.odf.exprbuilder.calcAttribute.ExpressionTranslator.getQuery(ExpressionTranslator.java:612) 
at com.niku.odf.exprbuilder.calcAttribute.ExpressionTranslator.getQuery(ExpressionTranslator.java:370) 
 
Resolution:
A jvm parameter size was increased (i.e. -Xss50m) in CSA for the app and bg services to take care of the stack size and this workaround resolved the issue.

The PPM developers at the site must resolve the calclated attribute recursion issue by redefining them to prevent the recursion for a permanent solution.