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
- Go to Add New Employee
- Fill Identity session and go to Personal information
- Fill all required fields in Personal information
- 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
- Go to Configure People Profile
- Select to edit Employment Details/Job Information dialog
- Open country specific configuration (prioritize checking the country for the company you are hiring)
- Reorder the Country specific field
- Save
- Add the Country specific fields back in the desire
- 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