SAP Knowledge Base Article - Public

2824677 - Error while viewing Jobinfo -Null object loaded from local variable 'ruleResults'

Symptom

Error : null object loaded from local variable 'ruleResults' occurs when viewing Jobinfo

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

-Go to Employee Profile

-Scroll to Jobinfo section

Cause

Onview rule triggered to set value to the fields of the HRIS ELEMENT.

Resolution

Validate the 'OnView' event rules on the appropriate HRIS Element for the set conditions which is trying set value for the fields.

Example for incorrect onview rule:

'Set Job Information.Working Days per Week to be equal to Job Information.WorkSchedule.Average Working Days Per Week'

Solution: Remove the 'Onview' rule and set it as Onsave rule or redefine the Onview set conditions as per the standard.

OnView Event are used to calculate fields that are transient (this means the result is not a fixed value stored on the database, but is calculated during runtime when the user calls up the page)

For example, to calculate an employee's age. Note: Requires an additional onSave rule that sets the transient field back to null.

See Also

 https://help.sap.com/doc/cc751d98800d414ca72fc4695a9bf3e7/1902/en-US/SF_EC_Master_Impl.pdf

Keywords

fingerprint=c87fb7bd06d723a5f1501f97044b71658ac77fa2 null object loaded from local variable 'ruleResults' local variable 'ruleResults' , KBA , LOD-SF-EC-JOB , Job Information , Problem

Product

SAP SuccessFactors HCM Suite all versions