279
Views
6
Comments
index 0 is out of range
Application Type
Reactive
Service Studio Version
11.53.24 (Build 61544)

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.


DVPP.oml
2022-08-03 04-32-50
Ravi Punjwani

Installing it in others' environment will require all the dependencies. Please share the OML file of DVPP_DB module to check further.

2024-02-02 10-09-47
Mukesh Kumar Deva

I have attached the DVPP_DB module here thankyou

DVPP_DB.oml
2024-07-05 14-16-55
Daniël Kuhlmann
Ā 
MVP

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

2024-07-05 14-16-55
Daniël Kuhlmann
Ā 
MVP

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.

2024-02-02 10-09-47
Mukesh Kumar Deva

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. 

2024-07-05 14-16-55
Daniël Kuhlmann
Ā 
MVP

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 

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