In one case, the problem was that the Country value on the Preferred addresses (for the Accounts on the record causing the issues) was “US” instead of “USA”. The Preferred address is what is getting associated with the batch items, and with the way TA code works, it treats any address not in country “USA” as being a foreign country.  At that point, TA tries to set the Installment Amount based on currency exchange rates, of which there are none configured. As a result, the Installment Amount for the batch is set to NULL, which is what is eventually leading to the ORA-06502: PL/SQL: numeric or value error: NULL index table key value error.

To fix this issue:

1. Correct the Country on the Preferred Address record.
2. Have SE change the Country on the 2 Pledges to 'USA' in the backend (after Step #1 is done)
3. Re-upload the records and confirm that there are no further errors.