[visad] NPE when mapping to IsoContour

Hello,

When I switch my working mapping from Display.RGB to Display.IsoContour, I
recieve NullPointerExceptions and ArrayIndexOutOfBoundsExceptions, both for
2D and 3D displays.

Please have a look at the attached stack trace.

I use VisAD Tue Dec 23 13:47:46 CST 2008.

Is this a known issue ?

Sebastian

-- 
Dipl.-Ing. Sebastian Fuchs
Walter-Arnold-Straße 8
01219 Dresden

fon: +49 (351) 2728098
mobile: +49 (176) 96338376
icq: 114494140
java.lang.NullPointerException
        at visad.ShadowType.makeContour(ShadowType.java:3871)
        at visad.java2d.ShadowTypeJ2D.makeContour(ShadowTypeJ2D.java:297)
        at 
visad.ShadowFunctionOrSetType.doTransform(ShadowFunctionOrSetType.java:2188)
        at 
visad.java2d.ShadowFunctionOrSetTypeJ2D.doTransform(ShadowFunctionOrSetTypeJ2D.java:97)
        at 
visad.java2d.DefaultRendererJ2D.doTransform(DefaultRendererJ2D.java:99)
        at visad.java2d.RendererJ2D.doAction(RendererJ2D.java:139)
        at visad.DisplayImpl.doAction(DisplayImpl.java:3497)
        at visad.java2d.DisplayImplJ2D.doAction(DisplayImplJ2D.java:311)
        at visad.ActionImpl.run(ActionImpl.java:364)
        at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:95)
java.lang.NullPointerException
        at visad.ShadowType.makeContour(ShadowType.java:3871)
        at visad.java2d.ShadowTypeJ2D.makeContour(ShadowTypeJ2D.java:297)
        at 
visad.ShadowFunctionOrSetType.doTransform(ShadowFunctionOrSetType.java:2188)
        at 
visad.java2d.ShadowFunctionOrSetTypeJ2D.doTransform(ShadowFunctionOrSetTypeJ2D.java:97)
        at 
visad.java2d.DefaultRendererJ2D.doTransform(DefaultRendererJ2D.java:99)
        at visad.java2d.RendererJ2D.doAction(RendererJ2D.java:139)
        at visad.DisplayImpl.doAction(DisplayImpl.java:3497)
        at visad.java2d.DisplayImplJ2D.doAction(DisplayImplJ2D.java:311)
        at visad.ActionImpl.run(ActionImpl.java:364)
        at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:95)
java.lang.ArrayIndexOutOfBoundsException: 4
        at visad.ShadowType.makeContour(ShadowType.java:3869)
        at visad.java2d.ShadowTypeJ2D.makeContour(ShadowTypeJ2D.java:297)
        at 
visad.ShadowFunctionOrSetType.doTransform(ShadowFunctionOrSetType.java:2188)
        at 
visad.java2d.ShadowFunctionOrSetTypeJ2D.doTransform(ShadowFunctionOrSetTypeJ2D.java:97)
        at 
visad.java2d.DefaultRendererJ2D.doTransform(DefaultRendererJ2D.java:99)
        at visad.java2d.RendererJ2D.doAction(RendererJ2D.java:139)
        at visad.DisplayImpl.doAction(DisplayImpl.java:3497)
        at visad.java2d.DisplayImplJ2D.doAction(DisplayImplJ2D.java:311)
        at visad.ActionImpl.run(ActionImpl.java:364)
        at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:95)
java.lang.NullPointerException
        at visad.ShadowType.makeContour(ShadowType.java:3871)
        at visad.java2d.ShadowTypeJ2D.makeContour(ShadowTypeJ2D.java:297)
        at 
visad.ShadowFunctionOrSetType.doTransform(ShadowFunctionOrSetType.java:2188)
        at 
visad.java2d.ShadowFunctionOrSetTypeJ2D.doTransform(ShadowFunctionOrSetTypeJ2D.java:97)
        at 
visad.java2d.DefaultRendererJ2D.doTransform(DefaultRendererJ2D.java:99)
        at visad.java2d.RendererJ2D.doAction(RendererJ2D.java:139)
        at visad.DisplayImpl.doAction(DisplayImpl.java:3497)
        at visad.java2d.DisplayImplJ2D.doAction(DisplayImplJ2D.java:311)
        at visad.ActionImpl.run(ActionImpl.java:364)
        at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:95)
java.lang.NullPointerException
        at visad.ShadowType.makeContour(ShadowType.java:3871)
        at visad.java2d.ShadowTypeJ2D.makeContour(ShadowTypeJ2D.java:297)
        at 
visad.ShadowFunctionOrSetType.doTransform(ShadowFunctionOrSetType.java:2188)
        at 
visad.java2d.ShadowFunctionOrSetTypeJ2D.doTransform(ShadowFunctionOrSetTypeJ2D.java:97)
        at 
visad.java2d.DefaultRendererJ2D.doTransform(DefaultRendererJ2D.java:99)
        at visad.java2d.RendererJ2D.doAction(RendererJ2D.java:139)
        at visad.DisplayImpl.doAction(DisplayImpl.java:3497)
        at visad.java2d.DisplayImplJ2D.doAction(DisplayImplJ2D.java:311)
        at visad.ActionImpl.run(ActionImpl.java:364)
        at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:95)
java.lang.NullPointerException
        at visad.ShadowType.makeContour(ShadowType.java:3871)
        at visad.java3d.ShadowTypeJ3D.makeContour(ShadowTypeJ3D.java:1995)
        at 
visad.ShadowFunctionOrSetType.doTransform(ShadowFunctionOrSetType.java:2188)
        at 
visad.java3d.ShadowFunctionOrSetTypeJ3D.doTransform(ShadowFunctionOrSetTypeJ3D.java:159)
        at 
visad.java3d.DefaultRendererJ3D.doTransform(DefaultRendererJ3D.java:133)
        at visad.java3d.RendererJ3D.doAction(RendererJ3D.java:181)
        at visad.DisplayImpl.doAction(DisplayImpl.java:3497)
        at visad.ActionImpl.run(ActionImpl.java:364)
        at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:95)
java.lang.NullPointerException
        at visad.ShadowType.makeContour(ShadowType.java:3871)
        at visad.java3d.ShadowTypeJ3D.makeContour(ShadowTypeJ3D.java:1995)
        at 
visad.ShadowFunctionOrSetType.doTransform(ShadowFunctionOrSetType.java:2188)
        at 
visad.java3d.ShadowFunctionOrSetTypeJ3D.doTransform(ShadowFunctionOrSetTypeJ3D.java:159)
        at 
visad.java3d.DefaultRendererJ3D.doTransform(DefaultRendererJ3D.java:133)
        at visad.java3d.RendererJ3D.doAction(RendererJ3D.java:181)
        at visad.DisplayImpl.doAction(DisplayImpl.java:3497)
        at visad.ActionImpl.run(ActionImpl.java:364)
        at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:95)
java.lang.ArrayIndexOutOfBoundsException: 4
        at visad.ShadowType.makeContour(ShadowType.java:3869)
        at visad.java3d.ShadowTypeJ3D.makeContour(ShadowTypeJ3D.java:1995)
        at 
visad.ShadowFunctionOrSetType.doTransform(ShadowFunctionOrSetType.java:2188)
        at 
visad.java3d.ShadowFunctionOrSetTypeJ3D.doTransform(ShadowFunctionOrSetTypeJ3D.java:159)
        at 
visad.java3d.DefaultRendererJ3D.doTransform(DefaultRendererJ3D.java:133)
        at visad.java3d.RendererJ3D.doAction(RendererJ3D.java:181)
        at visad.DisplayImpl.doAction(DisplayImpl.java:3497)
        at visad.ActionImpl.run(ActionImpl.java:364)
        at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:95)
java.lang.ArrayIndexOutOfBoundsException: 4
        at visad.ShadowType.makeContour(ShadowType.java:3869)
        at visad.java2d.ShadowTypeJ2D.makeContour(ShadowTypeJ2D.java:297)
        at 
visad.ShadowFunctionOrSetType.doTransform(ShadowFunctionOrSetType.java:2188)
        at 
visad.java2d.ShadowFunctionOrSetTypeJ2D.doTransform(ShadowFunctionOrSetTypeJ2D.java:97)
        at 
visad.java2d.DefaultRendererJ2D.doTransform(DefaultRendererJ2D.java:99)
        at visad.java2d.RendererJ2D.doAction(RendererJ2D.java:139)
        at visad.DisplayImpl.doAction(DisplayImpl.java:3497)
        at visad.java2d.DisplayImplJ2D.doAction(DisplayImplJ2D.java:311)
        at visad.ActionImpl.run(ActionImpl.java:364)
        at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:95)
java.lang.NullPointerException
        at visad.ShadowType.makeContour(ShadowType.java:3871)
        at visad.java3d.ShadowTypeJ3D.makeContour(ShadowTypeJ3D.java:1995)
        at 
visad.ShadowFunctionOrSetType.doTransform(ShadowFunctionOrSetType.java:2188)
        at 
visad.java3d.ShadowFunctionOrSetTypeJ3D.doTransform(ShadowFunctionOrSetTypeJ3D.java:159)
        at 
visad.java3d.DefaultRendererJ3D.doTransform(DefaultRendererJ3D.java:133)
        at visad.java3d.RendererJ3D.doAction(RendererJ3D.java:181)
        at visad.DisplayImpl.doAction(DisplayImpl.java:3497)
        at visad.ActionImpl.run(ActionImpl.java:364)
        at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:95)
java.lang.NullPointerException
        at visad.ShadowType.makeContour(ShadowType.java:3871)
        at visad.java3d.ShadowTypeJ3D.makeContour(ShadowTypeJ3D.java:1995)
        at 
visad.ShadowFunctionOrSetType.doTransform(ShadowFunctionOrSetType.java:2188)
        at 
visad.java3d.ShadowFunctionOrSetTypeJ3D.doTransform(ShadowFunctionOrSetTypeJ3D.java:159)
        at 
visad.java3d.DefaultRendererJ3D.doTransform(DefaultRendererJ3D.java:133)
        at visad.java3d.RendererJ3D.doAction(RendererJ3D.java:181)
        at visad.DisplayImpl.doAction(DisplayImpl.java:3497)
        at visad.ActionImpl.run(ActionImpl.java:364)
        at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:95)
java.lang.ArrayIndexOutOfBoundsException: 4
        at visad.ShadowType.makeContour(ShadowType.java:3869)
        at visad.java3d.ShadowTypeJ3D.makeContour(ShadowTypeJ3D.java:1995)
        at 
visad.ShadowFunctionOrSetType.doTransform(ShadowFunctionOrSetType.java:2188)
        at 
visad.java3d.ShadowFunctionOrSetTypeJ3D.doTransform(ShadowFunctionOrSetTypeJ3D.java:159)
        at 
visad.java3d.DefaultRendererJ3D.doTransform(DefaultRendererJ3D.java:133)
        at visad.java3d.RendererJ3D.doAction(RendererJ3D.java:181)
        at visad.DisplayImpl.doAction(DisplayImpl.java:3497)
        at visad.ActionImpl.run(ActionImpl.java:364)
        at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:95)