java.lang.IllegalArgumentException: The specified ColorModel is incompatible with the image SampleModel.

Oracle Community | 843797 | 2 decades ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    JAI 1.1.1 under JDK 1.2.2

    Oracle Community | 2 decades ago | 843797
    java.lang.IllegalArgumentException: The specified ColorModel is incompatible with the image SampleModel.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      The specified ColorModel is incompatible with the image SampleModel.

      at javax.media.jai.PlanarImage.setImageLayout()
    2. javax.media.jai
      NullOpImage.<init>
      1. javax.media.jai.PlanarImage.setImageLayout(PlanarImage.java:493)
      2. javax.media.jai.PlanarImage.<init>(PlanarImage.java:376)
      3. javax.media.jai.RenderedImageAdapter.<init>(RenderedImageAdapter.java:128)
      4. javax.media.jai.PlanarImage.wrapRenderedImage(PlanarImage.java:543)
      5. javax.media.jai.NullOpImage.<init>(NullOpImage.java:108)
      6. javax.media.jai.NullOpImage.<init>(NullOpImage.java:156)
      6 frames
    3. Unknown
      ViewerApplication.main
      1. TiffImageReader.loadImage(TiffImageReader.java:41)
      2. TiffComponent.<init>(TiffComponent.java:39)
      3. TiffViewer.<init>(TiffViewer.java:15)
      4. ViewerApplication.main(ViewerApplication.java:23)
      4 frames