java.lang.ClassCastException

[I

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 web109

  • via Oracle Community by 843797, 11 months ago
    [I
  • via Oracle Community by 807606, 1 week ago
    [I
  • via Coderanch by Theodore David Williams, 11 months ago
    [I
  • Stack trace

    • java.lang.ClassCastException: [I at java.awt.image.ColorModel.getAlpha(Unknown Source) at java.awt.image.ColorModel.getRGB(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)

    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.