SAP Knowledge Base Article - Public

3506834 - Error when Completing Buddy Task - Onboarding

Symptom

Assignee receives error "ChangeSet index 1 - class com.successfactors.genericobject.bean.eo.SyncGOToBeanImpl cannot be cast to class com.successfactors.onboarding2.bean.ruleModel.ONB2ProcessCloseRuleModel (com.successfactors.genericobject.bean.eo.SyncGOToBeanImpl and com.successfactors.onboarding2.bean.ruleModel.ONB2ProcessCloseRuleModel are in unnamed module of loader java.net.URLClassLoader" when completing Buddy new hire activity.

Environment

SAP SuccessFactors Onboarding

Cause

Rule "ONB2_ProcessClosurePeriodConfig"is not configured properly.

Resolution

  1. Navigate to Configure Business Rules
  2. Open rule ONB2_ProcessClosurePeriodConfig
  3. or search for rule scenario Configure the Period to Close and Archive Onboarding or Offboarding Processes and Tasks
  4. Make Correction
  5. Change the "Rule Model for Onboarding Process Closure.Process.Event Reason for Onboarding Cancellation" to

    "Rule Model for Onboarding Process Closure.Event Reason for Cancelling Onboarding"

  6. Please also refer to KBA 3192452 for how rule should be configured

Keywords

ChangeSet index 1 - class com.successfactors.genericobject.bean.eo.SyncGOToBeanImpl cannot be cast to class com.successfactors.onboarding2.bean.ruleModel.ONB2ProcessCloseRuleModel (com.successfactors.genericobject.bean.eo.SyncGOToBeanImpl and com.successfactors.onboarding2.bean.ruleModel.ONB2ProcessCloseRuleModel are in unnamed module of loader java.net.URLClassLoader, Buddy, ONB2_ProcessClosurePeriodConfig, archive, process closure, assign buddy , KBA , LOD-SF-OBX-NHA , New Hire Activities (activities, tasks, buddy, equipment) , LOD-SF-OBX-JPC , Process close job , Problem

Product

SAP SuccessFactors Onboarding 2405