java.lang.ClassCastException: [I

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

java.lang.ClassCastException: [I
at java.awt.image.ColorModel.getAlpha(
at java.awt.image.ColorModel.getRGB(
at sun.awt.image.ImageRepresentation.convertToRGB(
at sun.awt.image.ImageRepresentation.setPixels(
at java.awt.image.RGBImageFilter.filterRGBPixels(
at java.awt.image.RGBImageFilter.setPixels(
at undefined.ButtonFilter.setPixels(
at java.awt.image.CropImageFilter.setPixels(
at sun.awt.image.OffScreenImageSource.sendPixels(
at sun.awt.image.OffScreenImageSource.produce(
at sun.awt.image.OffScreenImageSource.addConsumer(
at sun.awt.image.OffScreenImageSource.startProduction(
at sun.awt.image.ImageRepresentation.replay(
at sun.awt.image.InputStreamImageSource.updateFromStore(
at sun.awt.image.InputStreamImageSource.doFetch(
at sun.awt.image.ImageFetcher.fetchloop(

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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