SAP Knowledge Base Article - Public

3341035 - Null error on Add New Employee OR on People Profile - Employee Central

Symptom

When performing Add New Employee or making a change in People Profile an error appear:

errorId=null, timestamp=null, errorMessage=Cannot read properties of null (reading 'renderStyle'), errorName=TypeError

Environment

  • SAP SuccessFactors Employee Central

Reproducing the Issue

  1. Go to Add New Employee
  2. Fill Identity session and go to Personal information
  3. Fill all required fields in Personal information
  4. When trying to go to next page (Job Information) error appears:

errorId=null, timestamp=null, errorMessage=Cannot read properties of null (reading 'renderStyle'), errorName=TypeError

Cause

Country specific field is corrupted in Employment details/Job information people profile configuration.

Tip: One of the symptom of the corrupted field is that field will be larger than the other fields.

Resolution

  1. Go to Configure People Profile
  2. Select to edit Employment Details/Job Information dialog 
  3. Open country specific configuration (prioritize checking the country for the company you are hiring)
  4. Reorder the Country specific field
  5. Save
  6. Add the Country specific fields back in the desire
  7. Save

Keywords

errorId=null, timestamp=null, errorMessage=Cannot read properties of null (reading 'renderStyle'), errorName=TypeError, add, new, employee, recruit, people, profile, job, information, loading, not, load, hire, screen, rehire, wizard, error, , KBA , LOD-SF-EC-HIR-NEW , Add New Employee Wizard , LOD-SF-EC-JOB-UI , History UI & MSS UI , LOD-SF-EC-EMP , Employment Information (Employment Details) , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Suite all versions