ICEpdf
  1. ICEpdf
  2. PDF-756

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0
    • Component/s: Printing
    • Labels:
      None
    • Environment:
      All

      Description

      The following error is thrown when trying to print the provided PDF:

      Exception in thread "Thread-8" 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)

        Activity

        Hide
        Patrick Corless added a comment -

        Closing, siting a system that has no available printers.

        Show
        Patrick Corless added a comment - Closing, siting a system that has no available printers.
        Hide
        Patrick Corless added a comment -

        Marking as closed

        Show
        Patrick Corless added a comment - Marking as closed

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: