SAP Knowledge Base Article - Public

3769016 - Application error when saving global information in people profile

Symptom

  • Application error occurs when editing/saving Global Information in People Profile.
  • Error message displayed includes text such as: "An application error has occurred. Please try again later. If the problem persists, contact support and provide the error information (Error ID, timestamp, and version)."
  • Backend log excerpt shows NullPointerException: IECPersonEntityInputResolver.processChildChangesWithParent (line 139), "Cannot invoke java.util.List.forEach(...) because java.util.Map.get(Object) returned null."

Environment

  • Product: SAP SuccessFactors Employee Central
  • People Profile - Full Profile

Reproducing the Issue

  1. Sign in and act as a non-admin user 
  2. Open a user's People Profile and go to Personal Information > Global Information.
  3. Change any field in Global Information.
  4. Save the changes; an application error dialog appears.

Cause

  • Configuration issue: globalInfo is a child element of personalInfo. Revoking view permission for all fields of personalInfo is not a legitimate configuration. With no view permission on personalInfo (including first-name and last-name), saving changes to globalInfo leads to a null reference during processing and raises an application error.

Resolution

  1. Review Role-Based Permissions for the affected user/role.
  2. Under Personal Information, grant at least View permission for the fields "first-name" and "last-name".
  3. Ensure the user also has the required permissions for Global Information as needed.
  4. Save the permission changes.
  5. Re-test saving Global Information in People Profile to confirm the error no longer occurs.

See Also

Keywords

global information, personal information, people profile, application error, nullpointerexception, view permission, first-name, last-name, permissions, save error, globalInfo, personalInfo, employee central, error id, INC29287675, Cannot invoke java.util.List.forEach(...) because java.util.Map.get(Object) returned null , KBA , LOD-SF-EC-PER , Person Data (All Person Data Types) , How To

Product

SAP SuccessFactors Employee Central all versions