Symptom
Export Job failed with the below error
========================
[ERROR] 2023-06-21 09:44:52 Error executing post-processing for generic export: Error processing payroll data.
[ERR_DTL] 2023-06-21 09:44:52 com.workforcesoftware.InterfacePrograms.PayrollExport.PPI.PayrollExportInternalException: Error processing payroll data.
[ERR_DTL] 2023-06-21 09:44:52 com.workforcesoftware.InterfacePrograms.PayrollExport.XXX.PayrollExportInternalException: Error processing payroll data Caused by: com.workforcesoftware.Exceptions.InternalApplicationException: Object at inddex 0 is null when it is not allowed.
Environment
SAP Time and Attendance Management by WorkForce Software (All versions)
Reproducing the Issue
1) Run the job to export the timesheet details for payroll
2) Job failed with the error mentioned in the symptoms
Cause
"Object at index 0 is null when it is not allowed" is thrown from SQL exception when the records are sent for processing and null value is present in the record(the script is expecting 14 characters but the query result for this field 'WORK_SCHEDULE_ID' has 15 characters .
Resolution
'WORK_SCHEDULE_ID' should be filled with 15 Characters
See Also
Characters, short of length, empty, WORK_SCHEDULE_ID
Keywords
KBA , XX-PART-WFR-TAM , SAP Time and Attendance Management by Workforce Software , Problem