SAP Knowledge Base Article - Public

2687837 - Error on Loading a Portlet : 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 HCM Core - All Versions
  • Employee Central - All Versions

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

  1. The Error message doesnt allow the user to Enter further information

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

  • Navigate to Configure People Profile -> Job Information Block. Remove the Block from the configuration, save it and then add it back and save.
  • 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 all versions ; SAP SuccessFactors HCM Core all versions ; SAP SuccessFactors HCM suite all versions