[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #ENC-418598]: Problem with derived quantities and time driver stuff.



> Full Name: Don Murray
> Email Address: address@hidden
> Organization: CU/CIRES
> Package Version: 3.0u2 build date:2011-12-29 16:21 UTC
> Operating System: Mac OS X
> Hardware: Java: home: 
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home version: 
> 1.6.0_29 j3d:1.5.2 fcs (build4)
> Description of problem: Creating display: Color-Shaded Plan View
> java.lang.NullPointerException
> 
> I was trying to use the Grids->Time Steps->Merge time sequences formula and 
> got this null pointer exception.  This appears to be related to the code that 
> Yuan added to support the time driver stuff.
> 
> Run the formula and from the Field selector, select the 3D grid->Geopotential 
> Height grid one of the files in the attached bundle, select the first time 
> (and optionally a level), then click the Add Selected button.  Do the same 
> for each of the other files, the click OK.
> 

I just checked in the fixed, please test it.

Yuan
> ******************
> Stack trace:
> java.lang.NullPointerException
> at 
> ucar.unidata.data.DerivedDataChoice.collectOperands(DerivedDataChoice.java:555)
> at ucar.unidata.data.DerivedDataChoice.getData(DerivedDataChoice.java:722)
> at ucar.unidata.data.DataChoice.getData(DataChoice.java:637)
> at ucar.unidata.data.DataInstance.getData(DataInstance.java:243)
> at ucar.unidata.data.DataInstance.getData(DataInstance.java:207)
> at ucar.unidata.data.grid.GridDataInstance.init(GridDataInstance.java:205)
> at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:162)
> at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:143)
> at 
> ucar.unidata.idv.control.GridDisplayControl.doMakeDataInstance(GridDisplayControl.java:284)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.initializeDataInstance(DisplayControlImpl.java:3153)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.setData(DisplayControlImpl.java:3135)
> at ucar.unidata.idv.control.PlanViewControl.setData(PlanViewControl.java:643)
> at ucar.unidata.idv.control.PlanViewControl.init(PlanViewControl.java:473)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1402)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1085)
> at ucar.unidata.idv.ControlDescriptor.initControl(ControlDescriptor.java:986)
> at ucar.unidata.idv.ControlDescriptor$1.run(ControlDescriptor.java:911)
> at ucar.unidata.util.Misc$3.run(Misc.java:1091)
> 
> 
> 


Ticket Details
===================
Ticket ID: ENC-418598
Department: Support IDV
Priority: Normal
Status: Closed