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

Kevin-

Oh sure, just when we are about to do a release, you have to find a bug. ;-)

I've implemented a fix and it will be in the next nightly build (and the 2.9 release). Thanks for catching this.

To the list, we are planning a 2.9 full release next week. Please check out the test release at:

http://www.unidata.ucar.edu/downloads/idv/test

(or the nightly build) and let us know ASAP of any issues you find.

Don

Kevin R. Tyle wrote:
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                                **********************
______________________________________________________________________

_______________________________________________
idvusers mailing list
idvusers@xxxxxxxxxxxxxxxx
For list information, to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/

--
*************************************************************
Don Murray                               UCAR Unidata Program
dmurray@xxxxxxxxxxxxxxxx                        P.O. Box 3000
(303) 497-8628                              Boulder, CO 80307
http://www.unidata.ucar.edu/staff/donm
*************************************************************



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