SAP Knowledge Base Article - Public

3096204 - RCM Entity Anonymisation Job failed - Recruiting Management

Symptom

The job (RCM Entity Anonymisation Job) in provisioning that is responsible to purge candidate data is giving out the following error:

Full exception:com.successfactors.jobscheduler.ScheduledJobExecutionException: java.lang.NullPointerException: while trying to invoke the method com.successfactors.genericobject.api.bean.businessobjects.Country.getCode() of a null object returned from com.successfactors.dataretention.api.drtm.config.DRTMRetentionTimeConfig.getCountry()

Environment

SAP SuccessFactors Recruiting Management

Reproducing the Issue

  1. Log into provisioning
  2. Go to Manage Scheduled Jobs
  3. Search for Job type: RCM Entity Anonymisation Job
  4. Click Refresh
  5. Click Select > Run it now > OK
  6. Go to Monitor jobs
  7. Search for Job type: RCM Entity Anonymisation Job
  8. Click Refresh
  9. See failed jobs
  10. Open details
  11. See Run Details:
  12. Error is displayed.

Cause

The issue is occurring because there is an inactive country, the DRTM retention configured in DRTMRCMApplicationRetentionTimeConfig has the inactive country listed.

Resolution

The Engineering team advised that this error occurs because a certain country is inactive, but the DRTM retention configured in DRTMRCMApplicationRetentionTimeConfig has the country.

The workaround suggested is to remove the inactive country from time retention config from Manage Data > DRTM Job Application Purge Object to resolve the issue.

The Engineering team have also done a code fix to handle the exception that was causing the RCM Entity Anonymization job to fail.

Keywords

RCM Entity Anonymisation Job, Error, Purge, DRTMRCMApplicationRetentionTimeConfig , KBA , LOD-SF-RCM-CAN , General Candidate Issues (not Offers, not Profiles) , Problem

Product

SAP SuccessFactors Recruiting all versions