java.lang.IllegalArgumentException

Width (0) and height (7) must be > 0

Solutions on the web11437

  • Width (0) and height (7) must be > 0
  • Width (0) and height (7) must be > 0
  • via GitHub by themonki
    , 1 year ago
    width and height must be > 0
  • Stack trace

    • java.lang.IllegalArgumentException: Width (0) and height (7) must be > 0 at java.awt.image.SampleModel.<init>(SampleModel.java:108) at java.awt.image.ComponentSampleModel.<init>(ComponentSampleModel.java:128) at java.awt.image.PixelInterleavedSampleModel.<init>(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.<init>(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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.