java.lang.IllegalArgumentException: Number of color/alpha components should be 4 but length of bits array is 1

webmoli.com | 3 months ago
  1. 0

    Pure Java Print PDF Open Source API | WebMoli - Rediscover the Basics

    webmoli.com | 1 year ago
    java.lang.IllegalArgumentException: Number of color/alpha components should be 4 but length of bits array is 1
  2. 0

    Pure Java Print PDF Open Source API | WebMoli - Rediscover the Basics

    webmoli.com | 3 months ago
    java.lang.IllegalArgumentException: Number of color/alpha components should be 4 but length of bits array is 1
  3. 0

    java.lang.IllegalArgumentException: Number of color/alpha components should be 4 but length of bits array is 1 - Atlassian Answers

    atlassian.com | 8 months ago
    java.lang.IllegalArgumentException: Number of color/alpha components should be 4 but length of bits array is 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hair-lines when drawing transformed BufferedImage

    Google Groups | 1 decade ago | Thomas Fritsch
    java.lang.IllegalArgumentException: Number of color/alpha components should be 4 but length of bits array is 3
  6. 0

    op.filter

    Oracle Community | 10 years ago | 843799
    java.lang.IllegalArgumentException: Number of color/alpha components should be 3 but length of bits array is 1

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Number of color/alpha components should be 4 but length of bits array is 1

      at java.awt.image.ColorModel.<init>()
    2. Java RT
      ComponentColorModel.<init>
      1. java.awt.image.ColorModel.<init>(ColorModel.java:318)
      2. java.awt.image.ComponentColorModel.<init>(ComponentColorModel.java:256)
      2 frames
    3. PDF Renderer
      BaseWatchable.run
      1. com.sun.pdfview.PDFImage$DecodeComponentColorModel.<init>(PDFImage.java:564)
      2. com.sun.pdfview.PDFImage.getColorModel(PDFImage.java:529)
      3. com.sun.pdfview.PDFImage.parseData(PDFImage.java:270)
      4. com.sun.pdfview.PDFImage.getImage(PDFImage.java:225)
      5. com.sun.pdfview.PDFRenderer.drawImage(PDFRenderer.java:273)
      6. com.sun.pdfview.PDFImageCmd.execute(PDFPage.java:643)
      7. com.sun.pdfview.PDFRenderer.iterate(PDFRenderer.java:570)
      8. com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
      8 frames
    4. Unknown
      PDFPrintPage.print
      1. PDFPrintPage.print(NewClass.java:42)
      1 frame
    5. Java RT
      RasterPrinterJob.print
      1. sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:1936)
      2. sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1431)
      3. sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1247)
      3 frames
    6. Unknown
      PrintPdf.main
      1. PrintPdf.print(PrintPdf.java:99)
      2. PrintPdf.main(PrintPdf.java:40)
      2 frames