Re: new CurveManipulationRenderer bug

  • To: Doug Lindholm <lind@xxxxxxxx>
  • Subject: Re: new CurveManipulationRenderer bug
  • From: Bill Hibbard <billh@xxxxxxxxxxxxx>
  • Date: Tue, 15 Jul 2003 05:50:26 -0500 (CDT)
Doug,

I cannot replicate the failure by running:

  java visad.bom.CurveManipulationRendererJ3D

However, I found something that might cause the behavior
you are seeing. Please test this possible fix by downloading
and compiling test versions of:

  ShadowFunctionOrSetType.java
  VisADLineStripArray.java
  VisADTriangleStripArray.java
  VisADIndexedTriangleStripArray.java

from ftp://ftp.ssec.wisc.edu/pub/visad-2.0/untested/

Let me know if these fix your problem. If not, then you'll
need to send me a test program that I can use to replicate
the Exception you're seeing.

Bill

On Mon, 14 Jul 2003, Doug Lindholm wrote:

> Hi,
>
> I've been using visda.bom.CurveManuipulationRendererJ3D in my app with
> success for quite some time. I just got the latest visad.jar file and
> now, whenever I try to draw a curve I get:
>
> java.lang.NullPointerException
>          at
> visad.VisADLineStripArray.removeMissing(VisADLineStripArray.java:469)
>          at
> visad.ShadowFunctionOrSetType.doTransform(ShadowFunctionOrSetType.java:2573)
>          at
> visad.bom.ShadowCurveSetTypeJ3D.doTransform(ShadowCurveSetTypeJ3D.java:89)
>          at
> visad.java3d.DirectManipulationRendererJ3D.doTransform(DirectManipulationRendererJ3D.java:173)
>          at visad.java3d.RendererJ3D.doAction(RendererJ3D.java:181)
>          at visad.DisplayImpl.doAction(DisplayImpl.java:1559)
>          at visad.ActionImpl.run(ActionImpl.java:353)
>          at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:95)
>
> I suspect it was a change since the beginning of the year (2003) and I
> have noticed some changelog activity in that area. Any ideas?
>
> Thanks,
> Doug
>
> --
> *----------------------------------------------------------------------*
> | Doug Lindholm, Software Engineer          |  E-mail: lind@xxxxxxxx   |
> | Research Applications Program             |   Phone: 303-497-8374    |
> | National Center for Atmospheric Research  |                          |
> | P.O. Box 3000                             |     There's no place     |
> | Boulder, Colorado 80307-3000              |        like $HOME        |
> *----------------------------------------------------------------------*
>
>