Re: IndexOutOfBoundsException

Hi Domagoj,

> I have been working on visualization of Lagrangian Particle Model results 
> over complex terrain. Program is fairly simple involving reading the 
> topography and particle position data and visualizing them. The program seems 
> to be working fine for the fist few time steps but then I get the following 
> message:
> java.lang.IndexOutOfBoundsException: Index: -1, Size: 2
> at java.util.ArrayList.RangeCheck( ...
> and the particles stop being shown.
> This seems to be happening at different time steps but soon after the 
> animation start. Any suggestions are welcome.

Could you please send me the rest of the stack dump with the
Exception?  Please run under jdb, so the stack dump will include
line numbers for each method in the stack.

You've probably found a bug in VisAD, and we can often
figure out the cause form a stack dump with line numbers.

Thank you,
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738