Re: Resampling problems


> This is the exception we get:
> java.lang.reflect.InvocationTargetException:
> java.lang.NullPointerException
>         at visad.Irregular1DSet.valueToInterp(
>         at visad.FlatField.resample(
> <snip>

It looks like is:

    for (int j=0; j<indices.length; j++) {

and its hard to imagine how indices is null, looking at how
Irregular1DSet.valueToInterp() is called.  I suggest that you
run in jdb, 'catch java.lang.NullPointerException', and see
what you can figure out about what variable is null and how
it got to be null.

Alternatively, you could send me your application including
data so I can run it.

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

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