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

Oracle Community | 349020 | 1 decade 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

    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
  2. 0

    Rendering Floating Georaster

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

    Create a new Buffered Image using Raster and ColorModel

    Oracle Community | 1 decade ago | 843807
    java.lang.IllegalArgumentException: Raster sun.awt.im age.SunWritableRaster@dff3a2 is incompatible with ColorModel DirectColorModel: r mask=ff0000 gmask=ff00 bmask=ff amask=0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Create a new Buffered Image using Raster and ColorModel

    Oracle Community | 1 decade ago | 843797
    java.lang.IllegalArgumentException: Raster sun.awt.im age.SunWritableRaster@dff3a2 is incompatible with ColorModel DirectColorModel: r mask=ff0000 gmask=ff00 bmask=ff amask=0
  6. 0

    SeadragonExporter crashes when run through Toolkit

    GitHub | 6 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 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

      at java.awt.image.BufferedImage.<init>()
    2. Java RT
      BufferedImage.<init>
      1. java.awt.image.BufferedImage.<init>(BufferedImage.java:549)
      1 frame
    3. oracle.spatial.georaster
      JGeoRaster.getRasterImage
      1. oracle.spatial.georaster.JGeoRaster.getRasterImage(JGeoRaster.java:2315)
      1 frame
    4. oracle.sdovis.theme
      GeoRasterThemeProducer.prepareData
      1. oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:543)
      1 frame
    5. oracle.sdovis
      DBMapMaker$LoadThemeData.run
      1. oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:68)
      2. oracle.sdovis.DBMapMaker$LoadThemeData.run(DBMapMaker.java:1740)
      2 frames