ICEpdf
  1. ICEpdf
  2. PDF-808

java.lang.IllegalArgumentException: Raster ByteInterleavedRaster

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.1
    • Fix Version/s: 5.1.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      All

      Description

      When rendering the provided PDF in 5.1.0 certain images are not rendered and the following errors are displayed:

      WARNING: Error loading image: 17 0R Image stream= {Type=XObject, Interpolate=true, Filter=DCTDecode, Length=18 0R, ColorSpace=28 0R, Height=1344, Width=2640, Subtype=Image, BitsPerComponent=8} 17 0R
      java.lang.IllegalArgumentException: Raster ByteInterleavedRaster: width = 2640 height = 1344 #numDataElements 3 dataOff[0] = 0 is incompatible with ColorModel ColorModel: #pixelBits = 8 numComponents = 1 color space = java.awt.color.ICC_ColorSpace@2d24e320 transparency = 1 has alpha = false isAlphaPre = false
      at java.awt.image.BufferedImage.<init>(Unknown Source)
      at icepdf.ak.c(Unknown Source)
      at icepdf.aj.a(Unknown Source)
      at icepdf.aj.a(Unknown Source)
      at icepdf.aj.a(Unknown Source)
      at icepdf.gh.h(Unknown Source)
      at icepdf.gh.call(Unknown Source)
      at icepdf.gd.d(Unknown Source)
      at icepdf.fp.a(Unknown Source)
      at icepdf.gd.a(Unknown Source)
      at icepdf.if.a(Unknown Source)
      at icepdf.hf.a(Unknown Source)
      at icepdf.bl.a(Unknown Source)
      at icepdf.bl.a(Unknown Source)
      at icepdf.qk.a(Unknown Source)
      at icepdf.qk.a(Unknown Source)
      at icepdf.qp.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

        Activity

        Arran Mccullough created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 5.1.1 [ 11770 ]
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: