-
Bug
-
Resolution: Timed out
-
Low
-
None
-
4.0
-
4
-
2
-
Severity 3 - Minor
-
-
http://localhost:8080/secure/project/AvatarPicker!upload.jspa [500ErrorPage.jsp] Exception caught in 500 page Unexpected block type 0!
javax.imageio.IIOException: Unexpected block type 0!
at com.sun.imageio.plugins.gif.GIFImageReader.readMetadata(GIFImageReader.java:722)
at com.sun.imageio.plugins.gif.GIFImageReader.read(GIFImageReader.java:794)
at javax.imageio.ImageIO.read(ImageIO.java:1422)
at javax.imageio.ImageIO.read(ImageIO.java:1282)
at com.atlassian.core.util.thumbnail.Thumber.getImage(Thumber.java:270)
Some GIF files trigger this bug.
I found a bug report of this error on SUN Bug Database: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6358674
As this is a know bug of Java (since 2005 according to SUN Bug Database), JIRA could better handle this exception and show a more graceful message instead of exploding an exception on the screen!
I'm also attaching a GIF file that triggers the exception.
Workaround
Convert the GIF file to another format like JPEG or PNG.
- is duplicated by
-
JRASERVER-22660 Unable to create thumbnail image for id 12009 from jdog logs
-
- Closed
-
-
JRASERVER-24261 Error on Uploading gif file as project image
-
- Closed
-
- relates to
-
JRASERVER-19557 Thumbnail of certain image attachments fail and cause ERROR in log
-
- Closed
-