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 Oracle Community by 807587, 1 year ago
Width (0) and height (0) cannot be <= 0
via GitHub by mr-jingles
, 8 months ago
Width (0) and height (0) cannot be <= 0
via GitHub by kennyviperhk
, 2 years ago
Width (0) and height (0) cannot be <= 0
via Stack Overflow by MrThemaninthehouse
, 1 year ago
Width (-1) and height (-1) cannot be <= 0
via Oracle Community by 843806, 9 months ago
Width (-1) and height (137) cannot be <= 0
via Google Groups by Blanco, Jose, 7 months ago
Width (80) and height (0) cannot be <= 0
java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0	at java.awt.image.DirectColorModel.createCompatibleWritableRaster(	at java.awt.image.BufferedImage.(	at test.MasterServerInternalFrame.saveComponentAsImage(	at test.MasterServerInternalFrame.jButton1ActionPerformed(	at test.MasterServerInternalFrame.access$300(	at test.MasterServerInternalFrame$4.actionPerformed(	at javax.swing.AbstractButton.fireActionPerformed(	at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(	at javax.swing.DefaultButtonModel.fireActionPerformed(	at javax.swing.DefaultButtonModel.setPressed(	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(	at java.awt.Component.processMouseEvent(	at java.awt.Component.processEvent(	at java.awt.Container.processEvent(	at java.awt.Component.dispatchEventImpl(	at java.awt.Container.dispatchEventImpl(	at java.awt.Component.dispatchEvent(	at java.awt.LightweightDispatcher.retargetMouseEvent(	at java.awt.LightweightDispatcher.processMouseEvent(	at java.awt.LightweightDispatcher.dispatchEvent(	at java.awt.Container.dispatchEventImpl(	at java.awt.Window.dispatchEventImpl(	at java.awt.Component.dispatchEvent(	at java.awt.EventQueue.dispatchEvent(	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(	at java.awt.EventDispatchThread.pumpEventsForHierarchy(	at java.awt.EventDispatchThread.pumpEvents(	at java.awt.EventDispatchThread.pumpEvents(	at