IH-ETL Final Preview Reports Index Out Of Bound Exception
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2023 05:21 PM
Scenario:
After running final preview, I got below error
java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2023 05:29 PM - edited 12-19-2023 12:43 AM
1. Ensure all schema fields are presented in raw data even though field has empty value
Currently we have a defect (PRB1611891 and PRB1725594) WIP that if in raw data, first object is missing some fields while in subsequent objects, those fields exist, it will trigger index out of bound exception. The workaround is to make sure that even if a field does not have any value, still add that field to object with empty string.
2. Adjust batch size to 1 for corresponding transform map in sys_robust_import_set_transformer table
Currently we have a defect (PRB1650482) WIP that when a conditional class mapping has both condition on first level object and deeper level collection object, it will trigger index out of bound exception. The workaround is to adjust batch size to 1 in sys_robust_import_set_transformer table for the specific robust transform map.