RE: error description

Hi Bill,

_From DisplayImpl.doAction(), this is the code around line 1602:

        // clear tickFlag-s in Control-s
        maps = tmap.elements();
        while(maps.hasMoreElements()) {
          ScalarMap map = (ScalarMap) maps.nextElement();
      } finally {
// System.out.println("DisplayImpl call setWaitFlag(false)");
       displayRenderer.setWaitFlag(false);  //line 1602
    } // end synchronized (mapslock)

line 1602 is displayRenderer.setWaitFlag(false);
I am compiling visad from source and running the spreadsheet after
compiling it. (but visad.jar is needed on my classpath).


Michelle Kam           (408) 742-2881
Lockheed Martin Space Systems Co. SSM/ATC/MSIS
B/153 O/L922 
1111 Lockheed Martin Way, Sunnyvale, CA 94089

-----Original Message-----
From: Bill Hibbard [mailto:billh@xxxxxxxxxxxxx]
Sent: Tuesday, August 05, 2003 3:15 AM
To: Kam, Michelle C
Subject: Re: error description

Hi Michelle,

Unpacking the current visad_src-2.0.jar from the VisAD ftp
server, line 1602 of is:

    } // end synchronized (mapslock)

Its hard to imagine this line of code as the source of a

Please send me a small section of code around line 1602
of your, and clearly label which line is
1602. Make sure the source you are looking at is consistent
with the classes you are running (best is to compile VisAD
from source and run from the compiled classes, rather than
from visad.jar.


> Here are the details of the null pointer exception:
> java.lang.NullPointerException
>             at visad.DisplayImpl.doAction(
>             at
> visad.java2d.DisplayImplJ2D.doAction(
>             at
>             at
> visad.util.ThreadPool$
> Is this a problem with j3d?