java.lang.IllegalArgumentException: Width (0) and height (7) must 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 ICEsoft JIRA Issue Tracker by Arran Mccullough, 1 year ago
via ICEsoft JIRA Issue Tracker by Arran Mccullough, 1 year ago
via Oracle Community by 843799, 1 year ago
Width (-1) and he ight (0) must be > 0
via minecraftforum.net by Unknown author, 10 months ago
via Coderanch by sanj duke, 1 year ago
Width (-1) and height (-1) must be > 0
via Oracle Community by 321504, 1 year ago
Width (0) and height (0) must be > 0
java.lang.IllegalArgumentException: Width (0) and height (7) must be > 0
at java.awt.image.SampleModel.(SampleModel.java:108)
at java.awt.image.ComponentSampleModel.(ComponentSampleModel.java:128)
at java.awt.image.PixelInterleavedSampleModel.(PixelInterleavedSampleModel.java:69)
at java.awt.image.Raster.createInterleavedRaster(Raster.java:638)
at java.awt.image.Raster.createInterleavedRaster(Raster.java:265)
at java.awt.image.BufferedImage.(BufferedImage.java:365)
at sun.print.PSPathGraphics.redrawRegion(PSPathGraphics.java:626)
at sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:1969)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1431)
at sun.print.UnixPrintJob.printableJob(UnixPrintJob.java:618)
at sun.print.UnixPrintJob.print(UnixPrintJob.java:475)
at org.icepdf.ri.common.PrintHelper.cancelablePrint(PrintHelper.java:478)
at org.icepdf.ri.common.PrinterTask.run(PrinterTask.java:54)
at org.icepdf.ri.common.SwingController.startBackgroundPrinting(SwingController.java:3118)
at org.icepdf.ri.common.SwingController.initialisePrinting(SwingController.java:2979)
at org.icepdf.ri.common.SwingController.access$500(SwingController.java:87)
at org.icepdf.ri.common.SwingController$4.run(SwingController.java:2922)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

You are the first who have seen this exception.

Write tip

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