java.lang.IllegalArgumentException: Width (612) and height (-792) cannot be <= 0

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Sakai JIRA by Andrea Bollini, 1 year ago
Width (80) and height (0) cannot be <= 0
via Oracle Community by 843799, 1 year ago
Width (-1) and height (-1) cannot be <= 0
via Oracle Community by 843799, 1 year ago
Width (-1) and height (240) cannot be <= 0
via GitHub by topahl
, 2 years ago
Width (0) and height (5883) cannot be <= 0**
via GitHub by thinkhuddle
, 2 years ago
Width (0) and height (600) cannot be <= 0
java.lang.IllegalArgumentException: Width (612) and height (-792) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999)
at java.awt.image.BufferedImage.(BufferedImage.java:315)
at com.benryan.conversion.SlideConversionThread.convertFile(SlideConversionThread.java:94)
at com.benryan.conversion.SlideConversionThread.run(SlideConversionThread.java:123)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.