Symptom
When launching forms you may encounter the following error message:
This scheduled job failed to complete. For details, please contact SuccessFactors customer support.
java.lang.NullPointerException: while trying to invoke the method com.successfactors.legacy.bean.eo.FullNameEO.getFirstName()
of a null object loaded from local variable 'fullNameEO'
You will find this job completes however the job details shows the above.
Environment
- SAP SuccessFactors Compensation
- SAP SuccessFactors Variable Pay
Reproducing the Issue
While launching forms for Compensation or Variable Pay under Manage Worksheets> Create Worksheets the job will complete however the details will show an error.
From the logs we see the following:
2019-12-02 17:45:00.282, ID="1154220152", JOB_REQUEST_ID="224875", NAME="CompMassCreate_AdminMassCreate_Mon Dec 02 17:35:06 CET 2019", COMPANY_ID="TESTCOMPANY", TYPE_NAME="CompMassCreate", HOSTNAME="pc2bs2job55t", QUEUE="default", STATUS="FAILED", WORKER_START_DATETIME="2019-12-02 17:35:16.016703", WORKER_END_DATETIME="2019-12-02 17:35:18.752236", RUN_AT="2019-12-02 17:35:16.0", SCHEDULED_DATETIME="2019-12-02 17:35:16.0", ERROR_INFO="Execution Job failed in JobExecutionProxy
com.successfactors.jobscheduler.ScheduledJobExecutionException: Execution Job failed in JobExecutionProxy
at com.successfactors.schedulerservice.JobExecutionProxy.execute(JobExecutionProxy.java:276)
at com.successfactors.schedulerservice.workermgmt.WorkerThread$ExecuteJob.execute(WorkerThread.java:192)
at com.successfactors.schedulerservice.workermgmt.WorkerThread$ExecuteJob.access$2(WorkerThread.java:188)
at com.successfactors.schedulerservice.workermgmt.WorkerThread.run(WorkerThread.java:72)
Caused by: com.successfactors.jobscheduler.ScheduledJobExecutionException: java.lang.NullPointerException:
while trying to invoke the method com.successfactors.legacy.bean.eo.FullNameEO.getFirstName() of a null object loaded from local variable 'fullNameEO'
at com.successfactors.jobscheduler.jobimpl.SimpleJob.execute(SimpleJob.java:485)
at sun.reflect.GeneratedMethodAccessor779.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.successfactors.perflog.PerfLogProxy.invoke(PerfLogProxy.java:216)
at com.sun.proxy.$Proxy331.execute(Unknown Source)
at com.successfactors.schedulerservice.JobExecutionProxy.execute(JobExecutionProxy.java:224)
Cause
This is being caused by data issues and invalid relationship links in Employee Central.
Resolution
If you are launching a form for Manager A and get this error you need to check the following from Manager A downward:
- Ensure there are no incorrect relationships between users in the file. if so, have these corrected.
- Ensure the data in the instance (EC) is fully in line with the UDF.
- All users (Active/Inactive) have populated first, middle and last names.
Keywords
CompMassCreate, fullNameEO, object loaded from local variable, CompMassCreate, launch forms, error launching forms, unable to launch forms, ECT-128340, compensation issues, comp form launch , KBA , LOD-SF-CMP-FRM , Forms & Templates , LOD-SF-VRP-FRM , Forms & Templates , LOD-SF-VRP , Variable Pay Programs , Problem