SAP Knowledge Base Article - Public

3596247 - Error when submitting New Employee - 1H 2025

Symptom

When hiring a new employee via Add New Employee page and submit it, error appears.

"java.lang.IllegalStateException: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "com.successfactors.workflows.api.bean.WorkflowPendingAttribute.getCategoryKey()" is null."

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

  1. Go to Add New Employee page
  2. Fill in all the details and proceed till last portlet 
  3. Click submit
  4. Error appears : "java.lang.IllegalStateException: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "com.successfactors.workflows.api.bean.WorkflowPendingAttribute.getCategoryKey()" is null."

Resolution

  • Engineering Team has done code fiix and The fix for this issue is planned to be deployed on April 29th 2025  in preview instance/
  • For patch timelines, please review SAP SuccessFactors Patches Knowledge Base

See Also

SAP SuccessFactors Product Release & Road Map Information

SAP SuccessFactors Patches Knowledge Base

KB Article 2171560 - How to be notified of new or updated SAP Notes or KBAs

Keywords

KI2505, 1H2505, INC12362930 , 2505, CS20250009709629 , error, Error, "java.lang.IllegalStateException: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "com.successfactors.workflows.api.bean.WorkflowPendingAttribute.getCategoryKey()" is null.", new hire, add new employee, employee, Employee, New Hire, Hire, hire, submit, Submit, hiring, release, Add New Employee, hire screen,jira,ECT-253253,PTCH-46589
 
, KBA , LOD-SF-EC-HIR-NEW , Add New Employee Wizard , LOD-SF-EC , Employee Central , LOD-SF-EC-HIR , Hire & Rehire Wizards , Known Error

Product

SAP SuccessFactors Employee Central 2505