SAP Knowledge Base Article - Public

3721370 - Importing "Job Profile-Short description " gives "Error occurred. java.lang.NullPointerException: Cannot invoke 'com.successfactors.genericobject.bean.model.impl.GOLocalizedData.getString(java.util.Locale)' because the return value of

Symptom

  • An error occurs when attempting to import the Job Profile-Short description CSV file into the Schedule Job Manager. The system displays a "Failed" status in the column.
  • Error message: "Error occurred. java.lang.NullPointerException: Cannot invoke 'com.successfactors.genericobject.bean.model.impl.GOLocalizedData.getString(java.util.Locale)' because the return value of 'com.successfactors.jdmng.bean.jobprofile.SkillContent.getProLevel()' is null."

Environment

SAP SuccessFactors Talent Intelligence Hub

Reproducing the Issue

  1. Go to "Manage Job Profile Content Import/Export".
  2. Select the import file attached.
  3. Select Type: Job Profile-Short Descriptions.
  4. Set File Encoding to Unicode (UTF-8).
  5. Click Import.
  6. Navigate to "Scheduled Job Manager".
  7. Observe the Status showing Failed and click View Details to see the description:

"Error occurred. java.lang.NullPointerException: Cannot invoke 'com.successfactors.genericobject.bean.model.impl.GOLocalizedData.getString(java.util.Locale)' because the return value of 'com.successfactors.jdmng.bean.jobprofile.SkillContent.getProLevel()' is null."

Cause

  • The issue is caused by invalid content found in the proficiency level. Eg. The system is configured to use a 1-5 scale, and a value of 0 is unintelligible, resulting in the error message.

Resolution

  1. Review the import file for any proficiency levels set to a number that falls outside of the Proficiency scale used in the system, eg. 0, when the system is on a 1-5 scale.
  2. Remove all instances of the number that falls outside of the Proficiency scale used in the system from the import file.
  3. Ensure the proficiency levels in the file align with the configured scale of the system.
  4. Re-import the corrected file using "Manage Job Profile Content Import/Export".
  5. Validate and import the file again, then check the status in "Scheduled Job Manager".

See Also

2949010 - Mass Import Job Profile Builder Data - SAP for Me

Keywords

job profile import error, null pointer exception, proficiency level issue, CSV import failed, schedule job manager error, job profile builder, java.lang.NullPointerException, skill content error, manage job profile import/export, proficiency scale mismatch, Error occurred. java.lang.NullPointerException: Cannot invoke 'com.successfactors.genericobject.bean.model.impl.GOLocalizedData.getString(java.util.Locale)' because the return value of 'com.successfactors.jdmng.bean.jobprofile.SkillContent.getProLevel()' is null. , KBA , LOD-SF-TIH-JPB , Job Profile Builder , How To

Product

SAP SuccessFactors HCM Suite 2511