The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • Email requests fail if they contain images - also unable to create thumbnails when importing images

Email requests fail if they contain images - also unable to create thumbnails when importing images

Shaun Daigle
April 3, 2023

When importing images into an existing issue, the thumbnail is no longer created. In the atlassian-jira.log file, we see this error:

file-attachment-store:thread-56 ERROR [c.a.c.util.thumbnail.Thumber] Unable to create thumbnail image for id 44107
javax.imageio.IIOException: Caught exception during read:
at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)

Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.image.ByteInterleavedRaster
at java.desktop/java.awt.image.Raster.createWritableRaster(Unknown Source)

 

Similarly, we cannot open new support tickets created using the email integration if they contain images. When we try to access the URL to open the ticket, the ticket does not open. 

We see this error in the log:

2023-04-03 11:02:35,034-0300 https-openssl-nio-8444-exec-13 ERROR user.name 662x7736x29 1yldgu0 192.168.2.1 /rest/gadget/1.0/resolutiontime/generate [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Could not initialize class sun.awt.image.IntegerInterleavedRaster
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.image.IntegerInterleavedRaster
at java.desktop/java.awt.image.Raster.createPackedRaster(Unknown Source)

 

Any idea what could be causing this?  

 

 

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Shaun Daigle
April 5, 2023

The issue was caused by an old version of the SQL+JQL plugin. Disabling the plugin solved our issue.

0 votes
Shaun Daigle
April 3, 2023

Update: 

As a temporary workaround, I have disabled the creation of thumbnail images of image attachments in Administration -- System -- Advanced -- Attachments and service requests are now created properly. 

Any idea why our Jira instance is now unable to create image thumbnails? Perhaps we have a missing file or a binary version mismatch?

DEPLOYMENT TYPE
SERVER
VERSION
9.6
TAGS
AUG Leaders

Atlassian Community Events