- To: idvusers@xxxxxxxxxxxxxxxx
- Subject: [idvusers] Cross-section of derived fields + multiple times = NullPointerException
- From: "Kevin R. Tyle" <ktyle@xxxxxxxxxxxxxxxx>
- Date: Fri, 21 May 2010 01:07:56 +0000 (UTC)
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.NullPointerExceptionat 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 ********************** ______________________________________________________________________
- Follow-Ups: