I've been dealing with a problem that causes the message "index 0 is out of range" to appear every time the programme is opened in the browser or refreshed. I also looked through the service center's error log, and I've included a picture with some pertinent information.
So, if anyone can assist, please do so. I'll also include the OML file for that program.
Installing it in others' environment will require all the dependencies. Please share the OML file of DVPP_DB module to check further.
I have attached the DVPP_DB module here thankyou
Hi,
The error is in ActionToCarbon on the Dadhboard screen. Did you investigate that and debugged the flow to see where it goes wrong?
Regards,
Daniel
I checked the OML, in the ToCarbon server action you have this condition:
GetExcess.List[Number].Excess = 0
It will fail if the list is empty.
I have also tried deleting it even though the error doesn't get solved. if you can pls make the required changes in the OML file for me to check.
Sorry, I don't have time to make your changes. It is not about deleting that IF statement, what you need to do is first check if the list is empty, then only if not empty execute the if