SAP Knowledge Base Article - Public

3132158 - "getParent() of a null object loaded from local variable 'eo'" error occurs when upsert MDF entity

Symptom

Customer uses Postman to insert MDF entity with error: "while trying to invoke the method com.successfactors.genericobject.api.bean.GenericObject.getParent() of a null object loaded from local variable 'eo' with the index 0"

Note: The issue is not existed when the user has Permission 'Admin access to MDF OData API'.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP SuccessFactors HXM Suite
MDF OData API

Reproducing the Issue

Upsert MDF entity with child entity:

Cause

Customer changed 'visibility' field of MDF parent detail to other values. Please keep the default Settings of this value.

Resolution

Please check visibility field, navigate to  Admin Center > Configure Object Definitions > open the detail of the MDF entity > Edit the details of parent field -> Change the visibility field to 'Not visible'.

Keywords

"while trying to invoke the method com.successfactors.genericobject.api.bean.GenericObject.getParent() of a null object loaded from local variable 'eo' with the index 0", "500", "MDF Upsert" , KBA , LOD-SF-INT-MDF , Metadata Framework API (MDF) , Problem

Product

SAP SuccessFactors HCM Core all versions