java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match

pdfbox-users | Joel Hirsh | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Re: Exception caused by logo image

    pdfbox-users | 1 year ago | Joel Hirsh
    java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match
  2. 0

    Java生成缩略图之Thumbnailator - Fish Where The Fish Are - ITeye技术网站

    iteye.com | 8 months ago
    java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Numbers of source Raster bands and source color space components do not match

      at java.awt.image.ColorConvertOp.filter()
    2. Java RT
      ImageReader.read
      1. java.awt.image.ColorConvertOp.filter(Unknown Source)
      2. com.sun.imageio.plugins.jpeg.JPEGImageReader.acceptPixels(Unknown Source)
      3. com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(Native Method)
      4. com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(Unknown Source)
      5. com.sun.imageio.plugins.jpeg.JPEGImageReader.read(Unknown Source)
      6. javax.imageio.ImageReader.read(Unknown Source)
      6 frames
    3. Apache PDFBox
      PDStream.createInputStream
      1. org.apache.pdfbox.filter.DCTFilter.decode(DCTFilter.java:83)
      2. org.apache.pdfbox.cos.COSInputStream.create(COSInputStream.java:69)
      3. org.apache.pdfbox.cos.COSStream.createInputStream(COSStream.java:163)
      4. org.apache.pdfbox.pdmodel.common.PDStream.createInputStream(PDStream.java:235)
      4 frames
    4. org.apache.pdfbox
      PDImageXObject.<init>
      1. org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.<init>(PDImageXObject.java:147)
      1 frame
    5. Apache PDFBox
      PDResources.getXObject
      1. org.apache.pdfbox.pdmodel.graphics.PDXObject.createXObject(PDXObject.java:70)
      2. org.apache.pdfbox.pdmodel.PDResources.getXObject(PDResources.java:385)
      2 frames