java.lang.IllegalArgumentException: Raster IntegerInterleavedRaster: width = 9 h eight = 4 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0 is incompatible with Colo rModel IndexColorModel: #pixelBits = 8 numComponents = 4 color space = java.awt. color.ICC_ColorSpace@20fa83 transparency = 2 transIndex = 255 has alpha = true isAlphaPre = false

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 843797, 1 year ago
Raster IntegerInterleavedRaster: width = 9 h eight = 4 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0 is incompatible with Colo rModel IndexColorModel: #pixelBits = 8 numComponents = 4 color space = java.awt. color.ICC_ColorSpace@20fa83 transparency = 2 transIndex = 255 has alpha = true isAlphaPre = false
via Google Groups by Pedro z Madrytu, 1 month ago
Raster BytePackedRaster: width = 75 height = 352 #channels 1 xOff = 0 yOff = 0 is incompatible with ColorModel IndexColorModel: #pixelBits = 4 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@108ca1 transparency = 1 transIndex = -1 has alpha = false isAlphaPre = false
via Google Groups by Nancy Brown, 2 years ago
Raster IntegerInterleavedRaster: width = 64 height = 64 #Bands = 3 #DataElements 1 xOff = 0 yOff = 0 dataOffset[0] 0 is incompatible with ColorModel DirectColorModel: rmask=ff gmask=ff00 bmask=ff0000 amask=0
via Google Groups by Ray Wilmoth, 2 years ago
Raster IntegerInterleavedRaster: width = 64 height = 64 #Bands = 3 #DataElements 1 xOff = 0 yOff = 0 dataOffset[0] 0 is incompatible with ColorModel DirectColorModel: rmask=ff gmask=ff00 bmask=ff0000 amask=0
via Google Groups by Thue Madsen, 2 years ago
Raster IntegerInterleavedRaster: width = 64 height = 64 #Bands = 3 #DataElements 1 xOff = 0 yOff = 0 dataOffset[0] 0 is incompatible with ColorModel DirectColorModel: rmask=ff gmask=ff00 bmask=ff0000 amask=0
via Google Groups by Myriam Abramson, 2 years ago
Raster ShortInterleavedRaster: width = 381 height = 381 #numDataElements 1 is incompatible with ColorModel DirectColorModel: rmask=7c00 gmask=3e0 bmask=1f amask=0
java.lang.IllegalArgumentException: Raster IntegerInterleavedRaster: width = 9 h eight = 4 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0 is incompatible with Colo rModel IndexColorModel: #pixelBits = 8 numComponents = 4 color space = java.awt. color.ICC_ColorSpace@20fa83 transparency = 2 transIndex = 255 has alpha = true isAlphaPre = false
at java.awt.image.BufferedImage.(Unknown Source)
at sun.awt.image.OffScreenImage.(Unknown Source)
at sun.awt.image.AcceleratedOffScreenImage.(Unknown Source)
at sun.awt.windows.Win32OffScreenImage.(Unknown Source)
at sun.awt.windows.Win32PeerlessImage.(Unknown Source)
at sun.awt.windows.WImageRepresentation.createImage(Unknown Source)
at sun.awt.image.ImageRepresentation.convertToRGB(Unknown Source)
at sun.awt.image.ImageRepresentation.setPixels(Unknown Source)
at java.awt.image.AreaAveragingScaleFilter.accumPixels(Unknown Source)
at java.awt.image.AreaAveragingScaleFilter.setPixels(Unknown Source)
at sun.awt.image.PixelStore8.replayLines(Unknown Source)
at sun.awt.image.PixelStore.replay(Unknown Source)
at sun.awt.image.PixelStore.replay(Unknown Source)
at sun.awt.image.InputStreamImageSource.updateFromStore(Unknown Source)
at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
at sun.awt.image.ImageFetcher.run(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.