NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: ArrayOutOfBounds exception

Hi Vijay,

> I'm getting an ArrayOutOfBounds exception when I add a DataRefence to a 
> displayImplJ3D.  I'm sure it happens in my first call to addReference,
> but I don't know what I'm doing wrong. The exception doesn't bounce up to my 
> code, so I'm not quite sure how I can change my code to fix it.
> I've copied the exception below. thanks for all the help.
> 
> vj
> 
> java.lang.ArrayIndexOutOfBoundsException
>  at visad.DataDisplayLink.prepareData(DataDisplayLink.java:188)
>  at visad.DataRenderer.prepareAction(DataRenderer.java:210)
>  at visad.DisplayRenderer.prepareAction(DisplayRenderer.java:592)
>  at visad.DisplayImpl.doAction(DisplayImpl.java:999)
>  at visad.ActionImpl.run(ActionImpl.java:229)
>  at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:96)

In order to fix this Exception I'm going to need to be able
to run your application. Can you send me a jar file that
includes the source and small data files I need to run your
application and reproduce this Exception (along with
instructions for running it)?

Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: