ArrayIndexOutOfBoundsException when launching a script

Unanswered Question
Mar 6th, 2007

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.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
stephan.steiner Thu, 03/08/2007 - 09:01

After a long phase of trial and error I finally figured it out: my variable mapping from a subflow call was incorrect. How hard would it be to have the validate function also check for a valid mapping?


This Discussion