[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #UZW-229152]: error on image file write

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.


  • Subject: [IDV #UZW-229152]: error on image file write
  • Date: Thu, 22 Apr 2010 16:26:10 -0600

> Full Name: Dave Sills
> Email Address: address@hidden
> Organization: Environment Canada
> Package Version: 2.8u1 build date:2010-02-02 22:30 UTC
> Operating System: Windows XP
> Hardware: Java: home: C:\Program Files\IDV_2.8u1\jre version: 1.6.0_17 
> j3d:1.5.2 fcs (build4)
> Description of problem: doSaveImage
> Output has not been set!
> 
> Was trying to save a complicated plot as an image file. After I hit the 
> button to save, the program gave an error.

Dave,
      I am not sure what is wrong here, maybe you can provide some detail 
information, such as: Do you have this problem every time you try to capture an 
image? What exactly is the image file you are trying to write to? Does this 
occur if you try to save to a file that does not exist? Does this occur if you 
try to write to some other directory than C:

Yuan


> 
> ******************
> Stack trace:
> java.lang.IllegalStateException: Output has not been set!
> at com.sun.imageio.plugins.jpeg.JPEGImageWriter.write(Unknown Source)
> at ucar.unidata.ui.ImageUtils.writeImageToFile(ImageUtils.java:982)
> at ucar.unidata.ui.ImageUtils.writeImageToFile(ImageUtils.java:904)
> at ucar.unidata.idv.ViewManager.doSaveImage(ViewManager.java:5717)
> at ucar.unidata.idv.ViewManager.doSaveImage(ViewManager.java:5473)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at ucar.unidata.util.Misc$2.run(Misc.java:1068)
> at ucar.unidata.util.Misc$3.run(Misc.java:1096)
> 
> 
> 


Ticket Details
===================
Ticket ID: UZW-229152
Department: Support IDV
Priority: Normal
Status: Open