Re: Wrong Java version? Could s.b. try my data-file?

Armin,

>Date: Mon, 11 Oct 1999 16:57:12 +0200
>From: "Armin S. A. Roehrl" <Armin.Roehrl@xxxxxxx>
>To: visad <visad-list@xxxxxxxxxxxxx>
>Subject: Wrong Java version? Could s.b. try my data-file?

In the above message, you wrote:

> Dear Visad users on Solaris Sparc,
> 
> I got one data-file that causes the SpreadSheet to crash.
> (I attached the error message below);
> I run
> java version "1.2"
> Solaris VM (build Solaris_JDK_1.2_01_dev06_fcsV, native threads,
> sunwjit)
> Do I need a newer version of the JDK?
> I got the newest version of visad installed.
> 
> Could s.b. try to import that datafile on a Sun Sparc and
> tell me if that causes problems. Thanks.
> 
> The datafile can be downloaded from
> http://mapc51.epfl.ch/~roehrl/grp_for_svy8.nc.gz
> 
> Thanks a lot for any help.
> and here we go to the error message.. ...
>  java -mx512m visad.ss.SpreadSheet 1 1
> Couldn't decode attribute y:units="promiscuous": Unit not in database
> Couldn't decode attribute x:units="promiscuous": Unit not in database
> java.lang.NullPointerException
>         at visad.BaseColorControl.lookupValues(Compiled Code)
>         at visad.ShadowType.assembleColor(Compiled Code)
>         at visad.ShadowFunctionOrSetType.doTransform(Compiled Code)
...

I can't address the NullPointerException, but I do know that the
units="promiscuous" warning may be safely ignored: it shouldn't be the
cause of the NullPointerException.

--------
Steve Emmerson   <http://www.unidata.ucar.edu>