SAP Knowledge Base Article - Public

2687837 - Error on Loading a Portlet on profile or hire wizard : errorId=null, timestamp=null, errorMessage=Cannot read property 'length' of null

Symptom

  • An Error Message appears on top of the page when a particular Portlet / Section is loading.
  • This usually occurs on the Add New Employee Wizard or on the Profile page of the user

Environment

  • SAP SuccessFactors Employee Central: Add New Employee
  • SAP SuccessFactors Employee Profile: Profile Portlet

Reproducing the Issue

  1. Navigate to a user's profile / go to Add New Employee Wizard
  2. An Application Error shows up on top of the page when one of the Portlets / Sections is being loaded :

errorId=null, timestamp=null, errorMessage=Cannot read property 'length' of null, errorName=TypeError

Cause

  • This Error message usually comes up while loading the UI of the respective Block.
  • For Example, if this Error message comes up while loading the Job Information Block, the UI block for this Section needs to be reset.

Resolution

  1. Navigate to Configure People Profile -> Job Information Block. Remove the Block from the configuration, save it and then add it back and save.
  2. Follow the same steps for the affected blocks and the Error message should no longer appear

Keywords

SF, EC, Success factors, Employee Central, PP3, People Profile 3, Application Error, UI , KBA , LOD-SF-EC-HIR , Hire & Rehire Wizards , LOD-SF-EC-PP3 , People Profile (PP3) , Problem

Product

SAP SuccessFactors Employee Central 1611 ; SAP SuccessFactors HCM Suite 1511