SAP Knowledge Base Article - Public

2869743 - Application Error When Trying to Edit a Field in a Job Requisition (Cannot read property 'options' & reading 'selectedIndex') - Recruiting Management

Symptom

When trying to edit a field in the Job Requisition, you put the new information, and by just clicking outside the field an error message is thrown, without having to save the changes. All the operators have the correct permissions to edit this field in question.

The errors will be like:

  • errorId=null, timestamp=null, errorMessage=Cannot read property 'options' of null, errorName=TypeError
  • Cannot read properties of null (reading 'selectedIndex'), errorName=TypeError

Environment

SAP SuccessFactors Recruiting Management

Reproducing the Issue

  1. Go to the requisition
  2. Go to the field you wish to edit
  3. Change its value
  4. Click outside of the field
  5. Receive the error message

Cause

There's an OnChange rule associated to this field, and the operators having trouble don't have the permission to edit the fields described to be changed in the rule.

Resolution

For this case, there are two possible solutions:

  • Provide the operators the permission to edit those fields defined in the rule
  • Remove the rule associated to the field you're trying to edit

This is because if you provide the permission to write on those fields, they will be able to edit it and the rule to be applied. However, if you don't add the permissions, the rule should be removed in order to be able to edit the field value in the Job Requisition.

Keywords

errorId=null, timestamp=null, errorMessage=Cannot read property 'options' of null, errorName=TypeError, change, field, value, update, operator, edit, requisition, selectedIndex , KBA , LOD-SF-RCM-JOB , Job Postings & Requisitions , Problem

Product

SAP SuccessFactors Recruiting all versions