java.lang.ClassCastException: [I

java.com | 2 months ago
  1. 0

    Bug ID: JDK-4937376 class cast exception in fetching images

    java.com | 2 months ago
    java.lang.ClassCastException: [I
  2. 0

    Tracing an Exception back form <unknown source>

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

    Automated exception search integrated into your IDE

  4. 0

    how to paste image through system clipboard

    Oracle Community | 2 decades ago | 843807
    java.lang.ClassCastException: [I

    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
      RGBImageFilter.setPixels
      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:295)
      4. sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:532)
      5. java.awt.image.RGBImageFilter.filterRGBPixels(RGBImageFilter.java:183)
      6. java.awt.image.RGBImageFilter.setPixels(RGBImageFilter.java:217)
      6 frames
    3. Unknown
      ButtonFilter.setPixels
      1. ButtonFilter.setPixels(ButtonFilter.java:198)
      1 frame
    4. Java RT
      ImageFetcher.run
      1. java.awt.image.CropImageFilter.setPixels(CropImageFilter.java:119)
      2. sun.awt.image.OffScreenImageSource.sendPixels(OffScreenImageSource.java:73)
      3. sun.awt.image.OffScreenImageSource.produce(OffScreenImageSource.java:162)
      4. sun.awt.image.OffScreenImageSource.addConsumer(OffScreenImageSource.java:37)
      5. sun.awt.image.OffScreenImageSource.startProduction(OffScreenImageSource.java:51)
      6. sun.awt.image.ImageRepresentation.replay(ImageRepresentation.java:897)
      7. sun.awt.image.InputStreamImageSource.updateFromStore(InputStreamImageSource.java:293)
      8. sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:237)
      9. sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
      10. sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
      10 frames