When I update a baseline or create a new one I receive a system error 500. Why?
The baseline saving action calls the "Update Earned Value Totals" job. Please make sure that the job is active on the administration side as it is required at the time of dealing with baselines. This scenario happens when the job has been inactivated.
After the error happens, you might find this error on the app-ca.log file:
ERROR 2014-03-24 08:22:59,253 [http-bio-14001-exec-250901] niku.xql2 (clarity:[email protected]:11283645__F072D740-B38B-4AB3-A22C-5703EDFA48BC:projmgr.baselineRevisionPropertiesCreate) Internal Processing exception java.lang.NullPointerException at com.niku.njs.JobImpl.getScheduleTime(JobImpl.java:243)
....
SQL trace and Debugs might be of this nature:
DEBUG 2014-04-03 14:35:33,221 [http-bio-14001-exec-43] niku.njs (clarity:[email protected]:11128057__1DBA9F56-DD9A-4F35-8C75-154B7CF5AE59:p rojmgr.baselineRevisionPropertiesSubmit) Scheduler.schedule: id=5062049 jobDefinitionId=5000046 status=NOT_SCHEDULED name=Update Earned Value Totals schedulerListener=com.niku.evm.jobs.UpdateEVTotalsJob startDate=2014-04-03 14:35:32.0 scheduleDate=2014-04-03 14:35:33.139 recurrenceType=0 endDate=2014-04-03 14:35:32.0 params=projectId=5003704,projectId=5003704 minutes=35 hours=14 months=null daysOfWeek=null daysOfMonth=null