Symptom
When creating new records in custom MDF object A, users encounter an application error with message: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0.
Environment
- SAP SuccessFactors HCM Suite
- SAP SuccessFactors Metadata Framework
Reproducing the Issue
- Go to employee’s profile
- Navigate to MDF block A
- Click edit (pencil) icon and complete required fields
- Select Save and initiate workflow submission
Result: Application error occurs
Cause
An inactive document category assigned to an attachment field in MDF object A triggers system validation failure during record creation.
Resolution
Implement either solution:
Option 1: Remove Attachment Configuration
- Go to Manage Object Definition > Open object A
- Remove document category assignment from the affected attachment field
- Save and publish changes
Option 2: Reactivate Document Category
- Navigate to Admin Center > Manage Document > Document Categories
- Locate the relevant document category
- Change status from Inactive to Active
- Save configuration
See Also
3367503 - Unable to created a record in Manage Data for a custom MDF object
3591111 - Custom MDF portlet in the Latest People Profile not showing all fields or records created.
Keywords
application error, create custom MDF records, custom MDF, Manage object definition, Manage Document, document category, inactive, attachment field , KBA , LOD-SF-MDF-OBJ , Object Definition & Field Related Issues , Problem
SAP Knowledge Base Article - Public