SAP Knowledge Base Article - Public

2679942 - Error: Cannot read property 'indexOf' of undefined While Accessing a Users Job Info History

Symptom

User receives an error similar to the below when attempting to access the Job Information History of a user.

errorId=null, timestamp=null, errorMessage=Cannot read property 'indexOf' of undefined, errorName=TypeError, server=239sc12bcf05t, versionInfo=Release%3A%20b1805.20180802073351%0A%20%20%20%20Server%3A%20239sc12bcf05t%0A%20%20%20%20Timestamp%3A%202018-08-09T07%3A08%3A56.077%2B0000

Environment

  • Employee Central - People Profile 3
  • Employee Central - Picklist Management

Reproducing the Issue

  1. Navigate to the profile of a user
  2. Select the Job Information History icon
  3. Receive the application error.

Cause

This is caused by incorrect data in the users Picklist file. A carriage return was entered in the picklist file in the middle of the label.

Resolution

  1. Correct the Picklist data by using Excel or Notepad++ or a similar software to remove he incorrect data.
  2. Re-import the effected picklists

Once the data has been corrected, you should no longer receive the error.

Keywords

error, indexOf, picklist, return, errorMessage=Cannot read property 'indexOf' of undefined , KBA , LOD-SF-EC-PP3 , People Profile (PP3) , Problem

Product

SAP SuccessFactors HCM Core 1805