ap wrote On 09/05/06 17:35,:
> Hi all,
> I've got a routine that initializes a 3-dimensional array in which
> the sizes of the arrays are read in at run-time followed by the values.
>
> I get the infamous array out of bounds exception. Anything wrong?
> THANKS
It would have been helpful if you'd pointed out the line
where the exception occurs, but I think I've spotted it anyhow.
> public myType_T[][][] getData_T()
> {
[quoted text clipped - 20 lines]
> log.info("number of outer sequence elements " + outerSize);
> avList[i]=new NameAndStringValue_T[outerMostSize][outerSize];
avList[i] = new MyType_T[outerSize][];
> for (int j=0; j < outerSize; j++)
> {
[quoted text clipped - 19 lines]
>
> }

Signature
Eric.Sosman@sun.com