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: visad.TypeException: ScalarType: name already used

Hi Luke,

> Why do I get the  error message:
> 
>  visad.TypeException: ScalarType: name already used
> 
> It occurs with this call:
> 
>     index = new RealType("Index");

Try:

  index = RealType.getRealType("Index");

This will either construct it, or if its already constructed
then just return it.

Cheers,
Bill


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