java.lang.ClassCastException: [I

Oracle Community | 807577 | 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

    drawImage and ClassCastExceptions

    Oracle Community | 1 decade ago | 807577
    java.lang.ClassCastException: [I
  2. 0

    drawImage and ClassCastExceptions

    Oracle Community | 1 decade ago | 843797
    java.lang.ClassCastException: [I
  3. 0

    Tracing an Exception back form <unknown source>

    Oracle Community | 1 decade ago | 843797
    java.lang.ClassCastException: [I
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Cover view] Blank cover in some seldom cases

    GitHub | 2 years ago | bflorat
    java.lang.ClassCastException: [I cannot be cast to [B
  6. 0

    Java PNG Exception

    Stack Overflow | 1 year ago | koldewb
    java.lang.ClassCastException: [I cannot be cast to [B

    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.ClassCastException

      [I

      at java.awt.image.ColorModel.getAlpha()
    2. Java RT
      ImageFetcher.run
      1. java.awt.image.ColorModel.getAlpha(ColorModel.java:814)
      2. java.awt.image.ColorModel.getRGB(ColorModel.java:859)
      3. sun.awt.image.ImageRepresentation.convertToRGB(ImageRepresentation.java:271)
      4. sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:485)
      5. java.awt.image.AreaAveragingScaleFilter.accumPixels(AreaAveragingScaleFilter.java:176)
      6. java.awt.image.AreaAveragingScaleFilter.setPixels(AreaAveragingScaleFilter.java:215)
      7. sun.awt.image.PixelStore8.replayLines(PixelStore8.java:38)
      8. sun.awt.image.PixelStore.replay(PixelStore.java:217)
      9. sun.awt.image.PixelStore.replay(PixelStore.java:146)
      10. sun.awt.image.InputStreamImageSource.updateFromStore(InputStreamImageSource.java:295)
      11. sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:244)
      12. sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:214)
      13. sun.awt.image.ImageFetcher.run(ImageFetcher.java:182)
      13 frames