In Provisioning, the Send Notifications for Abandoned Job Applications Job keeps failing with a specific error message contained in the Job Details.
SAP SuccessFactors Recruiting Management
Reproducing the Issue
- Go to Provisioning
- Navigate to the Monitor Jobs page
- Search for the Job Type= Send Notifications for Abandoned Job Applications
- The Job Status will show as failed.
- Click into the Details link on the failed Job itself
- Clicking into this will provide the root cause
You should receive an error message similar to the following; Caused by: java.lang.NullPointerException: while trying to invoke the method com.successfactors.rcmcandidate.bean.CandidateBean.getFirstName() of a null object loaded from local variable 'candidate'
Ensure that the first name and last name fields are set as mandatory=true in the Candidate Profile Template. This job fails when the system attempts to send the relevant email to candidates with a null/incomplete first name.
Please see the following KBA for more details on the Job itself; KBA #2878628 - Complete and Submit Your Job Application Trigger
getFirstName, null, rcmcandidate, CandidateBean, JobApplicationAbandonedNotificationJobType , KBA , LOD-SF-RCM-SYS , System Performance, Usability, Errors, Security , Problem