java.awt.image.RasterFormatException

IntegerComponentRasters must have ComponentSampleModel or SinglePixelPackedSampleModel

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web15

  • via sourceforge.net by Unknown author, 1 year ago
    IntegerComponentRasters must have ComponentSampleModel or SinglePixelPackedSampleModel
  • via sourceforge.net by Unknown author, 10 months ago
    IntegerComponentRasters must have ComponentSampleModel or SinglePixelPackedSampleModel
  • via Oracle Community by 843798, 1 year ago
    IntegerComponentRasters must haveinteger DataBuffers
  • Stack trace

    • java.awt.image.RasterFormatException: IntegerComponentRasters must have ComponentSampleModel or SinglePixelPackedSampleModel at sun.awt.image.ByteComponentRaster.<init>(ByteComponentRaster.java:197) at sun.awt.image.ByteInterleavedRaster.<init>(ByteInterleavedRaster.java:192) at sun.awt.image.ByteInterleavedRaster.<init>(ByteInterleavedRaster.java:114) at java.awt.image.Raster.createPackedRaster(Raster.java:484) at com.sun.imageio.plugins.png.PNGImageReader.createRaster(PNGImageReader.java:870) at com.sun.imageio.plugins.png.PNGImageReader.decodePass(PNGImageReader.java:991) at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(PNGImageReader.java:1189) at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1281) at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1553) at javax.imageio.ImageIO.read(ImageIO.java:1439) at javax.imageio.ImageIO.read(ImageIO.java:1391)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.