Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.IllegalStateException: No compression type 
set!	at javax.imageio.ImageWriteParam.setCompressionQuality(ImageWriteParam.java:1241)	at net.coobird.thumbnailator.tasks.io.FileImageSink.write(Unknown Source)	at net.coobird.thumbnailator.tasks.SourceSinkThumbnailTask.write(Unknown Source)	at net.coobird.thumbnailator.Thumbnailator.createThumbnail(Unknown Source)	at net.coobird.thumbnailator.Thumbnails$Builder.toFile(Unknown Source)	at undefined.ImageResize.resizeImage(ImageResize.java:26)	at undefined.ImageResize.main(ImageResize.java:18)