IH-ETL Final Preview Reports Index Out Of Bound Exception

Siyou Li
ServiceNow Employee
ServiceNow Employee

Scenario:

 

After running final preview, I got below error

 

java.lang.IndexOutOfBoundsException: Index: 1, Size: 0

1 REPLY 1

Siyou Li
ServiceNow Employee
ServiceNow Employee

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.