Symptom
When trying to create an offer approval or to send it for approval process, receive an error message.
- Fingerprint: 5f8e1a67dc0630faeeecb503d351b44c8f944440
- Application logs point to: while trying to invoke the method com.successfactors.picklist.bean.PicklistBean$Option.getLabel(java.util.Locale) of a null object loaded from local variable 'option'
OR
- Fingerprint: fcae20d2b16f89756e1620124f27f2b79c0ed969
- Application logs point to: while trying to invoke the method java.lang.Long.toString() of a null object returned from java.util.List.get(int)
Environment
SAP SuccessFactors Recruiting Management
Cause
The picklist option of one or more fields are not matching its source.
Example: standard field country is added to the offer approval template with picklist ISOCountryList, but it's referenced by the job application country field, which in the application template is associated to picklist country.
Resolution
This is a misconfiguration between the association of fields in the templates.
When a field in the Offer Approval Templates is coming either from the Job Application or the Job Requisition, the picklist options must match. What happens is that RCM tries to send the value selected from the source (Application or Requisition) into the Offer Approval but the option ID of the selected value in the source is not found in the target (Offer Approval), so the error is displayed.
It would be required to correct the information in at least one of sides, either the Offer Approval Templates or the Job Application. It's important to mention that wherever side you choose to change the picklist option, it would need to update all of the existing records to one option of the new picklist selected. The prior selected value will be no longer valid.
Keywords
getCountryCode, 5f8e1a67dc0630faeeecb503d351b44c8f944440, while trying to invoke the method com.successfactors.picklist.bean.PicklistBean$Option.getLabel(java.util.Locale) of a null object loaded from local variable 'option', picklist, offer, approval, application, requisition, job, error, route, send, approve, create, fcae20d2b16f89756e1620124f27f2b79c0ed969, while trying to invoke the method java.lang.Long.toString() of a null object returned from java.util.List.get(int) , KBA , LOD-SF-RCM-CAO , Candidate Offers, Offer Letters , Problem