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.

[idvusers] Cross-section of derived fields + multiple times = NullPointerException

I've run into this problem where if I try to draw cross-sections on a derived field (e.g., potential temperature) and try to load more than one forecast time, the display will not appear and I get the following errors:

ERROR: Creating display: Color-Shaded Cross Section
java.lang.NullPointerException
java.lang.NullPointerException
at ucar.unidata.data.grid.GridUtil.setSpatialDomain(GridUtil.java:353) at ucar.unidata.data.grid.GridUtil.setSpatialDomain(GridUtil.java:333) at ucar.unidata.idv.control.CrossSectionControl.make2DData(CrossSectionControl.java:1736) at ucar.unidata.idv.control.CrossSectionControl.loadData(CrossSectionControl.java:1582) at ucar.unidata.idv.control.CrossSectionControl.loadDataFromLine(CrossSectionControl.java:1566) at ucar.unidata.idv.control.CrossSectionControl.applySmoothing(CrossSectionControl.java:1613) at ucar.unidata.idv.control.DisplayControlImpl.applyAttributesToDisplayables(DisplayControlImpl.java:1517) at ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1066) at ucar.unidata.idv.ControlDescriptor.initControl(ControlDescriptor.java:987) at ucar.unidata.idv.ControlDescriptor$1.run(ControlDescriptor.java:912)
        at ucar.unidata.util.Misc$3.run(Misc.java:1089)

The problem also occurs with another derived field (Relative humidity), and with different NWP models, so I suspect this may be a general problem with "derived" quantitites. I've run this on both OSX and Linux 64-bit systems . . .

Thanks,

Kevin
______________________________________________________________________
Kevin Tyle, Systems Administrator               **********************
Dept. of Atmospheric & Environmental Sciences   ktyle@xxxxxxxxxxxxxxxx
University at Albany, ES-235                    518-442-4578 (voice)
1400 Washington Avenue                          518-442-5825 (fax)
Albany, NY 12222                                **********************
______________________________________________________________________



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