Symptom
Job requisitions cannot be created from certain positions due to competency related error of type null with the index 0.
Examples of some possible errors:
Sorry, the requisition cannot be created. Creation of a job requisition for position XXXXXXX failed. Details: Cannot invoke "com.successfactors.capabilitymanagement.bean.competency.CompetencyEntity.getInternalId()" because the return value of "com.successfactors.jdmng.bean.jobprofile.CompetencyContent.getEntity()" is null with the index 0
Sorry, the requisition cannot be created. Creation of a job requisition for position XXXXXXX failed. Details: Cannot invoke "com.successfactors.capabilitymanagement.bean.competency.CompetencyEntity.getName()" because the return value of "com.successfactors.jdmng.bean.jobprofile.CompetencyContent.getEntity()" is null with the index 0
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
SAP SuccessFactors Recruiting Management
Reproducing the Issue
- Go to Company Info -> Position Org Chart and select position;
- Go to Actions -> Create Job Requisition;
- Select template and click Create, the error will pop-up.
Cause
Competencies have been deleted but they are still mapped in the position job profile in Manage Data.
Resolution
Remove the mapping of these invalid competencies following the steps below:
- Go to Manage Data > Job Profile and search for the job profile;
- You'll see some records, please open each one of them;
- Click to Take Action > Make correction and see the competencies;
- For the invalid competencies (No Selection) you must remove the linked competency in the job profile. Just click the Edit option then trash icon.
- Remember to do the steps above for all positions affected;
- Once you finish, go to Admin Center > OData API Metadata Refresh And Export > Run Cache Refresh.
After performing these steps, you're able to create job requisition from the position without error.
Keywords
failure, failed, position, integration, competencies, job profile, "Sorry, the requisition cannot be created", "Cannot invoke "com.successfactors.capabilitymanagement.bean.competency.CompetencyEntity.getName()" because the return value of "com.successfactors.jdmng.bean.jobprofile.CompetencyContent.getEntity()" is null with the index 0", "Cannot invoke "com.successfactors.capabilitymanagement.bean.competency.CompetencyEntity.getInternalId()" because the return value of "com.successfactors.jdmng.bean.jobprofile.CompetencyContent.getEntity()" is null with the index 0" , KBA , LOD-SF-RCM-POS , Position Integration , Problem
SAP Knowledge Base Article - Public