java.lang.IllegalArgumentException: Width (-1) and he ight (-1) 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

Solutions on the web

via Coderanch by Sandy Abraham, 1 year ago
Width (-1) and he ight (-1) 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 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 GitHub by topahl
, 2 years ago
Width (0) and height (5883) cannot be <= 0**
java.lang.IllegalArgumentException: Width (-1) and he ight (-1) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999)
at java.awt.image.BufferedImage.(BufferedImage.java:259)
at undefined.Joan$MyCanvas.(Joan.java:67)
at undefined.Joan.setupPanels(Joan.java:115)
at undefined.Joan.(Joan.java:92)
at undefined.Joan.main(Joan.java:100)

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.