[BulkInsert] BulkInsert component error
bulkinsert
Service icon
Forge component by Galter
Application Type
Reactive
Service Studio Version
11.14.16 (Build 60354)

Hi There,

I use an Oracle DB to work with this component. I am facing an error when i try to upload data from an excel file using this component. Error:  "BulkInsert: Index was outside the bounds of the array. "


InsertCBSData
 System.Exception: BulkInsert: Index was outside the bounds of the array.
    at Object.s [as getException] (https://osdev.rblbank.com/UPI/scripts/OutSystems.js?eq9LGmzdgJbMq6dbNoVMvQ:2:10241)
    at c.onSuccess (https://osdev.rblbank.com/UPI/scripts/OutSystems.js?eq9LGmzdgJbMq6dbNoVMvQ:3:6706)
    at XMLHttpRequest.<anonymous> (https://osdev.rblbank.com/UPI/scripts/OutSystems.js?eq9LGmzdgJbMq6dbNoVMvQ:3:2122) 

IDK why this error occurs. I tried changing the order in which my structure uploads the data to the entity, but it error still persists.

My flow: 

-> The local variable CBS list is of type list record structure.  Since both entities have similar columns, i have used a common structure to which excel data is appended. 

-> based on the if condition the data gets stored in the right DB. 

Can anyone please help me with this error.

So we got a small update on the Component to upgrade the .Net version, but this Oracle Bug that is going arround for a long time wasn't fixed. The Solution to this was already provided in another thread, it requires a slight code change. Can we get this, please?!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.