I've written my own CRS script, deployed it and called the trigger. I get the usual technical error so debugging is needed. However, it appears the error is so deep that it won't even trigger the breakpoint I have on the first line.
So I figured I'd try to get at least to the accept step by doing some client side debugging (open script, set breakpoint, press F5 to go). Now here's what happens:
A window with title "Exception" and text "-1; nexted exception is: java.lang.ArrayIndexOutOfBoundsException: -1" comes up.
Now I'm wondering how the heck I can figure out what is going wrong. Is there any way to see under the hood to see what causes the problem (the script validates just fine and since I never get into the flow I figure it has to be a variable thing.