20060626 Monday June 26, 2006

ImageIO: output == null!

Here is an interesting error:

java.lang.IllegalArgumentException: output == null!
 javax.imageio.ImageIO.write(ImageIO.java:1435)
 javax.imageio.ImageIO.write(ImageIO.java:1488)

Got this while trying to write an image. The error is actually due to a permissions problem (no write permission on the directory I was trying to save it to), but the exception gives you no clue about that.

Here is a link to the bug:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6247985

 

Posted by rickg ( Jun 26 2006, 06:16:14 AM PDT ) Permalink Comments [1]