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.


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

[IDV #VBX-144081]: about noUnit(filed)



> Full Name: Wang zongmin
> Email Address: address@hidden
> Organization: Hebei bureau of meteorology
> Package Version: 3.0u2 build date:2012-02-10 17:21 UTC
> Operating System: Windows XP
> Hardware: Java: home: C:\Program Files\IDV_3.0u2\jre version: 1.6.0_20 
> j3d:1.5.2 fcs (build4)
> Description of problem:
> 
> Making the widget component
> java.lang.NullPointerException
> 
> 
> When I use noUnit(filed) functions, there is a error.
> 
Hi Zongmin,

The noUnit function should be ok, it is likely a user error here. Let me know 
how you use this function, I maybe able to identify the problem.


Yuan
> ******************
> Stack trace:
> java.lang.NullPointerException
> at 
> ucar.unidata.idv.control.GridDisplayControl.getDataRangeInColorUnits(GridDisplayControl.java:264)
> at 
> ucar.unidata.idv.control.GridDisplayControl.getInitialRange(GridDisplayControl.java:233)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.getRange(DisplayControlImpl.java:9943)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.getRangeForColorTable(DisplayControlImpl.java:9971)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.getControlWidgets(DisplayControlImpl.java:7537)
> at 
> ucar.unidata.idv.control.PlanViewControl.getControlWidgets(PlanViewControl.java:1527)
> at 
> ucar.unidata.idv.control.ContourPlanViewControl.getControlWidgets(ContourPlanViewControl.java:218)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.doMakeWidgetComponent(DisplayControlImpl.java:7432)
> at 
> ucar.unidata.idv.control.PlanViewControl.doMakeContents(PlanViewControl.java:1482)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.doMakeWindow(DisplayControlImpl.java:4219)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1122)
> 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:1090)
> 
> 
> 


Ticket Details
===================
Ticket ID: VBX-144081
Department: Support IDV
Priority: Normal
Status: Closed