Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: getImage exception

Paul Gifford wrote:
>   Here's my latest exception:
> 
> visad.VisADError: cannot call getImage() from Thread: AWT-EventQueue-0
>         at visad.DisplayImpl.getImage(DisplayImpl.java:1624)
> 
> 
>   Any thoughts?  I don't get the exception when I run Test50, but I
> don't see what it is I'm doing differently.  A call to getImage() seems
> pretty straightforward!

You can get into a deadlock if you try to use getImage() from
anything other than the main thread (sorry I can't be more
specific ... this is something Bill fixed back in April and
I don't remember the exact details.)

Hopefully, this will be enough to jog someone else's memory
about a better fix...


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