SAP Knowledge Base Article - Public

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


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


SAP SuccessFactors Employee Central

Reproducing the Issue

-Go to Employee Profile

-Scroll to Jobinfo section


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


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


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


SAP SuccessFactors HCM suite all versions