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.

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.


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