Basic issue is : Call Subflow step I am getting : Exception=java.lang.ArrayIndexOutofBounds
I have a script that currently works sending callers to 2 or 3 Call Subflow (Script [ script name] ) steps.
Each time it comes back to the Main Script , except the last one which Queues the caller.
I copied that Main script for a new group with the same Call Subflow scripts (those scripts also copied, and only certain items specific to a Queue changed).
When ever I hit that last Call SubFlow script , the one that actually Queues the callers, I am getting the System Error prompt and call drops. MIVR log shows "Exception=java.lang.ArrayIndexOutofBounds"
Debugging script the Main script - it throws a pop up window that only says Exception in the top area, gives no details, and an OK button . There is no detail about this in the box that shows errors (if they exist) in the scripts normally seen when Debugging.
I Debugged both the Main Script . But it stops at that Call Subflow step for the Queue and throws the error, doesnt appear to make it to the Queue script. (not sure I am chasing that part correctly)
I placed another Queue Script in its place and it did successfully go to that Queue script, no errors.
So not sure why my Debugging doesn't go to the new Queue script, and I get this odd Exception.
I ave search through the community and can not find any info. Did a google search on the verbiage of the error and nothing there either.
Any ideas how to run down the error : Exception=java.lang.ArrayIndexOutofBounds
Solved! Go to Solution.
Thanks for the information. Yes I had combed the MIVR logs, and it would only give that exception I posted and then it ended any information , the script drop the call after the error message.
I had read about the Debugging not going to a SubFlow script .... I was a little confused on how to debug the process of going to a Subflow .... thought I could do a Debug on the script called from the Main script. So I called the Trigger for the Main script and started the debug on the called script .... I tried so many things today, not sure that produced anything for me :-)
And I do have a On Exception Goto step on the Main Script - it goes to End Call ... probably not smart.
On he Called script (Queue script), I do not have an Exception step ... but I will work on that for both of these scripts - and as you suggested on all my scripts. Appreciate that advice.
Stupid mistake on my part on the Set Enterprise Call info step - it carries Queue variables over to the queue script and I messed that up. Too bad the MIVR could not have pointed out my stupidity instead of giving me an Exception that I could find NO information on !