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?