SAP Knowledge Base Article - Public

3532695 - Error during Income Tax Declaration Submission - 'Cannot read properties of null'

Symptom

  • An error occurs when attempting to submit the actual income tax declaration.
  • The error message displayed is: "errorId=null, timestamp=null, errorMessage=Cannot read properties of null (reading 'toLowerCase'), errorName=TypeError".

Environment

Income Tax Declaration

Reproducing the Issue

  1. Attempt to submit the actual income tax declaration.
  2. Encounter the error message.

Cause

  • The issue arises due to the presence of two attachment fields in the Income Tax Declaration object definition and Manage Configuration UI.
  • One of these fields is standard delivered and the other is a custom field.
  • In SuccessFactors, each record in employee central elements and MDF can only have one associated attachment. The presence of multiple attachments is not supported, leading to the error.

Resolution

  1. Identify the custom attachment field in the Income Tax Declaration object definition and Manage Configuration UI.
  2. Delete the custom attachment field from both the Manage Configuration UI and the object definition.

See Also

Keywords

Income Tax Declaration, Error, Submission, Cannot read properties of null, TypeError, Attachment Fields, SuccessFactors, Employee Central Elements, MDF, errorMessage=Cannot read properties of null (reading 'toLowerCase') , KBA , LOD-SF-EC-TAX , Income Tax Declaration , Problem

Product

SAP SuccessFactors Employee Central all versions