Skip to main content
November 17, 2008
Question

IndexOutOfBoundsException: Index: 19, Size: 19

  • November 17, 2008
  • 4 replies
  • 893 views
For 2 new CrystalTech sites running CF 8 (8,0,1,195765, Microsoft-IIS/6.0), I get this error sporadically. I've seen forum posts 4 or 5 years old saying it may be related compilation issues, but I have not gotten this on any earlier sites. So I don't see how the same error would skip several generations and re-emerge now? I also don't see how I can track it down to anything in my code, as long as the error says "line -1". Suggestions?
    This topic has been closed for replies.

    4 replies

    November 20, 2008
    In case there's anyone else out there getting this, I believe I have come up with a workaround. In my custom error page, when this error happens, I have it just retrying the page 2 or 3 times before failing and returning the error. So far in the past few hours it has logged this error happening 3 times, but none made it through to throwing an error to me.

    It'd be nice if Adobe fixed the underlying java that causes this, but until then this seems to work.
    Participant
    January 11, 2010

    My adobe workflow system now have this problem, do you resolved it?

    Inspiring
    November 17, 2008
    > For 2 new CrystalTech sites running CF 8 (8,0,1,195765, Microsoft-IIS/6.0), I
    > get this error sporadically. I've seen forum posts 4 or 5 years old saying it
    > may be related compilation issues, but I have not gotten this on any earlier
    > sites. So I don't see how the same error would skip several generations and
    > re-emerge now? I also don't see how I can track it down to anything in my
    > code, as long as the error says "line -1". Suggestions?

    Have a gander @ the JRun logs, see if it reports anything.

    --
    Adam
    November 17, 2008
    If it were something like this, then it would be more consistent, reproducible at will? But as it is, it is more random. I can't cause it to happen myself.

    Second, if it were an array indexing issue, it seems like this would have a error line number with it, pointing back to my code? Not "line -1"?
    Inspiring
    November 17, 2008
    Whenever I see that message it's because I'm trying to find the 10th element of list with only 9 elements or something like that.