Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

NullPointer exception

Bill,

  Here is the jdb output when changing the Display.RGB for
the field3d data to Display.IsoContour in line 105 of my code:

jdb WXView ./dx/mlkdata/t02a_010_06_00_1025_TMP
Initializing jdb...
0xad:class(WXView)
> run
run WXView ./dx/mlkdata/t02a_010_06_00_1025_TMP
running ...
main[1] numVAls= 69120 val = 17280
FunctionType: (time) -> FunctionType (Real): (row, column, level) ->
(temperature)

Current thread "main" died. Execution continuing...
>
Uncaught exception: java.lang.NullPointerException
        at visad.Irregular2DSet.makeSpatial(Irregular2DSet.java:157)
        at visad.ShadowType.assembleSpatial(ShadowType.java:1450)
        at
visad.java2d.ShadowTypeJ2D.assembleSpatial(ShadowTypeJ2D.java:234)
        at
visad.java2d.ShadowFunctionOrSetTypeJ2D.doTransform(ShadowFunctionOrSetTypeJ2D.java:674)

        at
visad.java2d.ShadowFunctionOrSetTypeJ2D.doTransform(ShadowFunctionOrSetTypeJ2D.java:1365)

        at
visad.java2d.DefaultRendererJ2D.doTransform(DefaultRendererJ2D.java:83)
        at visad.java2d.RendererJ2D.doAction(RendererJ2D.java:119)
        at visad.DisplayImpl.doAction(DisplayImpl.java:515)
        at visad.java2d.DisplayImplJ2D.doAction(DisplayImplJ2D.java:239)

        at visad.ActionImpl.run(ActionImpl.java:165)
        at java.lang.Thread.run(Thread.java:479)

Thread-1[1]

KathyLee.


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690