This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>From: "John Yorks" <address@hidden> >Organization: Millersville University >Keywords: 200506151543.j5FFhYP2007041 IDV image save Hi John- >Institution: Millersville University >Package Version: 1.2b1 >Operating System: os.name:Linux; os.arch:i386; os.version:2.6.11-1.27_FC3smp; >Hardware Information: java.vendor:Sun Microsystems Inc.; java.version:1.4.2_01 > ; java.home:/usr/local/IDV_1.2b1/jre; >Inquiry: An error has occurred: >Problem saving JPEG >java.lang.ClassCastException > >I get this error message when I try to save a sounding as a JPEG by going to F > ILE, save as picture in the sounding window. Thanks for finding this. It's a problem with the Linux version of the Java code we are using for saving the images. It's not a problem on Windows. I'll have a fix in the next release in July. >****************** >Stack trace: >java.lang.ClassCastException > at sun.awt.image.codec.JPEGImageEncoderImpl.encode(Unknown Source) > at sun.awt.image.codec.JPEGImageEncoderImpl.encode(Unknown Source) > at sun.awt.image.codec.JPEGImageEncoderImpl.encode(Unknown Source) > at ucar.visad.display.DisplayMaster$6.run(DisplayMaster.java:1612) > at java.lang.Thread.run(Unknown Source) Don Murray NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.