java.lang.IllegalArgumentException: Raster sun.awt.image.SunWritableRaster@18bdf2a is incompatible with ColorModel IndexColorModel: #pixelBits = 16 numComponents = 4 color space = java.awt.color.ICC_ColorSpace@1e84244 transparency = 2 transIndex = 231 has alpha = true isAlphaPre = false

Oracle Community | 573383 | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Rendering Floating Georaster

    Oracle Community | 10 years ago | 573383
    java.lang.IllegalArgumentException: Raster sun.awt.image.SunWritableRaster@18bdf2a is incompatible with ColorModel IndexColorModel: #pixelBits = 16 numComponents = 4 color space = java.awt.color.ICC_ColorSpace@1e84244 transparency = 2 transIndex = 231 has alpha = true isAlphaPre = false
  2. 0

    Georaster - Unable to display black and white image

    Oracle Community | 1 decade ago | 349020
    java.lang.IllegalArgumentException: Raster BytePackedRaster: width = 200 height = 147 #channels 1 xOff = 0 yOff = 0 is incompatible with ColorModel ColorModel: #pixelBits = 8 numComponents = 1 color space = java.awt.color.ICC_ColorSpace@40d611 transparency = 1 has alpha = false isAlphaPre = false
  3. 0

    16 bit Intensity to JPEG image

    Oracle Community | 1 decade ago | 843799
    java.lang.IllegalArgumentException: Raster IntegerInt erleavedRaster: width = 800 height = 938 #Bands = 3 xOff = 0 yOff = 0 dataOffset [0] 0 is incompatible with ColorModel DirectColorModel: rmask=ff00 gmask=f0 bmas k=f amask=0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error when creating BufferedImage with IndexColorModel from a byte array.

    Oracle Community | 1 decade ago | 843799
    java.lang.IllegalArgumentException: Raster ByteInterleavedRaster: width = 5120 height = 3520 #numDataElements 1 dataOff[0] = 0 is incompatible with ColorModel IndexColorModel: #pixelBits = 8 numComponents = 4 color space = java.awt.color.ICC_ColorSpace@c51355 transparency = 2 transIndex = 22 has alpha = true isAlphaPre = false [java]
  6. 0

    SeadragonExporter crashes when run through Toolkit

    GitHub | 5 years ago | mbastian
    java.lang.RuntimeException: java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0

    11 unregistered visitors
    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

      Raster sun.awt.image.SunWritableRaster@18bdf2a is incompatible with ColorModel IndexColorModel: #pixelBits = 16 numComponents = 4 color space = java.awt.color.ICC_ColorSpace@1e84244 transparency = 2 transIndex = 231 has alpha = true isAlphaPre = false

      at java.awt.image.BufferedImage.<init>()
    2. Java RT
      BufferedImage.<init>
      1. java.awt.image.BufferedImage.<init>(BufferedImage.java:613)
      1 frame
    3. oracle.spatial.georaster
      JGeoRaster.getRasterImage
      1. oracle.spatial.georaster.JGeoRaster.getRasterImageForExport(JGeoRaster.java:3093)
      2. oracle.spatial.georaster.JGeoRaster.getRasterImageForDisplay(JGeoRaster.java:2816)
      3. oracle.spatial.georaster.JGeoRaster.getRasterImage(JGeoRaster.java:3130)
      3 frames
    4. oracle.sdovis.theme
      GeoRasterThemeProducer.prepareData
      1. oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:813)
      1 frame
    5. oracle.sdovis
      LoadThemeData.run
      1. oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
      2. oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
      2 frames